* backup-my.cnf
跟原始my.cnf不一样,这是xtrabackup创建出来的my.cnf
只包含了备份需要的选项
[mysqld]
innodb_checksum_algorithm=crc32
innodb_log_checksum_algorithm=strict_crc32
innodb_data_file_path=ibdata1:4G:autoextend
innodb_log_files_in_group=2
innodb_log_file_size=4294967296
innodb_fast_checksum=false
innodb_page_size=16384
innodb_log_block_size=512
innodb_undo_directory=./
innodb_undo_tablespaces=0
server_id=1261261646
redo_log_version=1
server_uuid=f085ef25-dbf5-11e8-8813-ecf4bbf1f518
master_key_id=0
* xtrabackup_checkpoints
包含了LSN和备份的类型
backup_type = full-backuped
from_lsn = 0
to_lsn = 74398727925
last_lsn = 74398729153
compact = 0
recover_binlog_info = 0
* xtrabackup_info
备份相关的日志信息
uuid = dcfccff9-f174-11e8-a83b-ecf4bbf1f518
name =
tool_name = innobackupex
tool_command = --defaults-file=/etc/my.cnf --user=pt_kill --password=... --socket=/tmp/mysql.sock --rsync --kill-long-queries-timeout=30 --kill-long-query-type=all --parallel=8 --tmpdir=/data/dbbackup --backup /data/dbbackup/
tool_version = 2.4.12
ibbackup_version = 2.4.12
server_version = 5.7.21-log
start_time = 2018-11-26 20:14:34
end_time = 2018-11-26 20:14:46
lock_time = 0
binlog_pos = filename 'xx.bin.000001', position '18667', GTID of the last change 'f085ef25-dbf5-11e8-8813-ecf4bbf1f518:1-51'
innodb_from_lsn = 0
innodb_to_lsn = 74398957203
partial = N
incremental = N
format = file
compact = N
compressed = N
encrypted = N
* xtrabackup_binlog_info
包含了备份时刻的binlog位置,主要用于在master上的备份,这个位置可以用来搭建new slave
xx.bin.000818 3465069 f085ef25-dbf5-11e8-8813-ecf4bbf1f518:1-51
* xtrabackup_slave_info
包含了show slave 的信息,可用于未来的搭建新的slave,change master用
SET GLOBAL gtid_purged='f085ef25-dbf5-11e8-8813-ecf4bbf1f518:1-1531';
CHANGE MASTER TO MASTER_AUTO_POSITION=1;
* xtrabackup_logfile
就是在备份的过程中,拷贝的redo log日志
这个日志会用在后面的 --apply-log中