I did this: a bash script to download_data everything from the appengine's datastore, then upload_data it back to localhost:8080/XXX/_ah/remote_api.
But I still have a problem with ids: they're registered under the "Key name" column, whereas my application expects them to be under the "id" column. There is an "ID" (uppercase) column in the local datastore viewer, but it's empty. So I'm a bit lost with the way the primary keys move around in each representation: - In the appengine's datastore, they are under column "ID/Name" under the form "id=NNNN"; - once uploaded in my local datastore, they are under column "Key name", as numbers; there is a column "ID", but it's empty; - In the csv files downloaded from appengine, they're in a column "key"; - my web2py application expects to access/filter them as field "id". Is there a document explaining how GAE primary keys work, at least in the context of W2P applications? On Friday, March 16, 2012 11:40:02 PM UTC+1, howesc wrote: > > in my bulkloader.yaml i convert keys to strings and then use the > datastore.Key method on import to preserve IDs. as a matter of example, my > yaml for auth_group: > > - kind: auth_group > connector: csv > connector_options: > property_map: > - property: __key__ > external_name: key > export_transform: str > import_transform: datastore.Key > >

