3

I deleted some data from my production App Engine app. Unfortunately I had the wrong table name in mind when I did so because I have two tables that have very similar names. I know the deployed code is versioned so you can roll back to a previous version of your code. What about for your data? And, going forward, what's the best data backup strategy to use for production data?

Keith
  • 31
  • 1

1 Answers1

5

Sorry Keith your data is lost. Backups are the responsibility of the user.

There is a feature request Datastore archive which you should star if you think something like this should be part of the service and an improved Import/Export is on the roadmap.

For now your best options are:

  • Use the Bulkloader to fetch all your entities
  • Write a custom offsite backup script that fetches important parts of your data via remote_api
  • Periodically copy all your entities into a different namespace in the datastore (this can be trickier that it sounds)
Chris Farmiloe
  • 13,935
  • 5
  • 48
  • 57