我能夠下載我的生產GAE數據存儲的備份,但我無法將備份上傳到我的開發應用程序。這裏是我的嘗試:從生產GAE同步生產和開發數據存儲
下載商店,按預期工作:
appcfg.py download_data --application=s~myApp --url=http://myApp.appspot.com/_ah/remote_api --filename=backup1
Upoading備份到dev店,失敗:
appcfg.py upload_data --application=dev~myApp --url=http://localhost:8080/_ah/remote_api --filename=backup1
Uploading data records.
[INFO ] Logging to bulkloader-log-20120823.225047
[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-20120823.225047.sql3
Please enter login credentials for localhost
Email: [email protected]
Password for [email protected]:
[INFO ] Connecting to localhost:8080/_ah/remote_api
[INFO ] Starting import; maximum 10 entities per post
............................................................................................................................................................[INFO ] Unexpected thread death: WorkerThread-5
[INFO ] An error occurred. Shutting down...
.........[ERROR ] Error in WorkerThread-5: <urlopen error [Errno 61] Connection refused>
[INFO ] 2670 entities total, 0 previously transferred
[INFO ] 1650 entities (1207416 bytes) transferred in 431.1 seconds
[INFO ] Some entities not successfully transferred
似乎錯誤61是端口錯誤。該應用程序正在運行,我通過瀏覽器以管理員身份登錄,並且還將我的電子郵件/密碼作爲CLI命令的一部分。一些記錄總是被上傳,然後上傳過程被切斷。
我必須使用哪些憑證?我輸入了我有的但它不起作用。使用SDK1.9.9 – Tjorriemorrie