Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin.
Search for scripts directly from SSMS, and instantly access any saved scripts in your
SSC briefcase from the favorites tab.
Download now (direct download link)
Thank this author by sharing:
By Pratap Prabhu,
Database backups are a requirement for all DBA's. Restoring a backup consists of restoring the Last Full Backup and then the subsequent transaction logs.
We call this script twice a day via a Maintenance plan. It shoots out a neatly formatted HTML email to the Database Admins, listing the databases on the server and for Each Database The Last Full Backup and the subsequent Transaction Log backups.
We find this extremely helpful and reassuring.
Please feel free to use/review/recode/LearnFrom this script. Just give credit where credits due and ofcourse if you do make changes to the script whether to increase functionality/efficiency please do send me a copy so that I may also use/review/recode/LearnFrom your script
(I Have just replaced the original script after stripping away all tabs. For some reason when these were present they were showing up as control characters in the published script)
Learn how to write a script for regular database backups using Powershell and SMO.
xmla script for automate ssas database backup
Script to Check the Database Backup duration of entire instances
This script provides very useful information about database backup and restoration.
Scripts used to validate the backups information as below
1) Database Backups for all databases F...