Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in

Get your favourite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved 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: 288 | 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



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.


Sensible Archiving

Archiving redundant databases without t-log


Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones