Set up automatic MySQL database backup

Source: Internet
Author: User

MySQL implementation database is automatically backed up in Windows, as required by the project. After data query and attempt, there are two ways to obtain the method:

1. Use a task schedule that comes with Windows, and then schedule a script to perform a database backup.

2. Navicat The backup of the configuration database using the MySQL management tool

Here, because the second method is relatively simple and practical, I will briefly describe the second method (because it is simple).

Tools:

Navicat for MySQL

MySQL 5.5

Steps:

1. Open the Navicat client, connect to MySQL, double-click the database you want to back up on the left. Tap Schedule, and then tap New batch job.

.

2. Double click on the available tasks above, it will go to the following list, on behalf of you chose this task.

.

3, click Save, Pop up a naming dialog box, give the task a name, click "OK".

.                      

4. Click "Set up" to schedule the task.

.                       

5. Pop Up the dialog box, select "Schedule", and then click "New".

.                    

6. This is set to back up the database at nine a.m. every morning from January 24, 2014 onwards. If you want to increase the backup frequency, or set a backup deadline, click Advanced.

.                 

7, advanced options can be more granular backup settings, such as this is set in 24 hours every 2 hours to back up once. In addition to the previous basic setup, the task plan is: from January 24, 2014 onwards, every 2 hours every nine o'clock, backup every day, the daily backup lasts 24 hours.

.                           

8. Finally, enter your computer password and you are done.

Set up automatic MySQL database backup

Related Article

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.