Reputation: 2788
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?
Upvotes: 2
Views: 1134
Reputation: 2788
The answer is to use the bulkloader.py pointing at your local box:
bulkloader.py --dump --url=http://localhost:8080/remote_api --filename=test.csv --kind=KindHere --app_id=app-id-here
Then you can use the bulkloader.py --restore command to send it to production
Upvotes: 5