简体   繁体   中英

How to backup mysql database while application is running?

What is the prefer way to generate mysql backup while application is running ?

I want to provide functionality to admin to take backup of database at the same time when other admin using the same application from other computer.

What is the prefer way to handling this scenario ?

Hopefully you can take backup using mysqldump utility without stopping the database. Mysqlworkbench application provides easier interface to do this. If you are looking for a more advanced option and worry about transaction you can set up a replicated server, so that you can take the stable backups without stopping the master server.

如果您正在使用php支持的网络服务器上,请使用phpMyAdmin或任何mySQL Dumper

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