欢迎关注MySQL 8.0必知必会系列课程。
MySQL8.0必知必会-自动化部署 https://edu.51cto.com/course/16368.html
MySQL8.0必知必会之参数标准化配置 https://edu.51cto.com/course/16358.html
1. 实时备份redo log
•xtrabackup开启xtrabackup_log监控线程
•记录开始的LSN,并实时监测redo log文件的变化
•将备份过程中新写入到事务日志中的日志页拷贝至xtrabackup_logfile文件中;
2.拷贝innodb文件
•开启redo log备份后,同时开启xtrabackup拷贝线程,开始拷贝innodb文件。
•拷贝顺序:
•ibdata1, sys_config.ibd, mysql.ibd,以及其他datadir目录的ibd文件
•数据库目录下的ibd,test库、employees、sakila等
•undo文件
3.复制innodb文件结束后,LOCK TABLES FOR BACKUP
•锁定非innodb表
4.拷贝非innodb文件
•拷贝mysql、p_s和其他库下的.frm,.MRG,.MYD,.MYI,.ARM,.ARZ,.CSM,.CSV,.sdi 和.par等类型的文件。
5. 获取LSN和binary log position
•此时文件备份结束,需要获取LSN和binlog位置
•LOCK BINLOG FOR BACKUP
•用于阻止所有可能更改binlog位置的操作
•然后完成复制REDO日志文件并获取binlog坐标
•从p_s.log_status中获取信息
•binlog记录到xtrabackup_binlog_info文件中
•LSN记录到xtrabackup_checkpoints
6.FLUSH NO_WRITE_TO_BINLOG ENGINE LOGS
•关闭并重新打开,已安装存储引擎的任何可刷新日志,不记录到binlog。
•这会导致InnoDB将其日志刷新到磁盘。
7.停止xtrabackup_log线程
8.解锁tables、binlog
9.备份其他信息
•Copying ib_buffer_pool
•Writing backup-my.cnf
•Writing xtrabackup_info
10.binlog位置将打印到STDERR,如果一切正常,xtrabackup将退出返回0。
- [mysql@ark ~]$ xtrabackup --user=root --password=mysql --socket=/mysqldb/db_ark/mysql.sock --backup --target-dir=/home/mysql/xtrabackup/full
xtrabackup: recognized client arguments: --user=root --password=* --socket=/mysqldb/db_ark/mysql.sock --backup=1 --target-dir=/home/mysql/xtrabackup/full
xtrabackup version 8.0.4 based on MySQL server 8.0.13 Linux (x86_64) (revision id: c2c0777)
190125 06:04:36 version_check Connecting to MySQL server with DSN 'dbi:mysql:;mysql_read_default_group=xtrabackup;mysql_socket=/mysqldb/db_ark/mysql.sock' as 'root' (using password: YES).
190125 06:04:36 version_check Connected to MySQL server
190125 06:04:36 version_check Executing a version check against the server...
190125 06:04:40 version_check Done.
190125 06:04:40 Connecting to MySQL server host: localhost, user: root, password: set, port: not set, socket: /mysqldb/db_ark/mysql.sock
Using server version 8.0.13-debug
xtrabackup: uses posix_fadvise().
xtrabackup: cd to /mysqldb/db_ark/data/
xtrabackup: open files limit requested 0, set to 65535
xtrabackup: using the following InnoDB configuration:
xtrabackup: innodb_data_home_dir = .
xtrabackup: innodb_data_file_path = ibdata1:12M:autoextend
xtrabackup: innodb_log_group_home_dir = ./
xtrabackup: innodb_log_files_in_group = 2
xtrabackup: innodb_log_file_size = 134217728
Number of pools: 1
190125 06:04:40 >> log scanned up to (801020069)
Opened 2 existing undo tablespaces.
xtrabackup: Generating a list of tablespaces
Allocated tablespace ID 1 for sys/sys_config, old maximum was 0
190125 06:04:40 [01] Copying ./ibdata1 to /home/mysql/xtrabackup/full/ibdata1
190125 06:04:40 [01] ...done
190125 06:04:40 [01] Copying ./sys/sys_config.ibd to /home/mysql/xtrabackup/full/sys/sys_config.ibd
190125 06:04:40 [01] ...done
190125 06:04:40 [01] Copying ./ts1.ibd to /home/mysql/xtrabackup/full/ts1.ibd
190125 06:04:40 [01] ...done
190125 06:04:40 [01] Copying ./mysql.ibd to /home/mysql/xtrabackup/full/mysql.ibd
190125 06:04:40 [01] ...done
190125 06:04:40 [01] Copying ./test/t1.ibd to /home/mysql/xtrabackup/full/test/t1.ibd
190125 06:04:40 [01] ...done
190125 06:04:40 [01] Copying ./test/t2.ibd to /home/mysql/xtrabackup/full/test/t2.ibd
190125 06:04:40 [01] ...done
190125 06:04:40 [01] Copying ./test/t3.ibd to /home/mysql/xtrabackup/full/test/t3.ibd
190125 06:04:40 [01] ...done
190125 06:04:40 [01] Copying ./test/userinfo.ibd to /home/mysql/xtrabackup/full/test/userinfo.ibd
190125 06:04:40 [01] ...done
190125 06:04:40 [01] Copying ./employees/employees.ibd to /home/mysql/xtrabackup/full/employees/employees.ibd
190125 06:04:40 [01] ...done
190125 06:04:40 [01] Copying ./employees/departments.ibd to /home/mysql/xtrabackup/full/employees/departments.ibd
190125 06:04:40 [01] ...done
190125 06:04:40 [01] Copying ./employees/dept_manager.ibd to /home/mysql/xtrabackup/full/employees/dept_manager.ibd
190125 06:04:40 [01] ...done
190125 06:04:40 [01] Copying ./employees/dept_emp.ibd to /home/mysql/xtrabackup/full/employees/dept_emp.ibd
190125 06:04:41 [01] ...done
190125 06:04:41 [01] Copying ./employees/titles.ibd to /home/mysql/xtrabackup/full/employees/titles.ibd
190125 06:04:41 [01] ...done
190125 06:04:41 [01] Copying ./employees/salaries.ibd to /home/mysql/xtrabackup/full/employees/salaries.ibd
190125 06:04:41 >> log scanned up to (801020069)
190125 06:04:41 [01] ...done
190125 06:04:41 [01] Copying ./db1/db1.ibd to /home/mysql/xtrabackup/full/db1/db1.ibd
190125 06:04:41 [01] ...done
190125 06:04:41 [01] Copying ./undo_002 to /home/mysql/xtrabackup/full/undo_002
190125 06:04:41 [01] ...done
190125 06:04:41 [01] Copying ./undo_001 to /home/mysql/xtrabackup/full/undo_001
190125 06:04:41 [01] ...done
190125 06:04:42 >> log scanned up to (801020069)
190125 06:04:42 Starting to backup non-InnoDB tables and files
190125 06:04:42 [01] Copying mysql/general_log_197.sdi to /home/mysql/xtrabackup/full/mysql/general_log_197.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying mysql/general_log.CSM to /home/mysql/xtrabackup/full/mysql/general_log.CSM
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying mysql/general_log.CSV to /home/mysql/xtrabackup/full/mysql/general_log.CSV
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying mysql/slow_log_198.sdi to /home/mysql/xtrabackup/full/mysql/slow_log_198.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying mysql/slow_log.CSM to /home/mysql/xtrabackup/full/mysql/slow_log.CSM
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying mysql/slow_log.CSV to /home/mysql/xtrabackup/full/mysql/slow_log.CSV
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/cond_instances_74.sdi to /home/mysql/xtrabackup/full/performance_schema/cond_instances_74.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_waits_cur_75.sdi to /home/mysql/xtrabackup/full/performance_schema/events_waits_cur_75.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_waits_his_76.sdi to /home/mysql/xtrabackup/full/performance_schema/events_waits_his_76.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_waits_his_77.sdi to /home/mysql/xtrabackup/full/performance_schema/events_waits_his_77.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_waits_sum_78.sdi to /home/mysql/xtrabackup/full/performance_schema/events_waits_sum_78.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_waits_sum_79.sdi to /home/mysql/xtrabackup/full/performance_schema/events_waits_sum_79.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_waits_sum_80.sdi to /home/mysql/xtrabackup/full/performance_schema/events_waits_sum_80.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_waits_sum_81.sdi to /home/mysql/xtrabackup/full/performance_schema/events_waits_sum_81.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_waits_sum_82.sdi to /home/mysql/xtrabackup/full/performance_schema/events_waits_sum_82.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_waits_sum_83.sdi to /home/mysql/xtrabackup/full/performance_schema/events_waits_sum_83.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/file_instances_84.sdi to /home/mysql/xtrabackup/full/performance_schema/file_instances_84.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/file_summary_by__85.sdi to /home/mysql/xtrabackup/full/performance_schema/file_summary_by__85.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/file_summary_by__86.sdi to /home/mysql/xtrabackup/full/performance_schema/file_summary_by__86.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/host_cache_87.sdi to /home/mysql/xtrabackup/full/performance_schema/host_cache_87.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/mutex_instances_88.sdi to /home/mysql/xtrabackup/full/performance_schema/mutex_instances_88.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/objects_summary__89.sdi to /home/mysql/xtrabackup/full/performance_schema/objects_summary__89.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/performance_time_90.sdi to /home/mysql/xtrabackup/full/performance_schema/performance_time_90.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/rwlock_instances_91.sdi to /home/mysql/xtrabackup/full/performance_schema/rwlock_instances_91.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/setup_actors_92.sdi to /home/mysql/xtrabackup/full/performance_schema/setup_actors_92.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/setup_consumers_93.sdi to /home/mysql/xtrabackup/full/performance_schema/setup_consumers_93.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/setup_instrument_94.sdi to /home/mysql/xtrabackup/full/performance_schema/setup_instrument_94.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/setup_objects_95.sdi to /home/mysql/xtrabackup/full/performance_schema/setup_objects_95.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/setup_threads_96.sdi to /home/mysql/xtrabackup/full/performance_schema/setup_threads_96.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/table_io_waits_s_97.sdi to /home/mysql/xtrabackup/full/performance_schema/table_io_waits_s_97.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/table_io_waits_s_98.sdi to /home/mysql/xtrabackup/full/performance_schema/table_io_waits_s_98.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/table_lock_waits_99.sdi to /home/mysql/xtrabackup/full/performance_schema/table_lock_waits_99.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/threads_100.sdi to /home/mysql/xtrabackup/full/performance_schema/threads_100.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_stages_cu_101.sdi to /home/mysql/xtrabackup/full/performance_schema/events_stages_cu_101.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_stages_hi_102.sdi to /home/mysql/xtrabackup/full/performance_schema/events_stages_hi_102.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_stages_hi_103.sdi to /home/mysql/xtrabackup/full/performance_schema/events_stages_hi_103.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_stages_su_104.sdi to /home/mysql/xtrabackup/full/performance_schema/events_stages_su_104.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_stages_su_105.sdi to /home/mysql/xtrabackup/full/performance_schema/events_stages_su_105.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_stages_su_106.sdi to /home/mysql/xtrabackup/full/performance_schema/events_stages_su_106.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_stages_su_107.sdi to /home/mysql/xtrabackup/full/performance_schema/events_stages_su_107.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_stages_su_108.sdi to /home/mysql/xtrabackup/full/performance_schema/events_stages_su_108.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_statement_109.sdi to /home/mysql/xtrabackup/full/performance_schema/events_statement_109.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_statement_110.sdi to /home/mysql/xtrabackup/full/performance_schema/events_statement_110.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_statement_111.sdi to /home/mysql/xtrabackup/full/performance_schema/events_statement_111.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_statement_112.sdi to /home/mysql/xtrabackup/full/performance_schema/events_statement_112.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_statement_113.sdi to /home/mysql/xtrabackup/full/performance_schema/events_statement_113.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_statement_114.sdi to /home/mysql/xtrabackup/full/performance_schema/events_statement_114.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_statement_115.sdi to /home/mysql/xtrabackup/full/performance_schema/events_statement_115.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_statement_116.sdi to /home/mysql/xtrabackup/full/performance_schema/events_statement_116.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_statement_117.sdi to /home/mysql/xtrabackup/full/performance_schema/events_statement_117.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_statement_118.sdi to /home/mysql/xtrabackup/full/performance_schema/events_statement_118.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_statement_119.sdi to /home/mysql/xtrabackup/full/performance_schema/events_statement_119.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_statement_120.sdi to /home/mysql/xtrabackup/full/performance_schema/events_statement_120.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_transacti_121.sdi to /home/mysql/xtrabackup/full/performance_schema/events_transacti_121.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_transacti_122.sdi to /home/mysql/xtrabackup/full/performance_schema/events_transacti_122.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_transacti_123.sdi to /home/mysql/xtrabackup/full/performance_schema/events_transacti_123.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_transacti_124.sdi to /home/mysql/xtrabackup/full/performance_schema/events_transacti_124.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_transacti_125.sdi to /home/mysql/xtrabackup/full/performance_schema/events_transacti_125.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_transacti_126.sdi to /home/mysql/xtrabackup/full/performance_schema/events_transacti_126.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_transacti_127.sdi to /home/mysql/xtrabackup/full/performance_schema/events_transacti_127.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_transacti_128.sdi to /home/mysql/xtrabackup/full/performance_schema/events_transacti_128.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_errors_su_129.sdi to /home/mysql/xtrabackup/full/performance_schema/events_errors_su_129.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_errors_su_130.sdi to /home/mysql/xtrabackup/full/performance_schema/events_errors_su_130.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_errors_su_131.sdi to /home/mysql/xtrabackup/full/performance_schema/events_errors_su_131.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_errors_su_132.sdi to /home/mysql/xtrabackup/full/performance_schema/events_errors_su_132.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/events_errors_su_133.sdi to /home/mysql/xtrabackup/full/performance_schema/events_errors_su_133.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/users_134.sdi to /home/mysql/xtrabackup/full/performance_schema/users_134.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/accounts_135.sdi to /home/mysql/xtrabackup/full/performance_schema/accounts_135.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/hosts_136.sdi to /home/mysql/xtrabackup/full/performance_schema/hosts_136.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/socket_instances_137.sdi to /home/mysql/xtrabackup/full/performance_schema/socket_instances_137.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/socket_summary_b_138.sdi to /home/mysql/xtrabackup/full/performance_schema/socket_summary_b_138.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/socket_summary_b_139.sdi to /home/mysql/xtrabackup/full/performance_schema/socket_summary_b_139.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/session_connect__140.sdi to /home/mysql/xtrabackup/full/performance_schema/session_connect__140.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/session_account__141.sdi to /home/mysql/xtrabackup/full/performance_schema/session_account__141.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/memory_summary_g_142.sdi to /home/mysql/xtrabackup/full/performance_schema/memory_summary_g_142.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/memory_summary_b_143.sdi to /home/mysql/xtrabackup/full/performance_schema/memory_summary_b_143.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/memory_summary_b_144.sdi to /home/mysql/xtrabackup/full/performance_schema/memory_summary_b_144.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/memory_summary_b_145.sdi to /home/mysql/xtrabackup/full/performance_schema/memory_summary_b_145.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/memory_summary_b_146.sdi to /home/mysql/xtrabackup/full/performance_schema/memory_summary_b_146.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/table_handles_147.sdi to /home/mysql/xtrabackup/full/performance_schema/table_handles_147.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/metadata_locks_148.sdi to /home/mysql/xtrabackup/full/performance_schema/metadata_locks_148.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/data_locks_149.sdi to /home/mysql/xtrabackup/full/performance_schema/data_locks_149.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/data_lock_waits_150.sdi to /home/mysql/xtrabackup/full/performance_schema/data_lock_waits_150.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/replication_conn_151.sdi to /home/mysql/xtrabackup/full/performance_schema/replication_conn_151.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/replication_grou_152.sdi to /home/mysql/xtrabackup/full/performance_schema/replication_grou_152.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/replication_conn_153.sdi to /home/mysql/xtrabackup/full/performance_schema/replication_conn_153.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/replication_appl_154.sdi to /home/mysql/xtrabackup/full/performance_schema/replication_appl_154.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/replication_appl_155.sdi to /home/mysql/xtrabackup/full/performance_schema/replication_appl_155.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/replication_appl_156.sdi to /home/mysql/xtrabackup/full/performance_schema/replication_appl_156.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/replication_appl_157.sdi to /home/mysql/xtrabackup/full/performance_schema/replication_appl_157.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/replication_grou_158.sdi to /home/mysql/xtrabackup/full/performance_schema/replication_grou_158.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/replication_appl_159.sdi to /home/mysql/xtrabackup/full/performance_schema/replication_appl_159.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/replication_appl_160.sdi to /home/mysql/xtrabackup/full/performance_schema/replication_appl_160.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/log_status_161.sdi to /home/mysql/xtrabackup/full/performance_schema/log_status_161.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/prepared_stateme_162.sdi to /home/mysql/xtrabackup/full/performance_schema/prepared_stateme_162.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/user_variables_b_163.sdi to /home/mysql/xtrabackup/full/performance_schema/user_variables_b_163.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/status_by_accoun_164.sdi to /home/mysql/xtrabackup/full/performance_schema/status_by_accoun_164.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/status_by_host_165.sdi to /home/mysql/xtrabackup/full/performance_schema/status_by_host_165.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/status_by_thread_166.sdi to /home/mysql/xtrabackup/full/performance_schema/status_by_thread_166.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/status_by_user_167.sdi to /home/mysql/xtrabackup/full/performance_schema/status_by_user_167.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/global_status_168.sdi to /home/mysql/xtrabackup/full/performance_schema/global_status_168.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/session_status_169.sdi to /home/mysql/xtrabackup/full/performance_schema/session_status_169.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/variables_by_thr_170.sdi to /home/mysql/xtrabackup/full/performance_schema/variables_by_thr_170.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/global_variables_171.sdi to /home/mysql/xtrabackup/full/performance_schema/global_variables_171.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/session_variable_172.sdi to /home/mysql/xtrabackup/full/performance_schema/session_variable_172.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/variables_info_173.sdi to /home/mysql/xtrabackup/full/performance_schema/variables_info_173.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/persisted_variab_174.sdi to /home/mysql/xtrabackup/full/performance_schema/persisted_variab_174.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [01] Copying performance_schema/user_defined_fun_175.sdi to /home/mysql/xtrabackup/full/performance_schema/user_defined_fun_175.sdi
190125 06:04:42 [01] ...done
190125 06:04:42 [00] Writing /home/mysql/xtrabackup/full/abc//db.opt
190125 06:04:42 [00] ...done
190125 06:04:42 [00] Writing /home/mysql/xtrabackup/full/arkcontrol//db.opt
190125 06:04:42 [00] ...done
190125 06:04:42 [00] Writing /home/mysql/xtrabackup/full/db2//db.opt
190125 06:04:42 [00] ...done
190125 06:04:42 [00] Writing /home/mysql/xtrabackup/full/db3//db.opt
190125 06:04:42 [00] ...done
190125 06:04:42 [00] Writing /home/mysql/xtrabackup/full/db4//db.opt
190125 06:04:42 [00] ...done
190125 06:04:42 Finished backing up non-InnoDB tables and files
190125 06:04:42 Selecting LSN and binary log position from p_s.log_status
190125 06:04:42 [00] Writing /home/mysql/xtrabackup/full/xtrabackup_binlog_info
190125 06:04:42 [00] ...done
190125 06:04:42 Executing FLUSH NO_WRITE_TO_BINLOG ENGINE LOGS...
xtrabackup: The latest check point (for incremental): '801020069'
xtrabackup: Stopping log copying thread at LSN 801020069.
.190125 06:04:42 >> log scanned up to (801020069)
190125 06:04:42 >> log scanned up to (801020069)
190125 06:04:43 [00] Copying ib_buffer_pool to /home/mysql/xtrabackup/full/ib_buffer_pool
190125 06:04:43 [00] ...done
190125 06:04:43 Backup created in directory '/home/mysql/xtrabackup/full/'
MySQL binlog position: filename 'binlog.000009', position '195', GTID of the last change 'c04f9267-ddc0-11e8-8f28-000c299deb99:1-386'
190125 06:04:43 [00] Writing /home/mysql/xtrabackup/full/backup-my.cnf
190125 06:04:43 [00] ...done
190125 06:04:43 [00] Writing /home/mysql/xtrabackup/full/xtrabackup_info
190125 06:04:43 [00] ...done
xtrabackup: Transaction log of lsn (801020069) to (801020069) was copied.
190125 06:04:43 completed OK!
[mysql@ark ~]$