Mysql database incremental backup method described realization of ideas

MySQL database incremental backup, modify our database profile before this /etc/my.cnf open bin-log log function to, the following small series to share ideas Mysql database incremental backup explain, look at it

MySQL database incremental backup, modify our database profile before this /etc/my.cnf open bin-log log function. Next is my reference to some method in the Internet, wrote it myself, mainly to be able to learn some of his ideas and methods.

Add Scheduled Task:

crontab -e

00 03 * * * /root/MySQL_incrementbak.sh # daily incremental backups 3:00 start date

logs log print out the results:

PS: mysql look below full volume and incremental backup script

The total amount of:

Parameter Notes:

The results are as follows:

Incremental backup:

to sum up

These are the details of the realization of ideas Mysql database incremental backup methods described, please pay attention to more php Chinese net other related articles!

php Chinese net new course two-dimensional code

Guess you like

Origin www.cnblogs.com/shujutongbu/p/11019923.html