Backup All databases


Job details

Name: Backup All databases
Platform: Sqlserver
Category: Maintenance
Premium package: Maintenance package
Description: Takes backup of all application and system databases.
Long description: Takes backup of all application and system databases.
Version: 2
Default schedule: 0 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘sqlserver’]/instance[maj_version > ‘2000′ & hasengine=‘YES’]/.[engine_edition = ‘Microsoft SQL Server’ & eng_inst_priv = 0]

Parameters

Name Default value Description
backup directory Directory path for backup files. Exp. D:\Backup_db\
delete old backup files (in hours) 48 The task deletes backup files older than the parameter value (in hours).
ignore databases List over the database (separated by comma) which will be ignored from being backuped.
enable NO If set to “YES“ the task will run “backup database” command for every online database. This task is meant for Desktop editions of SQL Server where SQL Agent service is not running. Default value is “NO”.
backup device null Name of the backup device. If this parameter is configured (set to value “null”), the “backup directory” and “delete old backup files (in hours)” parameters will be ignored. Only DISK type devices are supported.
compress backup YES If set to “YES“ the “WITH COMPRESSION“ option will be added to “BACKUP DATABASEDDL command. COMPRESSION is not supported on Express Edition and MS SQL Server 2005.
create subdir YES Creates the sub directory (if it does not exist) for each database that is backed up. The xp_create_subdir procedure is used.

Job Summary

SELECT * FROM msdb.dbo.backupset

Major Elements of the Job

Monitoring and Reporting

Implementation Notes

Technical Overview

System Requirements and Considerations

Overall, the dbWatch task configures an in-depth approach to database backups, tailored specifically for SQL Server environments with detailed control over backup logistics, error handling, and automated system maintenance.