问题
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