简体   繁体   中英

how to migrate local datastore in google appengine python SDK 1.8.1

I am using GAE python-SDK 1.7.1 and have to update to 1.8.1 and migrate the local datastore to HRD. The appserver is also running locally. So far, all information i found is a procedure if you are using appspot "online-hosting".

I just could not figure out how to migrate the local datastore. As i read, one should enable datastore_admin in order to get the button to migrate the datastore in admin interface of the appserver.

How do i enable this? I found a subdir "google_appengine_SDK_python_1.8.1/google/appengine/ext/datastore_admin/". But I don't know how to make it available in the default admin website at " http://localhost:8080/_ah/admin ".

Is there an easier way to do the migration? Maybe a commandline tool?

You don't need to migrate the local datastore. That's just a file on disk. All the HRD logic is in the data access API in the SDK, and the dev server is already using that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM