[appengine-java] Re: Migration of data to HR Datastore

2011-05-08 Thread bixby

It's pretty small in the scheme of things (probably in the order of
500 referenced blobs) but there is obviously some effort in writing
code to go and upload all the blobs again in the HR version of the
app.

Looks like that is the way forward though.

Thanks for your input Brandon.


Phil


On May 7, 9:09 am, Brandon Donnelson branflake2...@gmail.com wrote:
 How much do you have? I would make a class to run as a task, and read the
 blobs then write them through a post to the other app. I can see the code
 overhead, because of new blobkey. Might have to break up tasks if you go
 over 10min.

 Brandon

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Migration of data to HR Datastore

2011-05-04 Thread bixby
OK Guys,

Someone must know whether this is possible or not..

There are only two options
- somehow migrate the BlobInfo data across to the HR app
- manually upload all the blobs again and update the references to
BlobKeys in the entity data

I'm hoping to avoid the latter.

Any input on this would be appreciated






On Apr 25, 12:21 am, bixby p...@bixby.co.nz wrote:
 I'm looking at migrating my existing app to a new one using the HR datastore
 but am having trouble copying data.  I've successfully copied all my Entity
 data in to my new app but one thing I can't seem to do is copy the BlobInfo
 that my entities reference.  Am I missing something here?

 I've been using the remote api and appcfg.py and have also tried the
 datastore admin tool but that doesn't seem to support namespaces.  I can
 download the BlobInfo but cannot upload it.

 Does anyone have any idea how to copy BlobInfo to a new app?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Migration of data to HR Datastore

2011-04-24 Thread bixby
I'm looking at migrating my existing app to a new one using the HR datastore 
but am having trouble copying data.  I've successfully copied all my Entity 
data in to my new app but one thing I can't seem to do is copy the BlobInfo 
that my entities reference.  Am I missing something here?

I've been using the remote api and appcfg.py and have also tried the 
datastore admin tool but that doesn't seem to support namespaces.  I can 
download the BlobInfo but cannot upload it.

Does anyone have any idea how to copy BlobInfo to a new app?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.