Link to home
Start Free TrialLog in
Avatar of bsarahim
bsarahim

asked on

sql server backup how to verify, your backup is correct and not corrupted

im go to take adhoc sql full backup, before application upgrade
eg:

BACKUP DATABASE testdb
TO DISK = 'C:\testdb.BAK'
WITH STATS, DESCRIPTION = 'Full backup for AdventureWorks'
GO

how do you I know, my backup is not corrupted, and will work after restore, incase if required

Sorry I dont have environment to test.. it..

Do i need to do consistency check or readability check before take backup, if yes, how can i do that in Tsql?
SOLUTION
Avatar of Kent Olsen
Kent Olsen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bsarahim
bsarahim

ASKER

Thanks both of you.. Can I estimate the backup time which is going to take with checksum.. ? any idea
It really depends on the number of data pages but I wouldn't expect a big difference unless the database is really huge.
It is 700-800 gb around.. thanks
With that size I would turn on the compression for the database backups. It will reduce around 60%-70% of the backup size and time.
Thanks a lot