Creating Maintenance Plans in SQL Server 2008 R2

SHARE

One of the repetitive task that DBA need to perform is create maintenance plan for database. Maintenance plans enables you to automate maintenance activities for a database, backups, db integrity checks and index maintenance tasks. We can easily create a maintenance plan using a wizard in sql server 2008 R2.


You can use the following steps to create a maintenance plan
1. Select the Maintenance Plan Wizard from the context menu  as shown below
image

2. You can specify a name and description for the plan and select the desired scheduling options
image
3. Select next to see the maintenance tasks that you want to perform
image
4. Select the Maintenance tasks order
image
5. Select the database for the backup task.
image
5. Select the reporting option for the plan like write log to a specific location or send an email or both.
image image
7. You can see the created maintenance plan in object explorer
image
when you double click the Backup Plan from above window, you can get the designer
image
SHARE

Author: verified_user

0 Comments:

; //]]>