scheduling backups with cron (in Py2.7)

87 views
Skip to first unread message

Jason Collins

unread,
Apr 24, 2012, 11:14:35 PM4/24/12
to Google App Engine
1.6.5 release notes says that we can schedule backups using cron.

Looking at the code, it seems that the url to do so is:

http://[appid].appspot.com/_ah/datastore_admin/backup.create

However, this gives a 404. So, next I'm guessing that I need to add
the following to app.yaml:

builtins:
- datastore_admin: on

But that gives an error on appcfg.py update.

Looking at the code some more reveals:

BUILTINS_NOT_AVAIABLE_IN_PYTHON27 = set(['datastore_admin',
'mapreduce'])

Am I missing something? Should I be able to run scheduled backups
under Python 2.7 in SDK 1.6.5?

Jason Collins

unread,
Apr 24, 2012, 11:27:22 PM4/24/12
to Google App Engine
Somehow, this crazy url works into the scheme as well:

https://ah-builtin-python-bundle-dot-latest-dot-[appid].appspot.com/_ah/datastore_admin/?app_id=[appid]

Are there any docs on this stuff?

j

Sun Jing

unread,
Apr 25, 2012, 1:54:10 AM4/25/12
to google-a...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages