Reply to Re: How to check Backup of SQL Server Database

Your name:

Reply:


Posted by Simon Hayes on 09/29/05 13:06

As far as I know, the backupset table only has successful backups (if
the backup wasn't successful, there wouldn't be a backup set). But I
guess what you should be looking at is the success/failure of the
scheduled job that backs up the database - you can check the
Job.LastRunOutcome property using DMO (SQL2000, COM) or SQL 2005 (SMO,
..NET). Alternatively, you could have the job raise an alert and/or run
a job if it fails, rather than polling it yourself.

If a backup fails, it should be logged in the SQL Server error log and
the Windows event log, so you could check either of them. The DMO/SMO
ReadErrorLog() method can be used for the SQL Server log.

Finally, there are plenty of third party monitoring tools available for
MSSQL, so if you need something only for your own organization, it may
be worth looking at the cost of buying versus the cost of developing
and maintaining your own solution.

Simon

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация