Verifing Backups
qsac226
Posts: 22
If i read the spec sheets right, i noticed that the Verify only works if you use the GUI. Is that true?
If so, is there any way to verify the backup?
Thanks
Q
If so, is there any way to verify the backup?
Thanks
Q
Comments
EXEC master..sqlbackup '-sql "RESTORE VERIFYONLY FROM DISK = [e:\backups\pubs.sqb]" '
The GUI has an option to run this command after a backup has been made, so it's essentially a BACKUP command, followed by a RESTORE VERIFYONLY command.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8