开发者

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开发者_StackOverflow 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?


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)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜