Records the current state of the given database and returns a Snapshot.
if a failure occurs while creating the snapshot.