reporting of all databases last backup status
ppared1
Posts: 3
I would like to get an email every morning showing me each of the databases that are scheduled for backup and what is the status of the last backup and who long since the last successfull backup:
Where can I get/query the data to generate this report?
Is there a table I can query to obtain this info?
DatabaseName Last Successfull backup Status of last backup ========== =============== ============= Database1 09/09/2010 Successfull
Where can I get/query the data to generate this report?
Is there a table I can query to obtain this info?
PParedes
Comments
Here's a query that simply lists down the backup statuses for all databases:
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
This information is great.
I will put this on an SSIS package and send an email with this results.
Thanks again for taking the time.
This query works outwards from the sysdatabases table, but will not show you the backup history of any database that no longer exists.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8