how can you use this method if specifying more than 1 kind? as the params 
is a dict so you can only have 1 kind key. what if you need multiples?

On Wednesday, 12 December 2012 00:33:52 UTC, Arie Ozarov wrote:
>
> Any reason you are not using Cron for that? 
> https://developers.google.com/appengine/articles/scheduled_backups
> I think the authentication need should not be a problem if you submit your 
> request using a taskqueue rather than urlfetch.
> e.g:
>  taskqueue.add(url='/_ah/datastore_admin/backup.create', params={'kind':'
> MyKind<http://appspot.com/_ah/datastore_admin/backup.create?name=day_month_&kind=MyKind&filesystem=gs&gs_bucket_name=MyBucket&queue=backup>',
>  
> 'queue':'backup<http://appspot.com/_ah/datastore_admin/backup.create?name=day_month_&kind=MyKind&filesystem=gs&gs_bucket_name=MyBucket&queue=backup>',
>  
> ...})
> Also, when you do that you can specify a "target" to 
> "ah-builtin-python-bundle" 
> and then your app.yaml changes are not be needed.
>
>
>
>
> On Tuesday, December 11, 2012 9:35:32 AM UTC-8, Moises Belchin wrote:
>>
>> In my app.yaml I have this:
>>
>> - url: /_ah/datastore_admin.*
>>    script: google.appengine.ext.datastore_admin.main
>>    login: admin
>>
>> And I try to urlFetch this url:
>>
>> https://[MyAppId].
>> appspot.com/_ah/datastore_admin/backup.create?name=day_month_&kind=MyKind&filesystem=gs&gs_bucket_name=MyBucket&queue=backup
>>
>> However on my logs I get always 302 and need login.
>>
>> Anyone knows how to urlFetch datastore admin backup create to make 
>> scheduled backups for all our kinds ? 
>>
>> Thanks and regards.
>> Moisés Belchín.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to