Maintenance Solution
Maintenance Solution
• Download : MaintenanceSolution.sql
1. Open SSMS
For Express Edition, you won’t get SQL Agent jobs. Use Task Scheduler instead (I'll
show below).
4. Open MaintenanceSolution.sql
This creates:
• SQL Agent jobs (if SQL Agent exists). Rename the job name by adding
‘DBAMgmt –‘ in front of jobs created by the MaintenanceSolution.sql. Jobs are
listed below for reference.
Step 4: Scheduling
• DatabaseBackup Jobs
• IndexOptimize Job
• DatabaseIntegrityCheck Jobs
• Cleanup Jobs
• D:\SQLBackups
After a new backup setup solution. Need to disable the old backup solution.
bat
CopyEdit