Simple MYSQL backup method on your server

Source: Internet
Author: User

I am not using mysqldump for backup, because it is used to back up the MYSQL database on the server, as long as all files under DATA are copied directly.

Install MYSQL in E: \ PHPsetup \ mysql \ data, and store the backup file D: \ beifen \ 1; D: \ beifen \ 2; D: \ beifen \ 3; D: \ beifen \ 4; D: \ beifen \ 5; D: \ beifen \ 6; D: \ beifen \ 7, which is set for a period of seven days.

Put deltree into the c: \ windows directory, and put the following content into 1.bat

Net stop mysql

Net stop w3svc

Net stop iisadmin/y

Deltree/y D: \ beifen \ 1 \.

Xcopy/e: \ PHPsetup \ mysql \ data D: \ beifen \ 1

Net start w3svc

Net start mysql

Meaning:

1. Stop the mysql Service

2. Stop the IIS service.

  • 1
  • 2
  • Next Page

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.