Added more error checking to try to track down DB backup problems