Sunday, December 12, 2010

GAE/J Download data from live to local datastore.

Download Data:   ~/me/apps/python/google_appengine/appcfg.py download_data --application=bollywoodabc1 --kind=category --url=http://bollywoodabc1.appspot.com/remote_api --filename=category

this one works even better
~/me/apps/python/google_appengine/appcfg.py download_data --application=bollywoodabc1 --url=http://bollywoodabc1.appspot.com/remote_api --filename=data --batch_size=2 --num_threads=2 --rps_limit=5


Restoring backup : ~/me/apps/python/google_appengine/appcfg.py upload_data --batch_size=2 --num_threads=2 --rps_limit=10 --application=bollywoodabc1 --filename=data1 --url=http://localhost:8080/remote_api

No comments: