How can I use the Google App engine bulkloader to back up all my data?

﹥>﹥吖頭↗ 提交于 2019-12-18 09:12:03

问题


The docs say

appcfg.py --dump --app_id=<app-id> \
 --url=http://<appname>.appspot.com/remote_api \
 --filename=<data-filename>

The thing itself barfs:

Usage: appcfg.py [options] <action>
appcfg.py: error: no such option: --dump
$ cat /usr/local/share/google_appengine/VERSION 
release: "1.3.4"

Thoughts?


回答1:


I found that I had to use download_data instead of --dump and --application instead of --app_id, for example:

 appcfg.py download_data --application=app_id --url=http://etc --filename=file



回答2:


Is it possible that you have two versions of app engine installed; one on your python path (a different version of appengine) and one in the /usr/local/share/google_appengine/VERSION directory (which reports 1.3.4)



来源:https://stackoverflow.com/questions/2946371/how-can-i-use-the-google-app-engine-bulkloader-to-back-up-all-my-data

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