3

I need to change my local datastore path of APP Engine. I have followed methods specified here How can I persist the local datastore for GoogleAppEngineLauncher between reboots? . I tried changing datastore path but it didn't work. I am using App Engine SDK 1.6.4, Python 2.7 and NDB as datastore on Windows 7. Also I could not find default datastore location on my computer as stated in dev_appserver.py -help output (which is a temp location but I searched while application was running and datastore was serving).

My objective is to stop local datastore cleaning itself on each launch (I am using launcher).

Community
  • 1
  • 1
fusionstrings
  • 1,025
  • 2
  • 13
  • 23
  • 1
    possible duplicate of [How can I persist the local datastore for GoogleAppEngineLauncher between reboots?](http://stackoverflow.com/questions/1547087/how-can-i-persist-the-local-datastore-for-googleappenginelauncher-between-reboot) – Nick Johnson Apr 11 '12 at 05:47

1 Answers1

2

The datastore SHOULD persist between reboots.

When you shut down, the server you should see a message "Applying all pending transactions and saving the datastore" in the console. If not, you maybe seeing the following issue (two questions, same issue, first one has a workaround)

GAE SDK 1.6.4 dev_appserver datastore flush

App Engine local datastore content does not persist

Community
  • 1
  • 1
dragonx
  • 14,963
  • 27
  • 44