开发者

App Engine: Can I upload my local dev_appserver.datastore to the live datastore?

开发者 https://www.devze.com 2023-02-09 21:36 出处:网络
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 wi

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消