yeah your right i figured it out as well. thanks

On 10 April 2013 01:28, Arie Ozarov <[email protected]> wrote:

> Associating 'kind' param with a list/tuple should work as well.
> 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>1',
> 'MyKind2'), 
> 'queue':'backup<http://appspot.com/_ah/datastore_admin/backup.create?name=day_month_&kind=MyKind&filesystem=gs&gs_bucket_name=MyBucket&queue=backup>',
> ...})
>
>
> On Monday, April 8, 2013 7:45:50 AM UTC-7, Gwyn Howell wrote:
>>
>> 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<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<http://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 a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/PxtYUrQpvjs/unsubscribe?hl=en
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-appengine?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 

Best regards,

*Gwyn Howell
*Lead Developer

T: 01344 203415
T: 0845 2626 747 (switchboard)
F: 0845 2626 748
E: [email protected]
W: www.ancoris.com

*Ancoris Limited, Lily Hill House, Lily Hill Road, Bracknell, Berkshire
RG12 2SJ*

<pre><hr/><p style="margin: 0px; font-family:verdana; font-size:xx-small">This 
e-mail message has been scanned and cleared by <a 
href="http://www.ancoris.com/cloud-computing/google-postini-services/google-message-security.html";>Postini
 / Google Message Security</a>. This message is for the named person's use 
only.  If you receive this message in error, please delete it and notify the 
sender.  Ancoris reserves the right to monitor all e-mail communications 
through its networks. Ancoris Limited, Registered in England Number: 04830784, 
Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading 
Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ</p>
<hr/></pre>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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