开发者

Google App Engine keeps deleting my local database

After I've stop using Google App Engine on my local database for testing, I will come back a few days later and it has removed/deleted my local datastore.

How can I get it to stop doing this? I have a large data set locally that I use for testing before deploying it and I don't want to recreate this every time I go to work on something.

There is a checkbox in the Settings called "clear datastore on launch:, but this is unchecked.

I am using the python backend. Where is the local datastore stored? Is it in some tmp directory that keeps getting开发者_如何学Go cleared?


The local datastore is stored in your system's temporary directory by default. You can supply the --datastore_path command to specify an alternate location for the datastore.

Note that it's generally a good idea to do your development in a way that doesn't rely on the contents of the local datastore remaining long-term - writing a script that loads a known test dataset is usually a good idea.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜