Offsite disaster preparedness httpd and MySQL services

Source: Internet
Author: User

Back up the httpd and MySQL services and upload them to the FTP server

1. Create a backup user bak on the FTP server

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/87/5F/wKioL1fehuXSm_SPAABmOsRO7iA093.png "style=" float: none; "title=" 2016-09-18_200058.png "alt=" Wkiol1fehuxsm_spaabmosro7ia093.png "/>

2. Write the automatic backup script, upload the backup file to the FTP server and delete the local file

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/87/62/wKiom1fehuaQhA0tAAFADGWVejU093.png "style=" float: none; "title=" 2016-09-18_200135.png "alt=" Wkiom1fehuaqha0taafadgwveju093.png "/>

3. Execute permissions on scripts and write scheduled tasks to ensure periodic backups

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/87/5F/wKioL1fehuSSqk7FAACjwU5z2iE356.png "style=" float: none; "title=" 4.png "alt=" Wkiol1fehussqk7faacjwu5z2ie356.png "/>

4. Perform a script for the first backup after installing the FTP software locally

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/87/62/wKiom1feh2WgBkpsAAAhy7x17CU028.png "title=" 2016-09-18_202338.png "alt=" Wkiom1feh2wgbkpsaaahy7x17cu028.png "/>

5. Check if the local backup directory holds the backup file after the backup is complete

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/87/62/wKiom1fehuTx9k0UAAAbUAqBt9I252.png "style=" float: none; "title=" 165.png "alt=" Wkiom1fehutx9k0uaaabuaqbt9i252.png "/>

6. Verify that there is a backup file on the FTP server

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/87/5F/wKioL1fehufghP_6AAA0uxDh_cU291.png "style=" float: none; "title=" Asd.png "alt=" Wkiol1fehufghp_6aaa0uxdh_cu291.png "/>


This article is from the "Ukkun" blog, make sure to keep this source http://xiaoayu.blog.51cto.com/12001978/1853790

Offsite disaster preparedness httpd and MySQL services

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.