Wednesday, 15 September 2010

google app engine - How to download the local datastore into csv file? -



google app engine - How to download the local datastore into csv file? -

i download local fixture info csv, maintain safe.

i have tried something similar 6 months ago, difference downloaded info deployed appengine project, rather downloading local datastore.

however how download local datastore?

appcfg.py download_data --url=http://localhost:8080/_ah/remote_api/ --filename=data.csv --email=x@w.eu --application="dev~myapp"

i next error message:

03:37 pm downloading info records. [info ] logging bulkloader-log-20140626.153708 [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-20140626.153708.sql3 [info ] opening database: bulkloader-results-20140626.153708.sql3 password x@w.eu: [info ] connecting localhost:8080/_ah/remote_api/ [error ] unable download kind stats all-kinds download. [error ] kind stats generated periodically appserver [error ] kind stats not available on dev_appserver.

any thought doing wrong?

go dev admin console (probably "localhost:8000") go datastore stats click generate stats

this error occurs because dev app engine not automatically generate datastore statistics. instead must perform steps above manually generate these statistics.

google-app-engine csv gae-datastore

No comments:

Post a Comment