Hi

In theory reference properties should be ok, (list properties holding
a list of keys - especially as strings would have a problem).

Have you compared the key in the reference property and the key of the
target before and after the restore.
It may be because you using id's rather than key names?  But I am not
sure without running some tests.

I would work out what is being changed and you may find a custom
loader for bulkloader may be required to move your
dataset between appids.

T

On Sep 11, 10:24 pm, Francois MASUREL <[email protected]> wrote:
> Yep, I was restoring to another appId.
>
> Does that mean that when you're storing entity keys as a "reference"
> property you can't backup/restore to another appId ?
>
> What is the best practice then ?  Should we create some kind of generated
> UUID and use it as key for our entities then ?
>
> François
>
>
>
> On Sat, Sep 11, 2010 at 16:17, Tim Hoffman <[email protected]> wrote:
> > As to the keys changing, where you restoring to an instance with the
> > same appid ?
>
> > If not the keys have to change, and you might find problems where you
> > store keys in list properties.
>
> > T
>
> > On Sep 11, 10:12 pm, Tim Hoffman <[email protected]> wrote:
> > > Hi
>
> > > I am actually using appcfg.py download_data and upload_data with great
> > > success with 65,000 entities.
>
> > > Which is pretty much the same thing.
>
> > > I have found you may need to play around with the batch size settings
> > > if you have particularly large entities.
>
> > > T
>
> > > On Sep 11, 10:01 pm, Francois Masurel <[email protected]> wrote:
>
> > > > Hello everybody,
>
> > > > I've tried to do a full bulkloader --dump and --restore of one app to
> > > > another one and it failed miserably.
>
> > > > First, I had a quite a few "Backing off" errors during export which
> > > > took more than 30 minutes for about 6000 small entities.
>
> > > > Then when I restored it, I lost about 1000 entities it said it
> > > > couldn't restore without explanations.
>
> > > > And then I realized that all entities keys had been changed.  So all
> > > > my relations between entities were lost.
>
> > > > Did I do something wrong ?
>
> > > > Thanx for your help.
>
> > > > Francois
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-appengine%2Bunsubscrib 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to