如何使用 Google App Engine 批量加载程序来备份我的所有数据?

发布于 2024-09-03 19:48:14 字数 521 浏览 1 评论 0原文

文档说,

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

事情本身在呕吐:

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

有什么想法?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

夕嗳→ 2024-09-10 19:48:14

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

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

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
背叛残局 2024-09-10 19:48:14

您是否可能安装了两个版本的应用程序引擎?一个位于您的 python 路径(不同版本的 appengine)中,另一个位于 /usr/local/share/google_appengine/VERSION 目录(报告 1.3.4)

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)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文