added the backup for to a temp file. if it fails we still have the original backup