Thanks so much for the answer It works perfect ! Regards
Saludos. Moisés Belchín. 2012/12/12 Arie Ozarov <[email protected]> > 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<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 the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/AYKGn_tRrMUJ. > 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.
