Using Java Google App Engine bulkloader to download entire datastore to one csv file

拥有回忆 提交于 2019-12-19 10:33:13

问题


I'm currently using the --kind parameter to specify which kind to download and the --filename to specify the name of the csv file to produce. The --rps_limit, --bandwidth_limit and --batch_size are used to speed up the download.

For example, to download my Game kind I'm using:

appcfg.py download_data --config_file=bulkloader.yaml --kind=Game --filename=game.csv --application=MyAppId --url=http://MyAppId.appspot.com/remote_api --rps_limit=500 --bandwidth_limit=2500000 --batch_size=100

So is there an appcfg.py command to download the entire datastore without being kind specific to one csv file?

Thanks!


回答1:


Just omit the --kind flag entirely. This works for me - but I don't use a config_file. I hope that doesn't complicate things.



来源:https://stackoverflow.com/questions/6008929/using-java-google-app-engine-bulkloader-to-download-entire-datastore-to-one-csv

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!