Keys won't change if you restore into the appid.  They must change if
you restore to a new appid as the appid is part of the key.

T

On Sep 11, 11:59 pm, Tom Wu <service.g2...@gmail.com> wrote:
> Is any possible without key changing after restoring my data in same app ?
>
> Best Regards
> Tom Wu
>
> 2010/9/11 Tim Hoffman <zutes...@gmail.com>
>
>
>
> > 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 <masu...@mably.com> 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 <zutes...@gmail.com> 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 <zutes...@gmail.com> 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 <fm2...@mably.com> 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 google-appengine@googlegroups.com
> > .
> > > > To unsubscribe from this group, send email to
> > > > google-appengine+unsubscr...@googlegroups.com<google-appengine%2Bunsubscrib
> > > >  e...@googlegroups.com><google-appengine%2Bunsubscrib
> > e...@googlegroups.com>
> > > > .
> > > > 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 google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com<google-appengine%2Bunsubscrib 
> > e...@googlegroups.com>
> > .
> > 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 google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to