Fix an error message.
Drop a superfluous error check.
Empty out the ID and the stored timestamp.
Validate the incoming backup data.
Relax about doc.Stored and doc.Finished.