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

给你一囗甜甜゛ 提交于 2019-11-29 15:46:15

问题


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!


回答1:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!