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)

Backup all databases & check backups

By Pavle-192195,

This procedure backs up all user or all system DBs. It does a full / diff or log backup. It was tested on SQL 2000 & 2008.

After backing up it tests full backups (performs a test restore).

You can log actions to a temp table with the @log param.

Other params are explained in the code.

Total article views: 3013 | Views in the last 30 days: 3