mysql xtrabackup增量备份
增量备份:
只有在还原和binlog接壤的地方,才会进行回滚,其他所有地方都不进行回滚
1.增量的含义是自上次备份以来发生改变的数据页
2.增量备份并没有降低物理IO,也是全扫描
3.增量备份不是很适合 OLTP 交易系统
4.增量备份适合数据仓库
–incremental-basedir=name //指定全备位置(也可能是增量备份)
This option specifies the directory containing the full
backup that is the base dataset for the incremental
backup. The option accepts a string argument. It is used
with the --incremental option.
–incremental-dir=name //指定增量目录
This option specifies the directory where the incremental
backup will be combined with the full backup to make a
new full backup. The option accepts a string argument. It is used with the --incremental option. --incremental //指定增备的目标路径,就是将这次增备备份到哪
This option tells xtrabackup to create an incremental
backup, rather than a full one. It is passed to the
xtrabackup child process. When this option is speci