finish the restore, format and backup methods