简体   繁体   中英

Making backup of MySQL database and server

I know about database backups for MySQL, but how would one go about making a backup of entire MySql configuration along with the databases?

I'm building few set of services/tools and I need to provide instructions so not-so technical people could restore them if I wouldn't be available. One of the things I need to backup is self hosted MySql.

Can I just zip MySql folder and ProgramData MySql folder and would that make a complete restore solution? Just unzip and run service?

Actually, the simplest way is to use crontab+shell. Of course, there are also many paid software that can be implemented. If you want to back up, it is recommended that you back up your data files and configuration files so that they can be recovered. It is also the safest. The backup of mysql's installation files is of little significance, because it can be downloaded from official website at any time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM