Exact MAX Support
Setting Up a SQL Maintenance Plan
Create SQL Maintenance Plan:
In SQL Management Studio ensure the SQL Agent is running. Jobs will not run unless this service is running. Make sure the service is set to automatic.
- Select the Maintenance Branch, right click and select the Maintenance Wizard
- Check the following and set all routine maintenance to run on the weekend and set the full backup to run nightly and select the \SQLBackup established during the SQL Server install process.
- Log into Management Studio
- Expand the Management Tree to expose Maintenance Plan
- Right Click and Execute the Wizard
- Select to use a separate schedule for each
- Discuss the Backup plan with Local IT and make sure they know where to get the .bak files \SQLBackup folder.
- Note the time for each in the chart below
Item | Frequency | Scheduled Time |
Check Database Integrity | Weekly | Sat 7pm |
Shrink DB | Weekly | Sat 8pm |
Rebuild Index | Weekly | Sat 9pm |
Update Statistics | Weekly | Sat 10pm |
Cleanup History | Weekly | Sat 11pm |
Backup DBs (Full) | Daily | 12 AM |
Maintenance Cleanup | Daily | 2 AM |