Click here to monitor SSC
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 any/all Databases (Native AND LiteSpeed friendly)

By Andy B.,

This script can run backups for any/all databases using both SQL native and Quest's SQL LiteSpeed product. It includes options for Complete (Full), Differential, and Transaction Log backups (File and File Group backups will be coming soon). It will also clean up old backups and the msdb tables accordingly.

See script for a full parameter list.

NOTE: This script is a major update to Jeffrey Aven's prc_DoSLSBackup procedure (http://www.sqlservercentral.com/scripts/viewscript.asp?scriptid=1135). See script for full change log and acknowledgements. Also, I have changed the name of this procedure because of the changes in parameter values. Updated 2006.05.15 so that it doesn't start with "sp_" as that creates additional overhead.

Total article views: 5104 | Views in the last 30 days: 10
 
Related Articles
FORUM

script for backup files

script for backup files

FORUM

Transaction Log Backup Script issues

Transaction Log Backup Script issues

FORUM

Changing the Backup path

Changing the Backup path

FORUM

Auto Backup Script

Auto Backup Script

FORUM

backup scripts

all backup scripts (full, diff, trans)

 
Contribute