如何使用Google App引擎批量加载程序备份所有数据?

时间:2010-05-31 23:02:28

标签: google-app-engine backup bulkloader

docs

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

事物本身barfs:

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

思想?

2 个答案:

答案 0 :(得分:2)

我发现我必须使用download_data而不是--dump和--application而不是--app_id,例如:

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

答案 1 :(得分:-1)

您是否可能安装了两个版本的应用引擎;你的python路径上的一个(不同版本的appengine)和/ usr / local / share / google_appengine / VERSION目录中的一个(报告1.3.4)