Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Script for Checking database backup

Author  Topic 

vaddi
Posting Yak Master

145 Posts

Posted - 2006-08-23 : 11:36:22
Hello

Can anyone let me know a script , which I can use if all the backups are successful or not , rather than checking them everyday going to the sqlserver agent.

Thanks

nr
SQLTeam MVY

12543 Posts

Posted - 2006-08-23 : 11:41:30
You can look at msdb.sysjobhistory

But the only way to know if a backup is good is by restoring it.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -