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