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)

Automatic Backups

By Rodrigo Acosta,

Creates the backup devices where sql server is installed, creates an error message above 50001, an alert, and an adittional job in case the scripts fails. In the first time backups all databases and then backups the logs until two days past from the last full backup. Then backups the databases again and so on.

You can create a job to run the script by EXEC master..xp_cmdshell 'osql -Usa -P -ic:\....\script.sql' The comments are in Spanish, because I'm from Argentina. I didn't wanted to translate it, sorry.

Total article views: 1161 | Views in the last 30 days: 6
Related Articles

Failing backup can't create backup

single database backup can't create file


DBA Skills - Creating a Striped Backup

Learn how to create a striped backup in this short piece.


hoe to stop creating a daily database backup file

stop creating a daily database backup file


Daily Backup Job

Creating daily backup job