Keith
Keith

Reputation: 31

How do I recover production data in App Engine that I accidentally deleted?

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?

Upvotes: 3

Views: 205

Answers (1)

Chris Farmiloe
Chris Farmiloe

Reputation: 14185

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)

Upvotes: 5

Related Questions