Right way to download App Engine data and deploy it to development server

Basically the documentation on this part is outdated, just figure it out how to download data and upload it to local development server this morning.

Download data:

appcfg.py download_data --url=http://testappengine.appspot.com/_ah/remote_api --filename=production_data.sql3

Upload it to your local development server:

appcfg.py upload_data --url=http://localhost:8080/_ah/remote_api --filename=production_data.sql3 --application=dev~testappengine

You will have to set --application flag to change signature to dev~ prefixed, or you can't upload data to local development server because of signature not matching.

comments powered by Disqus