Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Export from AppEngine database to the local development database?

Is there a way to export the data on my AppEngine database to the development server (for testing purposes etc.) ?

like image 802
Eran Kampf Avatar asked Dec 03 '09 01:12

Eran Kampf


1 Answers

Yes! Check out Google's "Uploading and Downloading Data"

If you'd like to test how your data works with the app before uploading it, you can load it into the development server. Use the --url option to point the tool at the development server URL. For example:

 appcfg.py upload_data --config_file=album_loader.py --filename=album_data.csv --kind=Album --url=http://localhost:8080/remote_api <app-directory>

The subsection on uploading and downloading all data is also worth looking at.

like image 64
ine Avatar answered Nov 07 '22 17:11

ine