google app engine - AppEngine datastore - backup programmatically -
i backup app's datastore programmatically, on regular basis.
it seems possible create cron backs datastore, according https://developers.google.com/appengine/articles/scheduled_backups
however, require more fine-grained solution: create different backup files dynamically changing namespaces.
is possible call /_ah/datastore_admin/backup.create url get/post?
yes; i'm doing in order implement logic couldn't done cron.
use taskqueue api add url request, this:
from google.appengine.api import taskqueue taskqueue.add(url='/_ah/datastore_admin/backup.create', method='get', target='ah-builtin-python-bundle', params={'kind': ('mykind1', 'mykind2')})
if want use more parameters otherwise go cron url, 'filesystem', put in params dict alongside 'kind'.
Comments
Post a Comment