views:

31

answers:

3

In sql server 2008, i have taken Full backup type of my database and database was successfully done.My question is while restoring it how can i check or know that my whole backup was perfect ?

A: 

You can use RESTORE VERIFYONLY for that.

Adrian Grigore
A: 

The DB won't come on-line if something is wrong most likely.

Although, you can run RESTORE VERIFYONLY, you're more likely to restore the wrong DB or from the wrong backup file to be honest.

If you want you could run DBCC CHECKDB.

I tend to query a known table for the last "updateddatetime" column

gbn
thanks buddy ,RESTORE VERIFYONLY does not attempt to verify the structure of the data contained in the backup volumes. i cant get wht is - structure of the data ?
Dhiva
@Dhivagar: what do you mean? DBCC CHECKDB on a backup file?
gbn