sql_server2005 automatic backup and removal-maintenance plan

Source: Internet
Author: User

Business background:

In order to facilitate the timely automatic updating of the SAP library data and reduce disk space. So you want to automatically back up and delete the data in SQL. This makes it easier for administrators to manage and reduce the workload of administrators.


Solution Ideas:

In 2005 SQL environment, create automatic backup and automatic deletion.


Solution:

1. Click "Manage", select "Maintenance Plan", right click and select "New Maintenance Plan (N)", the following two figure:



2. Click "New Maintenance Plan" to pop up the dialog box, name the maintenance name, and then click "OK", such as:



3. Drag the Backup database task from the left bottom toolbox to the right margin, then right-click to select Edit, such as:


4. Select "Edit" to pop up the dialog box; Select the database you want to back up.

5, set up the path of backup, click OK, Task creation is complete. Next, create a plan to change the task.

Execution time can be set to monthly, weekly, daily, according to the relevant circumstances to choose the appropriate time! (because the backup consumes server resources, it is recommended that you choose the time off.) In general, we will define it as 0 points later. )


6, check your settings, open the backup folder to see if there is a backup file.


7. Create a Delete backup file

1) The task added here is clear history task


2) Edit the task

3) automatic deletion of backup files for more than four weeks

sql_server2005 automatic backup and removal-maintenance plan

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.