Debug output from database layer
Cope with restarting a failed backup.