App Engine:我可以将我的本地dev_appserver.datastore上传到实时数据存储吗? [英] App Engine: Can I upload my local dev_appserver.datastore to the live datastore?

查看:68
本文介绍了App Engine:我可以将我的本地dev_appserver.datastore上传到实时数据存储吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在阅读关于用于批量上传Google App Engine的remote_api和bulkloader.yaml配置文件,但我真正想要做的是将我云上的实时数据存储替换为本地数据存储的内容。从我读过的内容来看,似乎我必须首先以某种方式将我的dev_appserver.datastore文件转换为csv或xml,然后应用bulkloader.yaml的所有幻想转换,这似乎是很多不必要的工作。 p>

任何人都知道是否有更简单的方法?
Thanks!

解决方案

可能会运行 download_data 对本地主机,然后 upload_data ,使用该转储,对您的实时应用程序...是否它?


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?

这篇关于App Engine:我可以将我的本地dev_appserver.datastore上传到实时数据存储吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆