Usman Ismail Usman Ismail - 2 months ago 9
Java Question

Is there any way to kick off a datastore backup programatically?

Is there any way to kick off a datastore backup programatically?

Note that I want to backup to Google Cloud storage not local host and I am working in Java.

Answer

I found something useful, the link below can be called using a google auth cookie to kick off a backup task.

https://ah-builtin-python-bundle.Your_App_Name.appspot.com/_ah/datastore_admin/backup.create?name=BackupToCloud&kind=SOME_KIND&filesystem=gs&gs_bucket_name=SOME_NAME

Details of this API here

Details of getting cookie here

Comments