I've been reading about the remote_api and the bulkloader.yaml configuration file for doing bulk uploads of Google App Engine, but all I really want to do is replace my live datastore on the cloud with the contents of my local datastore. From what I've read, it would seem that I have to first somehow convert my dev_appserver.datastore file into csv or xml, and then apply all the fancy transforms of bulkloader.yaml, which seems like a lot of unnecessary work.
Anyone know if there's an easier way? Thanks!
It might work to run download_data
against localhost and then upload_data
, using that dump, against your live app... does it?
来源:https://stackoverflow.com/questions/4937725/app-engine-can-i-upload-my-local-dev-appserver-datastore-to-the-live-datastore