Automated removal of outdated datastore backups

42 views
Skip to first unread message

re...@el-tramo.be

unread,
Jun 4, 2015, 6:45:53 AM6/4/15
to google-a...@googlegroups.com

We are using the process described in the App Engine Docs to perform a daily automated backup of all our datastore tables. Since the number of backups is starting to grow out of bounds (cost, but also breaks the admin page), I would like to clean up my backups in an automated way, but I can't seem to find how to do this.

I tried to use the timestamps on GCS (where the backups are stored) to delete the actual data. I was hoping this would also remove the backup from the table on the datastore admin page, but it doesn't: i need to manually delete the backups there too (which is made extra annoying by not being able to see all the backups, only the last X).

What is the recommended way to automatically keep a limited set of backups of the datastore?

Satyanarayana Govindachandra

unread,
Jun 4, 2015, 10:48:27 AM6/4/15
to google-a...@googlegroups.com
I think for now we have to try manually deleting the backups.

--
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-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/aa6a7c8e-5717-4a54-925d-79da15d1cb2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thank you
Satya

Patrice (Cloud Platform Support)

unread,
Jun 4, 2015, 11:46:36 AM6/4/15
to google-a...@googlegroups.com, re...@el-tramo.be
Hi,

Actually, in your datastore kinds, you should see some more kinds now that you did a backup.

Namely, the kinds : 

    - _AE_Backup_Information
    - _AE_Backup_Information_Kind_Files
    - _AE_Backup_Information_Kind_Type_Info
    - _AE_DatastoreAdmin_Operation

In these kinds, in different fields (normally, "description" or "name") you will find the name of the backup file. If you delete these entries, I just tested with my own projects, and if you delete these, they will disappear from the "backups" section of the Datastore Admin.

Cheers
Reply all
Reply to author
Forward
0 new messages