I'm looking for a way to backup the blobstore on Google App Engine to recover from accidental deletion. I'd like to be able to make a backup of the datastore and blobstore at the same time, so that I could recover the entire system.
One thing I tried was using Google Cloud Storage for my blobs, and then making backup copies of buckets. However, if I delete a file in the blobstore viewer (which also deletes it in google cloud storage), and then restore the file from a bucket backup using gsutil, the blobinfo is still lost.
I believe I would have to store all the file paths (google cloud storage paths) in my datastore, and then during a restore, recreate blob keys for all those files using create_gs_key(). Is the info stored in the blobviewer (file name, content type, size, etc) stored in the datastore?
Is there anyway to backup / restore blobstore data without regenerating keys?