彻底崩溃了。。关于GAE的数据备份

2011-07-25 20:14:58 +08:00
 kojp
大致有且只有两个现成的工具
GAEBAR 和 GAE_Datastore_Backup_Utility_1_0

GAEBAR 只支持DJANGO的。。。配置复杂弄不来。^_^

GAE_Datastore_Backup_Utility_1_0,这个的确是有图形界面,有个ENTITY不知道写什么,也找不到相关的使用文档。。。。全是转载这一段的中文或英文。。有意思吗。。TAT。。



* WPF
* C#
* Python
* XML
* Google App Engine SDK

Note: Currently this application is only for Windows Platforms. If there is enough interest I can port this application to other operating systems. If you would like to contribute this let me know.
Need to knows

See requirements Wiki for further information.

* Windows only (currently)
* Python based GAE apps only
* Requires some steps for installation
* Future versions of the GAE SDK may break version 1.0 since bulkloader.py from the SDK is in testing. Currently the commands used by this application are in the experimental stages as posted here: http://code.google.com/appengine/docs/python/tools/uploadingdata.html#Downloading_and_Uploading_All_Data . When the SDK updates, I will try my best to release an update for this application since currently this application is relying on the experimental features.
5261 次点击
所在节点    问与答
19 条回复
kojp
2011-07-25 20:15:40 +08:00
求。。GAE_Datastore_Backup_Utility_1_0 使用方法。

或求。。。DJANGO GAE 的相关知识
fcicq
2011-07-26 12:30:16 +08:00
谁告诉你就必须用你说的那两个工具了?
appcfg.py:
download_data: Download entities from datastore.
ccdjh
2011-07-26 13:08:03 +08:00
kojp
2011-07-26 15:23:17 +08:00
@ ccdjh
我表示。。我看不懂!!!!
kojp
2011-07-26 15:24:12 +08:00
@fcicq

appcfg.py:
download_data: Download entities from datastore.

这个倒是可以试一下。。entities是不是换成 APP的ID就可以了?
zsj950618
2011-07-26 16:17:42 +08:00
GAE不很早就支持备份了
kojp
2011-07-26 16:18:32 +08:00
@fcicq
谢谢。。果然能用。。但是。

出错了~~~

Downloading data records.
[INFO ] Logging to bulkloader-log-20110726.161601
[INFO ] Throttling transfers:
[INFO ] Bandwidth: 250000 bytes/second
[INFO ] HTTP connections: 8/second
[INFO ] Entities inserted/fetched/modified: 20/second
[INFO ] Batch Size: 10
[INFO ] Opening database: bulkloader-progress-20110726.161601.sql3
[INFO ] Opening database: bulkloader-results-20110726.161601.sql3
[INFO ] Connecting to xyerjj.appspot.com
Error 405: --- begin server output ---

--- end server output ---

求解!!!
kojp
2011-07-26 16:19:30 +08:00
@zsj950618

的确是。。看了一下官方的英文文档,虽然没太看懂,但大概明白现在应该是支持了。。。。。
中文的没更新呀!!!!
kojp
2011-07-26 16:20:26 +08:00
我的语句是这样的:

appcfg.py download_data --application=xyerjj --url=http://xyerjj.appspot.com --filename=test.xml
CoX
2011-07-26 17:40:26 +08:00
@kojp 文档前面看了没?
There are two ways to install remote_api: automatically using the builtins directive, or you manually using the url directive.
你嘚配置了remote_api才行吧。
kojp
2011-07-26 18:39:34 +08:00
@CoX 配过了呀。。就是在yam文件里加一行代码。。我已经照做了。。。
ccdjh
2011-07-26 19:10:24 +08:00
kojp
2011-07-27 09:29:08 +08:00
@ccdjh

这个,正是我想问的。。。纠结了一会,也感觉应该还需要一个登录的过程。。可是。
这个命令在哪???我只知道在appcfg.py update 的时候,才会提示我输入密码。
kojp
2011-07-27 09:30:37 +08:00
@ccdjh
- url: /remote_api
script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
login: admin

已经加上了。。还是不行!!!!
keakon
2011-07-27 10:41:03 +08:00
kojp
2011-07-27 12:02:50 +08:00
@keakon
看到一个中文的!!!!。。太感动了。。谢谢。
kojp
2011-07-28 11:49:53 +08:00
@keakon

求邮箱!!!我中文看了仍然是一头雾水哇~~~
kojp
2011-07-28 11:50:45 +08:00
@をつあおにまで GFW

好油菜。。。哇哈哈。
kojp
2011-07-28 17:11:39 +08:00
敢再来个。。。高手指点一下不~~~~ 其实,目前,我只需要备份数据。我已经折腾好几天了。。文档也看了,视频也看了。。都以失败告终。。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/16144

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX