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 backups.
>
> Aside: if you think, like I do, that you should be able to automate backup 
> deletion, please star 
> https://code.google.com/p/googleappengine/issues/detail?id=7412 or 
> possible even 
> https://code.google.com/p/googleappengine/issues/detail?id=7428
>
> Datastore Admin has a feature that allows me to delete old backups. 
> However, I don't think that it actually deletes the Cloud Storage files 
> themselves. Here is the code I'm looking at from 
> google.appengine.ext.datastore_admin.backup_handler:
>
> def delete_backup_files(filesystem, backup_files):
>   if backup_files:
>
>
>     if filesystem == files.BLOBSTORE_FILESYSTEM:
>
>
>
>
>       blob_keys = []
>       for fname in backup_files:
>         blob_key = files.blobstore.get_blob_key(fname)
>         if blob_key:
>           blob_keys.append(blob_key)
>           if len(blob_keys) == MAX_BLOBS_PER_DELETE:
>             blobstore_api.delete(blob_keys)
>             blob_keys = []
>       if blob_keys:
>         blobstore_api.delete(blob_keys)
>
>
> I'm guessing that blank line that has been redacted says "TODO: implement 
> Google Storage file deletion".
>
> Can anyone confirm or deny? How do people manage their backups today? Is 
> my only option to write some kind of custom tool to dump old files on Cloud 
> Storage?
>
> Thanks,
> j
>

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