Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google App Engine: how to download datastore as XML or CSV

I'm trying to download my data from App Engine. As suggested here, I'm using the following command to grab it as CSV:

appcfg.py download_data --filename=backup.csv --application=MyAppId --url=http://MyAppId.appspot.com/remote_api --rps_limit=500 --bandwidth_limit=2500000 --batch_size=100

But the resulting file is always a binary SQLite file, not CSV.

How can I get my data as CSV or XML?

like image 684
George Armhold Avatar asked Jun 12 '11 02:06

George Armhold


1 Answers

Have you read the section of the docs concerning the bulkloader? It describes in some detail how to do bulkloading and how to set up the configuration file that describes how to translate between CSV files and your datastore.

like image 167
Nick Johnson Avatar answered Oct 24 '22 09:10

Nick Johnson