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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -