In summary it performs the following:
- Declares the age thresholds for the various backup types (Full, Diff, Log)
- Interrogates the msdb backup history tables
- Collects a list of files in the backup directories
- Sends an email in the case any thresholds are breached or files are missing
There are a few details that need to be kept in mind as well:
- Security policies need to allow xp_cmdshell to be enabled (this script checks if it is and if so enables it. If it was originally disabled, it will then be disabled)
- The SQL Agent account needs access to the backup directories. If it doesn't you may need to create a proxy
- It relies on database mail, so be sure to enable and configure it on your instance
And here's the stored procedure:
1 comment:
Betway Casino Site Review & Rating 2021 | LuckyClub
Check our review of Betway Casino site to discover all the important aspects. Check out why we rate luckyclub Betway Casino Site and Rating. Signup
Post a Comment