How to restore data from backup?

188 views
Skip to first unread message

Yegor Jbanov

unread,
Mar 14, 2012, 9:41:12 PM3/14/12
to google-a...@googlegroups.com
How do I restore data from a backup?

The documentation (http://code.google.com/appengine/docs/adminconsole/datastoreadmin.html) is no good. The "Completed Operations" section contains my backups, e.g. "Backup: datastore_backup_2012_03_15 23 steps Completed". However there is no way to "select the backup" and I don't see any "Restore" buttons. I tried with and without disabled write operations.

Yegor

Arie Ozarov

unread,
Mar 16, 2012, 1:28:39 PM3/16/12
to google-a...@googlegroups.com
Hi Yegor,

Looks like something went wrong with this backup and it likely that it was not finalized correctly.
I can look around with your permission and the related application id.  

Arie.

johnP

unread,
Mar 16, 2012, 5:36:56 PM3/16/12
to Google App Engine

I have a production ticket to clear a stuck backup for over 6 weeks.
If you find a way to remedy the situation, I'd like to be 'next in
line' :)

johnP

Arie Ozarov

unread,
Mar 16, 2012, 9:06:19 PM3/16/12
to google-a...@googlegroups.com
Hi John,

What is your ticket id?

Arie.

johnP

unread,
Mar 16, 2012, 11:18:02 PM3/16/12
to Google App Engine

"Issue 6858 in googleappengine"

Thanks!

johnP

Arie Ozarov

unread,
Mar 19, 2012, 4:02:13 PM3/19/12
to google-a...@googlegroups.com
Thanks John,

Issue 6858 was closed as we were waiting to get your permission to remove/cleanup the failed backup.
Failure was triggered by a partial failure to finalize a blob file using the files api. Though rare, once
happened further calls to finalize the same file will keep on failing. There is a work in progress on
the files api to reduce the likelihood of such a failure as well as making it idempotent (so further calls to finalize a file after a failed finalize call may succeed).
Would you like me to delete the failed backup?

Arie.

johnP

unread,
Mar 19, 2012, 4:47:52 PM3/19/12
to Google App Engine
Yes - please do so

johnP

(I originally gave permission on 1 MAR).

Arie Ozarov

unread,
Mar 19, 2012, 6:44:24 PM3/19/12
to google-a...@googlegroups.com
All data associated with the mentioned backup was removed.
For some reason your comment/permission is not captured in the issue thread.
FYI, there is a different pending fix for dealing with backups of many kinds (per backup) that have a low number of entities.
In such cases a post backup cleanup task (to delete empty files that were created for these kinds) may fail (if number of empty files is bigger than 500).
Until a fix is available I would suggest you to avoid backing up more than 15 kinds at a time (this should handle the worst case of 1 entity per kind).

Arie.

johnP

unread,
Mar 20, 2012, 1:51:43 AM3/20/12
to Google App Engine
Very much appreciate your intervention and your help. Issue appears
to be resolved. Thanks!

john
Reply all
Reply to author
Forward
0 new messages