BTW, there's a built-in '__version__' property of '__entity_group__'
that could be used instead of an auto-updated timestamp:

https://developers.google.com/appengine/docs/python/datastore/metadataentityclasses#EntityGroup
https://developers.google.com/appengine/docs/python/ndb/metadata

On Wed, Oct 17, 2012 at 8:23 AM, Sameer Lodha <[email protected]> wrote:
> This would require Custom Logic to be implemented by you.
>
> My suggestion...
> 1. Define an auto-update time-stamp property for each Entity Group
> 2. Write Logic to Download Data based on the time-stamp
> 3. If required, store the Last downloaded time-stamp value for each Entity
> Group, so that you may proceed from there in the next iteration.
>
> The above is what we have implemented for incremental offline backups.
>
>
> On Wed, Oct 17, 2012 at 12:15 AM, Mikhail Dubov <[email protected]> wrote:
>>
>> Just read an article on how to download data from AppEngine Datastore:
>> https://developers.google.com/appengine/docs/python/tools/uploadingdata
>>
>> It's a great tutorial, but, as far as I can see, it says nothing on
>> whether it is possible to download entities from Datastore that were created
>> after a specific date, which is actually my current need - I want to
>> download my data periodically and each time I do this it would be
>> preferrable to get the new/updated entities only. So, is that possible?
>>
>> Thanks,
>> Mikhail
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/google-appengine/-/R4N9oJ-rOUkJ.
>> 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.
>
>
> --
> 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.

-- 
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