• No results found

How to schedule SQL Maintenance Plan

N/A
N/A
Protected

Academic year: 2021

Share "How to schedule SQL Maintenance Plan"

Copied!
7
0
0

Loading.... (view fulltext now)

Full text

(1)

H&S Heilig und Schubert Software AG

How to schedule

SQL Maintenance Plan

for MS SQL Server 2005

All Rights Reserved. Including all rights concerning reproduction, copying or any other use or transmission of this document and its contents or parts of it. No part of this publication may, no matter in what form, be reproduced without written permission by H&S Heilig und Schubert Software AG, passed on to third parties, edited by electronic retrieval systems, copied, distributed or used for public presentations. H&S Heilig und Schubert Software AG reserves the right to change and update the content at any time. All data shown on screenshots is solely for demonstration purposes of the software. H&S Heilig und Schubert is not responsible for this content.

Trade Mark H&S: PAM-STORAGE ®

Microsoft ®, Microsoft Windows NT ® and the names of other Microsoft Products are registered trademarks of Microsoft Corporation.

(2)

Document

Management

beyond imitation

We recommend to schedule daily maintenance plan in SQL for the exchange@PAM database. In this way the database and log files will be backed up and shrunk down.

To schedule the maintenance plan for exchange@PAM database:

1. Run the Microsoft SQL Server Enterprise Manager from Start / Programs / Microsoft SQL server / SQL Server Management Studio.

2. Expand the Microsoft SQL Servers node down to the maintenance plan, e.g. VMXDEMO (SQL Server) / Management / Maintenance Plan.

3. Right-click the Maintenance Plan and from the context menu select Maintenance Plan Wizard to open it. Wizard window opens.

4. Enter the name for your maintenance plan (e.g. pam) and click the Change button to schedule it.

5. The Job Schedule Properties window opens:

In the Schedule type down-drop box select Recurring and check Enabled text box. In the Frequency section set it to run daily (Occurs Daily; Recurs every 1 day(s)). In the Daily Frequency section set the maintenance time in the Occurs once at text box. In the Duration section check the No end date radio button.

(3)

Document

Management

beyond imitation

6. In the Maintenance Plan Wizard window click Next. In the following window make sure to select these maintenance tasks:

Shrink database

Clean Up History

Back Up Database (Full)

(4)

Document

Management

beyond imitation

(5)

Document

Management

beyond imitation

NOTE: Bear in mind that each backup file requires as much space as the database itself.

(6)

Document

Management

beyond imitation

10. Configure transaction log backup: Click the down arrow in the Database(s) text box. Check These databases radio button and select your exchange@PAM database. Click OK, then Next.

(7)

Document

Management

beyond imitation

References

Related documents

Develop and implement a cross college systematic analysis of human, financial, and physical resources including measurements of efficiency related to teaching / learning methods

The configuration of Microsoft SQL Server takes a little time, for this application we used ‘Microsoft SQL Server Management Studio Express’ with SQL Server Configuration Manager

This module introduces the use of functions that are built in to SQL Server Denali, and will discuss some common usages including data type conversion, testing for logical results

Each office participating in this program shall develop a written plan included as a portion of the official duty manual that includes the criteria for awarding merchandise,

In SQL Server Management Studio Object Explorer, connect to an instance of the Microsoft SQL Server Database Engine, and then expand that instance.. Expand Databases, and

In SQL Server Management Studio, expand SQL Server Agent, then expand the Jobs folder, right-click the merge agent job, and then select Properties.. The Job Properties dialog box

You can check by going to Start – (All) Programs – Microsoft SQL Server 2005/2008 – SQL Server Management Studio Express and logging into the SQL instance selected during the

Open the Microsoft SQL Server Management Studio Express program (the link to install this program is included in the SQL Server 2005 Express Installation instructions above)b.