[google-appengine] Re: Does deleting a backup also delete the files in Cloud Storage?

2013-04-02 Thread Bryce Cutt
IIRC it does not. Works fine on blobstore though. On Monday, April 1, 2013 4:46:47 PM UTC-7, Jason Collins wrote: > > We use the Datastore Admin backup tool (fired by a cron) to backup our > data into Cloud Storage nightly. Our storage costs have crept up and I'd > like to delete the old backup

[google-appengine] Re: Does deleting a backup also delete the files in Cloud Storage?

2013-04-03 Thread Arie Ozarov
Right. Deleting a backup does not delete the associated Google Cloud Storage files (but does delete the associated blobstore files). We may provide an option to delete the associated Google Cloud Storage files in the future (and the default would be False). Using a folder per backup can help with

[google-appengine] Re: Does deleting a backup also delete the files in Cloud Storage?

2013-04-03 Thread Jason Collins
Thanks for the response Arie. Once I get access to the Cloud Storage JSON API, I will have developed my own backup scrubber. "Using a folder per backup can help with maintenance." I agree this would help (though the current tooling doesn't allow easy deletion of an entire folder), but the cron-

[google-appengine] Re: Does deleting a backup also delete the files in Cloud Storage?

2013-04-03 Thread Bryce Cutt
To give myself more control and more options when running backups I have a cron job that calls my own handler and I have that handler spin off a task to the backup handler. That way I can, based on a config I store in the datastore, have a lot more control of backup names and kinds and schedule.

[google-appengine] Re: Does deleting a backup also delete the files in Cloud Storage?

2013-04-04 Thread Arie Ozarov
I think it should work if you provide the folder as part of the gs_bucket_name value (e.g. 'bucket/folder/'). Also, gsutil does support wildcard (and delete with wildcard) and the gs online browser supports deleting multiple files and/or folders. On Wednesday, April 3, 2013 3:13:09 PM UTC-7, Ja

[google-appengine] Re: Does deleting a backup also delete the files in Cloud Storage?

2013-04-04 Thread Jason Collins
Arie, the issue is that you can't provide dynamic parts in your cron.yaml (unless I were to upload a new cron.yaml every day): - description: brand analytics backup url: /_ah/datastore_admin/backup.create?name=my-backup&filesystem=gs&gs_bucket_name=vendasta-backup/my-folder&queue=backup&kind=F

Re: [google-appengine] Re: Does deleting a backup also delete the files in Cloud Storage?

2013-04-04 Thread Arie Ozarov
Yes, I agree with that.We are constantly trying to improve it (and this request was noted). Arie. On Thu, Apr 4, 2013 at 1:37 PM, Jason Collins wrote: > Arie, the issue is that you can't provide dynamic parts in your cron.yaml > (unless I were to upload a new cron.yaml every day): > > - descript