简体   繁体   中英

Google App Engine Deleting Local Data Store

I'm running GAE locally on my mac with pycharm and periodically it seems to delete my local entity datastore. I'm not really sure what's happening and I've taken to keeping a backup but on my old windows machine this was never an issue.

Is there a way to change the setup so that this doesnt happen?

You can specify a fixed location for your local datastore by adding the datastore_path option to your startup.

dev_appserver.py --datastore_path=/tmp/myapp_datastore myapp

Otherwise, the temp location of the datastore may change and will be recreated.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM