Disappearing local datastore on Django app engine

This frustrated me so I’m posting this quick note in case it helps someone else sometime.  Apparently Google App Engine’s local server will occasionally just delete your local datastore for no reason.  Just disappeared into thin air.  Suggestion: if you use the Google App Engine launcher, when you launch the server the console output will print the location of your local datastore.  I’d back that thing up just in case.

Of course there’s also GAEBAR, which is great, but it’s a little hacky and a lot more hassle.  If you simply would like to make a backup of your local datastore, you can just do a quick cp of the file.

Blog comments powered by Disqus