Search code examples
google-app-enginerestoregoogle-cloud-datastoredatabase-backups

Backup and restore data in the cloud - appengine


I would like to know how people tackle backup and restore of data in the cloud. I plan to use AppEngine for business use and as far as I can tell there is no classic backup and restore functionality built into AppEngine. It is reasonable because there database structure is much different.

So the question is how to approach backup and restore in high replication AppEngine application?


Solution

  • Agree with the previous posts. The built-in datastore backup / restore is solid enough.

    However, if your data is partioned by namespace, Google does not offer the possibility to backup / restore by namespace which is a big limitation. It means that if you have a multi-tenant application, you cannot backup / restore data for one namespace.

    Would you really need backup / restore by namespace, you will have to extend the backup / restore from Google which is open source (see http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/ext/datastore_admin/backup_handler.py).

    I am currently on the path to perform this modification to the open source of Google but did not find the time to do it yet.

    Hope this helps !