Backup | data | Virtual hosts generally speaking, the virtual host backup database is a more troublesome thing. For convenience, I wrote a simple way to back up the MySQL database.
PHP Code:
?
/**
* Virtual Host Backup Program
* Programming:boban<boban@21php.com>
* Discussion: <a href= "http://www.21php.com/forums/" target= "_blank" >http://www.21php.com/forums/</a>
* Update: 2004-02-02
* Instructions for use
* 1. Change the parameters of the MySQL connection, $dbuser, $dbpass, $dbname
* 2. Log in with FTP, set up a private directory to back up your data, change the property to 777
* 3. Access this program through the browser, if the mysqldump path is not correct, please change (default:/usr/bin/mysqldump)
* */
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.