SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

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)

Verify that your backups are archived.

By Dennis Stephani,

If you backup your databases to a disk file, you should make sure that these disk files are then being archived to tape. Without this, your ability to recover the database is compromised in the event of a disaster. This script will examine the "archive" flag on all of the backup files to make sure the system administrators have really archived them. It is set to examine all backups for the past three days but can be easily changed to be more or less. Any files which have NOT been archived (if any) will be kept in a temporary file. Once finished, you can then save this information to a repository, text file, e-mail, etc.

Total article views: 289 | Views in the last 30 days: 2
Related Articles

Archive Backups

The need to archive data is becoming more and more important as data sizes grow. However when you ch...


Archiving Performance... Need help



SQL Backups Compression Archive

This script takes the last full backup includes diff and logs backups until the next full backup in ...


Deleting old files (with/without archive bit)

A hopefully useful script to delete old files, not just backups, and make use of the archive bit.