views:

328

answers:

2

I can see how to download the remote datastore to local, and how to upload a CSV to the remote app engine server as outlined here:

Uploading and Downloading Data

But is there a way to export my local data to a CSV that is ready for the remote upload script? Of course I could write a custom exporter, but is there no way to automate this process?

A: 

Look at the Python Standard Library's csv module.

artdanil
+5  A: 

The answer is to use the bulkloader.py pointing at your local box:

bulkloader.py --dump --url=http://localhost:8080/remote%5Fapi --filename=test.csv --kind=KindHere --app_id=app-id-here

Then you can use the bulkloader.py --restore command to send it to production

sotangochips