Where is my local App Engine datastore?

Matt Norris picture Matt Norris · Aug 28, 2010 · Viewed 11k times · Source

How can I find where my local development datastore is located? I am using the Python SDK and Linux.

Answer

Sologoub picture Sologoub · Aug 28, 2010

I think it depends on if you got Java or Python SDK.

For Python, here's what the instructions say from Google: "The web server prints the location of the datastore file it is using to the terminal when it starts up. You can make a copy of the file, then restore them later to reset the datastore to a known state. Be sure to restart the web server after replacing the datastore file.

To change the location used for the datastore file, use the --datastore_path option:

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

more info here: http://code.google.com/appengine/docs/python/tools/devserver.html