备份命令:
[root@dbs-test-rob bin]# ./xtrabackup --defaults-file=/etc/my.cnf --backup -uxxx -pxxx -S/var/lib/mysql/mysql.sock --slave-info --target-dir=/tmp/robertbackup
xtrabackup: recognized server arguments: --datadir=/var/lib/mysql --log_bin=mysql-bin --server-id=111111
xtrabackup: recognized client arguments: --backup=1 --user=root --password=* --socket=/var/lib/mysql/mysql.sock --slave-info=1 --target-dir=/tmp/robertbackup
Can't locate Data/Dumper.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at - line 688.
BEGIN failed--compilation aborted at - line 688.
240206 14:22:30 Connecting to MySQL server host: localhost, user: root, password: set, port: not set, socket: /var/lib/mysql/mysql.sock
Using server version 5.7.34-log
./xtrabackup version 2.4.21 based on MySQL server 5.7.32 Linux (x86_64) (revision id: 5988af5)
xtrabackup: uses posix_fadvise().
xtrabackup: cd to /var/lib/mysql
xtrabackup: open files limit requested 0, set to 1024
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 = 50331648
InnoDB: Number of pools: 1
240206 14:22:30 >> log scanned up to (4011451516)
xtrabackup: Generating a list of tablespaces
InnoDB: Allocated tablespace ID 2 for mysql/plugin, old maximum was 0
240206 14:22:30 [01] Copying ./ibdata1 to /tmp/robertbackup/ibdata1
240206 14:22:31 >> log scanned up to (4011451516)
240206 14:22:32 >> log scanned up to (4011451516)
240206 14:22:33 >> log scanned up to (4011451516)
240206 14:22:34 >> log scanned up to (4011451516)
240206 14:22:35 >> log scanned up to (4011451516)
240206 14:22:36 >> log scanned up to (4011451516)
240206 14:22:37 >> log scanned up to (4011451516)
240206 14:22:37 [01] ...done
240206 14:22:37 [01] Copying ./mysql/plugin.ibd to /tmp/robertbackup/mysql/plugin.ibd
240206 14:22:37 [01] ...done
240206 14:22:37 [01] Copying ./mysql/servers.ibd to /tmp/robertbackup/mysql/servers.ibd
240206 14:22:37 [01] ...done
240206 14:22:37 [01] Copying ./mysql/help_topic.ibd to /tmp/robertbackup/mysql/help_topic.ibd
240206 14:22:37 [01] ...done
240206 14:22:37 [01] Copying ./mysql/help_category.ibd to /tmp/robertbackup/mysql/help_category.ibd
240206 14:22:37 [01] ...done
240206 14:22:37 [01] Copying ./mysql/help_relation.ibd to /tmp/robertbackup/mysql/help_relation.ibd
240206 14:22:37 [01] ...done
240206 14:22:37 [01] Copying ./mysql/help_keyword.ibd to /tmp/robertbackup/mysql/help_keyword.ibd
240206 14:22:37 [01] ...done
240206 14:22:37 [01] Copying ./mysql/time_zone_name.ibd to /tmp/robertbackup/mysql/time_zone_name.ibd
240206 14:22:37 [01] ...done
240206 14:22:37 [01] Copying ./mysql/time_zone.ibd to /tmp/robertbackup/mysql/time_zone.ibd
240206 14:22:37 [01] ...done
240206 14:22:38 [01] Copying ./mysql/time_zone_transition.ibd to /tmp/robertbackup/mysql/time_zone_transition.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./mysql/time_zone_transition_type.ibd to /tmp/robertbackup/mysql/time_zone_transition_type.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./mysql/time_zone_leap_second.ibd to /tmp/robertbackup/mysql/time_zone_leap_second.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./mysql/innodb_table_stats.ibd to /tmp/robertbackup/mysql/innodb_table_stats.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./mysql/innodb_index_stats.ibd to /tmp/robertbackup/mysql/innodb_index_stats.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./mysql/slave_relay_log_info.ibd to /tmp/robertbackup/mysql/slave_relay_log_info.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./mysql/slave_master_info.ibd to /tmp/robertbackup/mysql/slave_master_info.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./mysql/slave_worker_info.ibd to /tmp/robertbackup/mysql/slave_worker_info.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./mysql/gtid_executed.ibd to /tmp/robertbackup/mysql/gtid_executed.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./mysql/server_cost.ibd to /tmp/robertbackup/mysql/server_cost.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./mysql/engine_cost.ibd to /tmp/robertbackup/mysql/engine_cost.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./sys/sys_config.ibd to /tmp/robertbackup/sys/sys_config.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./dbs/task.ibd to /tmp/robertbackup/dbs/task.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./dbs/ds_attr_mysql.ibd to /tmp/robertbackup/dbs/ds_attr_mysql.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./dbs/data_source.ibd to /tmp/robertbackup/dbs/data_source.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./dbs/mysqldump_attr.ibd to /tmp/robertbackup/dbs/mysqldump_attr.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./dbs/xtrabackup_attr.ibd to /tmp/robertbackup/dbs/xtrabackup_attr.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./dbs/precheck_plan.ibd to /tmp/robertbackup/dbs/precheck_plan.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./dbs/bk_file_attr_binlog.ibd to /tmp/robertbackup/dbs/bk_file_attr_binlog.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./dbs/restore.ibd to /tmp/robertbackup/dbs/restore.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./dbs/backup_file.ibd to /tmp/robertbackup/dbs/backup_file.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./dbs/agent.ibd to /tmp/robertbackup/dbs/agent.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./dbs/backup_plan.ibd to /tmp/robertbackup/dbs/backup_plan.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./dbs/statistic_traffic.ibd to /tmp/robertbackup/dbs/statistic_traffic.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./robdb/teacher.ibd to /tmp/robertbackup/robdb/teacher.ibd
240206 14:22:38 [01] ...done
240206 14:22:38 [01] Copying ./robdb/big_mock.ibd to /tmp/robertbackup/robdb/big_mock.ibd
240206 14:22:38 >> log scanned up to (4011451516)
240206 14:22:39 >> log scanned up to (4011451516)
240206 14:22:40 >> log scanned up to (4011451516)
240206 14:22:41 >> log scanned up to (4011451516)
240206 14:22:42 >> log scanned up to (4011451516)
240206 14:22:43 >> log scanned up to (4011451516)
240206 14:22:44 >> log scanned up to (4011451516)
240206 14:22:45 >> log scanned up to (4011451516)
240206 14:22:46 >> log scanned up to (4011451516)
240206 14:22:47 >> log scanned up to (4011451516)
240206 14:22:48 >> log scanned up to (4011451516)
240206 14:22:49 >> log scanned up to (4011451516)
240206 14:22:50 >> log scanned up to (4011451516)
240206 14:22:51 >> log scanned up to (4011451516)
240206 14:22:52 >> log scanned up to (4011451516)
240206 14:22:53 >> log scanned up to (4011451516)
240206 14:22:54 >> log scanned up to (4011451516)
240206 14:22:55 >> log scanned up to (4011451516)
240206 14:22:56 >> log scanned up to (4011451516)
240206 14:22:57 >> log scanned up to (4011451516)
240206 14:22:58 >> log scanned up to (4011451516)
240206 14:22:59 >> log scanned up to (4011451516)
240206 14:23:00 >> log scanned up to (4011451516)
240206 14:23:01 >> log scanned up to (4011451516)
240206 14:23:02 >> log scanned up to (4011451516)
240206 14:23:03 >> log scanned up to (4011451516)
240206 14:23:04 >> log scanned up to (4011451516)
240206 14:23:05 >> log scanned up to (4011451516)
240206 14:23:06 >> log scanned up to (4011451516)
240206 14:23:07 >> log scanned up to (4011451516)
240206 14:23:08 >> log scanned up to (4011451516)
240206 14:23:09 >> log scanned up to (4011451516)
240206 14:23:10 >> log scanned up to (4011451516)
240206 14:23:11 >> log scanned up to (4011451516)
240206 14:23:12 >> log scanned up to (4011451516)
240206 14:23:13 >> log scanned up to (4011451516)
240206 14:23:14 >> log scanned up to (4011451516)
240206 14:23:15 >> log scanned up to (4011451516)
240206 14:23:16 >> log scanned up to (4011451516)
240206 14:23:17 >> log scanned up to (4011451516)
240206 14:23:18 >> log scanned up to (4011451516)
240206 14:23:19 >> log scanned up to (4011451516)
240206 14:23:20 >> log scanned up to (4011451516)
240206 14:23:21 >> log scanned up to (4011451516)
240206 14:23:22 >> log scanned up to (4011451516)
240206 14:23:23 >> log scanned up to (4011451516)
240206 14:23:24 >> log scanned up to (4011451516)
240206 14:23:25 >> log scanned up to (4011451516)
240206 14:23:26 >> log scanned up to (4011451516)
240206 14:23:27 >> log scanned up to (4011451516)
240206 14:23:28 >> log scanned up to (4011451516)
240206 14:23:29 >> log scanned up to (4011451516)
240206 14:23:30 >> log scanned up to (4011451516)
240206 14:23:31 >> log scanned up to (4011451516)
240206 14:23:32 >> log scanned up to (4011451516)
240206 14:23:33 >> log scanned up to (4011451516)
240206 14:23:34 >> log scanned up to (4011451516)
240206 14:23:34 [01] ...done
240206 14:23:35 [01] Copying ./robdb/my_db.ibd to /tmp/robertbackup/robdb/my_db.ibd
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./robdb/persons.ibd to /tmp/robertbackup/robdb/persons.ibd
240206 14:23:35 [01] ...done
240206 14:23:35 >> log scanned up to (4011451516)
240206 14:23:35 Executing FLUSH NO_WRITE_TO_BINLOG TABLES...
240206 14:23:35 Executing FLUSH TABLES WITH READ LOCK...
240206 14:23:35 Starting to backup non-InnoDB tables and files
240206 14:23:35 [01] Copying ./mysql/db.opt to /tmp/robertbackup/mysql/db.opt
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/db.frm to /tmp/robertbackup/mysql/db.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/db.MYI to /tmp/robertbackup/mysql/db.MYI
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/db.MYD to /tmp/robertbackup/mysql/db.MYD
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/user.frm to /tmp/robertbackup/mysql/user.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/user.MYI to /tmp/robertbackup/mysql/user.MYI
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/user.MYD to /tmp/robertbackup/mysql/user.MYD
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/func.frm to /tmp/robertbackup/mysql/func.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/func.MYI to /tmp/robertbackup/mysql/func.MYI
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/func.MYD to /tmp/robertbackup/mysql/func.MYD
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/plugin.frm to /tmp/robertbackup/mysql/plugin.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/servers.frm to /tmp/robertbackup/mysql/servers.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/tables_priv.frm to /tmp/robertbackup/mysql/tables_priv.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/tables_priv.MYI to /tmp/robertbackup/mysql/tables_priv.MYI
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/tables_priv.MYD to /tmp/robertbackup/mysql/tables_priv.MYD
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/columns_priv.frm to /tmp/robertbackup/mysql/columns_priv.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/columns_priv.MYI to /tmp/robertbackup/mysql/columns_priv.MYI
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/columns_priv.MYD to /tmp/robertbackup/mysql/columns_priv.MYD
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/help_topic.frm to /tmp/robertbackup/mysql/help_topic.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/help_category.frm to /tmp/robertbackup/mysql/help_category.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/help_relation.frm to /tmp/robertbackup/mysql/help_relation.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/help_keyword.frm to /tmp/robertbackup/mysql/help_keyword.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/time_zone_name.frm to /tmp/robertbackup/mysql/time_zone_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/time_zone.frm to /tmp/robertbackup/mysql/time_zone.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/time_zone_transition.frm to /tmp/robertbackup/mysql/time_zone_transition.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/time_zone_transition_type.frm to /tmp/robertbackup/mysql/time_zone_transition_type.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/time_zone_leap_second.frm to /tmp/robertbackup/mysql/time_zone_leap_second.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/proc.frm to /tmp/robertbackup/mysql/proc.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/proc.MYI to /tmp/robertbackup/mysql/proc.MYI
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/proc.MYD to /tmp/robertbackup/mysql/proc.MYD
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/procs_priv.frm to /tmp/robertbackup/mysql/procs_priv.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/procs_priv.MYI to /tmp/robertbackup/mysql/procs_priv.MYI
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/procs_priv.MYD to /tmp/robertbackup/mysql/procs_priv.MYD
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/general_log.frm to /tmp/robertbackup/mysql/general_log.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/general_log.CSM to /tmp/robertbackup/mysql/general_log.CSM
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/general_log.CSV to /tmp/robertbackup/mysql/general_log.CSV
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/slow_log.frm to /tmp/robertbackup/mysql/slow_log.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/slow_log.CSM to /tmp/robertbackup/mysql/slow_log.CSM
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/slow_log.CSV to /tmp/robertbackup/mysql/slow_log.CSV
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/event.frm to /tmp/robertbackup/mysql/event.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/event.MYI to /tmp/robertbackup/mysql/event.MYI
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/event.MYD to /tmp/robertbackup/mysql/event.MYD
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/ndb_binlog_index.frm to /tmp/robertbackup/mysql/ndb_binlog_index.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/ndb_binlog_index.MYI to /tmp/robertbackup/mysql/ndb_binlog_index.MYI
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/ndb_binlog_index.MYD to /tmp/robertbackup/mysql/ndb_binlog_index.MYD
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/innodb_table_stats.frm to /tmp/robertbackup/mysql/innodb_table_stats.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/innodb_index_stats.frm to /tmp/robertbackup/mysql/innodb_index_stats.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/slave_relay_log_info.frm to /tmp/robertbackup/mysql/slave_relay_log_info.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/slave_master_info.frm to /tmp/robertbackup/mysql/slave_master_info.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/slave_worker_info.frm to /tmp/robertbackup/mysql/slave_worker_info.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/gtid_executed.frm to /tmp/robertbackup/mysql/gtid_executed.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/server_cost.frm to /tmp/robertbackup/mysql/server_cost.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/engine_cost.frm to /tmp/robertbackup/mysql/engine_cost.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/proxies_priv.frm to /tmp/robertbackup/mysql/proxies_priv.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/proxies_priv.MYI to /tmp/robertbackup/mysql/proxies_priv.MYI
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./mysql/proxies_priv.MYD to /tmp/robertbackup/mysql/proxies_priv.MYD
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/db.opt to /tmp/robertbackup/performance_schema/db.opt
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/cond_instances.frm to /tmp/robertbackup/performance_schema/cond_instances.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_waits_current.frm to /tmp/robertbackup/performance_schema/events_waits_current.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_waits_history.frm to /tmp/robertbackup/performance_schema/events_waits_history.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_waits_history_long.frm to /tmp/robertbackup/performance_schema/events_waits_history_long.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_waits_summary_by_instance.frm to /tmp/robertbackup/performance_schema/events_waits_summary_by_instance.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_waits_summary_by_host_by_event_name.frm to /tmp/robertbackup/performance_schema/events_waits_summary_by_host_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_waits_summary_by_user_by_event_name.frm to /tmp/robertbackup/performance_schema/events_waits_summary_by_user_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_waits_summary_by_account_by_event_name.frm to /tmp/robertbackup/performance_schema/events_waits_summary_by_account_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_waits_summary_by_thread_by_event_name.frm to /tmp/robertbackup/performance_schema/events_waits_summary_by_thread_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_waits_summary_global_by_event_name.frm to /tmp/robertbackup/performance_schema/events_waits_summary_global_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/file_instances.frm to /tmp/robertbackup/performance_schema/file_instances.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/file_summary_by_event_name.frm to /tmp/robertbackup/performance_schema/file_summary_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/file_summary_by_instance.frm to /tmp/robertbackup/performance_schema/file_summary_by_instance.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/socket_instances.frm to /tmp/robertbackup/performance_schema/socket_instances.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/socket_summary_by_instance.frm to /tmp/robertbackup/performance_schema/socket_summary_by_instance.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/socket_summary_by_event_name.frm to /tmp/robertbackup/performance_schema/socket_summary_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/host_cache.frm to /tmp/robertbackup/performance_schema/host_cache.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/mutex_instances.frm to /tmp/robertbackup/performance_schema/mutex_instances.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/objects_summary_global_by_type.frm to /tmp/robertbackup/performance_schema/objects_summary_global_by_type.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/performance_timers.frm to /tmp/robertbackup/performance_schema/performance_timers.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/rwlock_instances.frm to /tmp/robertbackup/performance_schema/rwlock_instances.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/setup_actors.frm to /tmp/robertbackup/performance_schema/setup_actors.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/setup_consumers.frm to /tmp/robertbackup/performance_schema/setup_consumers.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/setup_instruments.frm to /tmp/robertbackup/performance_schema/setup_instruments.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/setup_objects.frm to /tmp/robertbackup/performance_schema/setup_objects.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/setup_timers.frm to /tmp/robertbackup/performance_schema/setup_timers.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/table_io_waits_summary_by_index_usage.frm to /tmp/robertbackup/performance_schema/table_io_waits_summary_by_index_usage.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/table_io_waits_summary_by_table.frm to /tmp/robertbackup/performance_schema/table_io_waits_summary_by_table.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/table_lock_waits_summary_by_table.frm to /tmp/robertbackup/performance_schema/table_lock_waits_summary_by_table.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/threads.frm to /tmp/robertbackup/performance_schema/threads.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_stages_current.frm to /tmp/robertbackup/performance_schema/events_stages_current.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_stages_history.frm to /tmp/robertbackup/performance_schema/events_stages_history.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_stages_history_long.frm to /tmp/robertbackup/performance_schema/events_stages_history_long.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_stages_summary_by_thread_by_event_name.frm to /tmp/robertbackup/performance_schema/events_stages_summary_by_thread_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_stages_summary_by_host_by_event_name.frm to /tmp/robertbackup/performance_schema/events_stages_summary_by_host_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_stages_summary_by_user_by_event_name.frm to /tmp/robertbackup/performance_schema/events_stages_summary_by_user_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_stages_summary_by_account_by_event_name.frm to /tmp/robertbackup/performance_schema/events_stages_summary_by_account_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_stages_summary_global_by_event_name.frm to /tmp/robertbackup/performance_schema/events_stages_summary_global_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_statements_current.frm to /tmp/robertbackup/performance_schema/events_statements_current.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_statements_history.frm to /tmp/robertbackup/performance_schema/events_statements_history.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_statements_history_long.frm to /tmp/robertbackup/performance_schema/events_statements_history_long.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_statements_summary_by_thread_by_event_name.frm to /tmp/robertbackup/performance_schema/events_statements_summary_by_thread_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_statements_summary_by_host_by_event_name.frm to /tmp/robertbackup/performance_schema/events_statements_summary_by_host_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_statements_summary_by_user_by_event_name.frm to /tmp/robertbackup/performance_schema/events_statements_summary_by_user_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_statements_summary_by_account_by_event_name.frm to /tmp/robertbackup/performance_schema/events_statements_summary_by_account_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_statements_summary_global_by_event_name.frm to /tmp/robertbackup/performance_schema/events_statements_summary_global_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_transactions_current.frm to /tmp/robertbackup/performance_schema/events_transactions_current.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_transactions_history.frm to /tmp/robertbackup/performance_schema/events_transactions_history.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_transactions_history_long.frm to /tmp/robertbackup/performance_schema/events_transactions_history_long.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_transactions_summary_by_thread_by_event_name.frm to /tmp/robertbackup/performance_schema/events_transactions_summary_by_thread_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_transactions_summary_by_host_by_event_name.frm to /tmp/robertbackup/performance_schema/events_transactions_summary_by_host_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_transactions_summary_by_user_by_event_name.frm to /tmp/robertbackup/performance_schema/events_transactions_summary_by_user_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_transactions_summary_by_account_by_event_name.frm to /tmp/robertbackup/performance_schema/events_transactions_summary_by_account_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_transactions_summary_global_by_event_name.frm to /tmp/robertbackup/performance_schema/events_transactions_summary_global_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/hosts.frm to /tmp/robertbackup/performance_schema/hosts.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/users.frm to /tmp/robertbackup/performance_schema/users.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/accounts.frm to /tmp/robertbackup/performance_schema/accounts.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/memory_summary_global_by_event_name.frm to /tmp/robertbackup/performance_schema/memory_summary_global_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/memory_summary_by_thread_by_event_name.frm to /tmp/robertbackup/performance_schema/memory_summary_by_thread_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/memory_summary_by_account_by_event_name.frm to /tmp/robertbackup/performance_schema/memory_summary_by_account_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/memory_summary_by_host_by_event_name.frm to /tmp/robertbackup/performance_schema/memory_summary_by_host_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/memory_summary_by_user_by_event_name.frm to /tmp/robertbackup/performance_schema/memory_summary_by_user_by_event_name.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_statements_summary_by_digest.frm to /tmp/robertbackup/performance_schema/events_statements_summary_by_digest.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/events_statements_summary_by_program.frm to /tmp/robertbackup/performance_schema/events_statements_summary_by_program.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/prepared_statements_instances.frm to /tmp/robertbackup/performance_schema/prepared_statements_instances.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/replication_connection_configuration.frm to /tmp/robertbackup/performance_schema/replication_connection_configuration.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/replication_group_member_stats.frm to /tmp/robertbackup/performance_schema/replication_group_member_stats.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/replication_group_members.frm to /tmp/robertbackup/performance_schema/replication_group_members.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/replication_connection_status.frm to /tmp/robertbackup/performance_schema/replication_connection_status.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/replication_applier_configuration.frm to /tmp/robertbackup/performance_schema/replication_applier_configuration.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/replication_applier_status.frm to /tmp/robertbackup/performance_schema/replication_applier_status.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/replication_applier_status_by_coordinator.frm to /tmp/robertbackup/performance_schema/replication_applier_status_by_coordinator.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/replication_applier_status_by_worker.frm to /tmp/robertbackup/performance_schema/replication_applier_status_by_worker.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/session_connect_attrs.frm to /tmp/robertbackup/performance_schema/session_connect_attrs.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/session_account_connect_attrs.frm to /tmp/robertbackup/performance_schema/session_account_connect_attrs.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/table_handles.frm to /tmp/robertbackup/performance_schema/table_handles.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/metadata_locks.frm to /tmp/robertbackup/performance_schema/metadata_locks.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/user_variables_by_thread.frm to /tmp/robertbackup/performance_schema/user_variables_by_thread.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/variables_by_thread.frm to /tmp/robertbackup/performance_schema/variables_by_thread.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/global_variables.frm to /tmp/robertbackup/performance_schema/global_variables.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/session_variables.frm to /tmp/robertbackup/performance_schema/session_variables.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/status_by_thread.frm to /tmp/robertbackup/performance_schema/status_by_thread.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/status_by_user.frm to /tmp/robertbackup/performance_schema/status_by_user.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/status_by_host.frm to /tmp/robertbackup/performance_schema/status_by_host.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/status_by_account.frm to /tmp/robertbackup/performance_schema/status_by_account.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/global_status.frm to /tmp/robertbackup/performance_schema/global_status.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./performance_schema/session_status.frm to /tmp/robertbackup/performance_schema/session_status.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/db.opt to /tmp/robertbackup/sys/db.opt
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/version.frm to /tmp/robertbackup/sys/version.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/sys_config.frm to /tmp/robertbackup/sys/sys_config.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/statements_with_full_table_scans.frm to /tmp/robertbackup/sys/statements_with_full_table_scans.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/sys_config_insert_set_user.TRN to /tmp/robertbackup/sys/sys_config_insert_set_user.TRN
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/processlist.frm to /tmp/robertbackup/sys/processlist.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/sys_config.TRG to /tmp/robertbackup/sys/sys_config.TRG
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/statements_with_sorting.frm to /tmp/robertbackup/sys/statements_with_sorting.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/sys_config_update_set_user.TRN to /tmp/robertbackup/sys/sys_config_update_set_user.TRN
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024statements_with_sorting.frm to /tmp/robertbackup/sys/x@0024statements_with_sorting.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/innodb_buffer_stats_by_schema.frm to /tmp/robertbackup/sys/innodb_buffer_stats_by_schema.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/schema_index_statistics.frm to /tmp/robertbackup/sys/schema_index_statistics.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024innodb_buffer_stats_by_schema.frm to /tmp/robertbackup/sys/x@0024innodb_buffer_stats_by_schema.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/statements_with_temp_tables.frm to /tmp/robertbackup/sys/statements_with_temp_tables.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/innodb_buffer_stats_by_table.frm to /tmp/robertbackup/sys/innodb_buffer_stats_by_table.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024ps_schema_table_statistics_io.frm to /tmp/robertbackup/sys/x@0024ps_schema_table_statistics_io.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024innodb_buffer_stats_by_table.frm to /tmp/robertbackup/sys/x@0024innodb_buffer_stats_by_table.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/host_summary.frm to /tmp/robertbackup/sys/host_summary.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/innodb_lock_waits.frm to /tmp/robertbackup/sys/innodb_lock_waits.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024host_summary.frm to /tmp/robertbackup/sys/x@0024host_summary.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024innodb_lock_waits.frm to /tmp/robertbackup/sys/x@0024innodb_lock_waits.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/waits_by_user_by_latency.frm to /tmp/robertbackup/sys/waits_by_user_by_latency.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/schema_object_overview.frm to /tmp/robertbackup/sys/schema_object_overview.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/user_summary_by_file_io_type.frm to /tmp/robertbackup/sys/user_summary_by_file_io_type.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/schema_auto_increment_columns.frm to /tmp/robertbackup/sys/schema_auto_increment_columns.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/user_summary_by_file_io.frm to /tmp/robertbackup/sys/user_summary_by_file_io.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024schema_flattened_keys.frm to /tmp/robertbackup/sys/x@0024schema_flattened_keys.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024user_summary_by_file_io.frm to /tmp/robertbackup/sys/x@0024user_summary_by_file_io.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/schema_redundant_indexes.frm to /tmp/robertbackup/sys/schema_redundant_indexes.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/user_summary_by_statement_type.frm to /tmp/robertbackup/sys/user_summary_by_statement_type.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/ps_check_lost_instrumentation.frm to /tmp/robertbackup/sys/ps_check_lost_instrumentation.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/latest_file_io.frm to /tmp/robertbackup/sys/latest_file_io.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/waits_by_host_by_latency.frm to /tmp/robertbackup/sys/waits_by_host_by_latency.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024latest_file_io.frm to /tmp/robertbackup/sys/x@0024latest_file_io.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/waits_global_by_latency.frm to /tmp/robertbackup/sys/waits_global_by_latency.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/io_by_thread_by_latency.frm to /tmp/robertbackup/sys/io_by_thread_by_latency.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/user_summary_by_stages.frm to /tmp/robertbackup/sys/user_summary_by_stages.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024io_by_thread_by_latency.frm to /tmp/robertbackup/sys/x@0024io_by_thread_by_latency.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024user_summary_by_stages.frm to /tmp/robertbackup/sys/x@0024user_summary_by_stages.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/io_global_by_file_by_bytes.frm to /tmp/robertbackup/sys/io_global_by_file_by_bytes.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024schema_index_statistics.frm to /tmp/robertbackup/sys/x@0024schema_index_statistics.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024io_global_by_file_by_bytes.frm to /tmp/robertbackup/sys/x@0024io_global_by_file_by_bytes.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/user_summary.frm to /tmp/robertbackup/sys/user_summary.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/io_global_by_file_by_latency.frm to /tmp/robertbackup/sys/io_global_by_file_by_latency.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/schema_table_statistics.frm to /tmp/robertbackup/sys/schema_table_statistics.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024io_global_by_file_by_latency.frm to /tmp/robertbackup/sys/x@0024io_global_by_file_by_latency.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024user_summary.frm to /tmp/robertbackup/sys/x@0024user_summary.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/io_global_by_wait_by_bytes.frm to /tmp/robertbackup/sys/io_global_by_wait_by_bytes.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024schema_table_statistics.frm to /tmp/robertbackup/sys/x@0024schema_table_statistics.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024io_global_by_wait_by_bytes.frm to /tmp/robertbackup/sys/x@0024io_global_by_wait_by_bytes.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/host_summary_by_file_io_type.frm to /tmp/robertbackup/sys/host_summary_by_file_io_type.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/io_global_by_wait_by_latency.frm to /tmp/robertbackup/sys/io_global_by_wait_by_latency.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/schema_table_statistics_with_buffer.frm to /tmp/robertbackup/sys/schema_table_statistics_with_buffer.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024io_global_by_wait_by_latency.frm to /tmp/robertbackup/sys/x@0024io_global_by_wait_by_latency.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/host_summary_by_file_io.frm to /tmp/robertbackup/sys/host_summary_by_file_io.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/memory_by_user_by_current_bytes.frm to /tmp/robertbackup/sys/memory_by_user_by_current_bytes.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/schema_table_lock_waits.frm to /tmp/robertbackup/sys/schema_table_lock_waits.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024memory_by_user_by_current_bytes.frm to /tmp/robertbackup/sys/x@0024memory_by_user_by_current_bytes.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/x@0024host_summary_by_file_io.frm to /tmp/robertbackup/sys/x@0024host_summary_by_file_io.frm
240206 14:23:35 [01] ...done
240206 14:23:35 [01] Copying ./sys/memory_by_host_by_current_bytes.frm to /tmp/robertbackup/sys/memory_by_host_by_current_bytes.frm
240206 14:23:35 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024schema_table_lock_waits.frm to /tmp/robertbackup/sys/x@0024schema_table_lock_waits.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024memory_by_host_by_current_bytes.frm to /tmp/robertbackup/sys/x@0024memory_by_host_by_current_bytes.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/statement_analysis.frm to /tmp/robertbackup/sys/statement_analysis.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/memory_by_thread_by_current_bytes.frm to /tmp/robertbackup/sys/memory_by_thread_by_current_bytes.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024statement_analysis.frm to /tmp/robertbackup/sys/x@0024statement_analysis.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024memory_by_thread_by_current_bytes.frm to /tmp/robertbackup/sys/x@0024memory_by_thread_by_current_bytes.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/host_summary_by_statement_type.frm to /tmp/robertbackup/sys/host_summary_by_statement_type.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/memory_global_by_current_bytes.frm to /tmp/robertbackup/sys/memory_global_by_current_bytes.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/statements_with_errors_or_warnings.frm to /tmp/robertbackup/sys/statements_with_errors_or_warnings.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024memory_global_by_current_bytes.frm to /tmp/robertbackup/sys/x@0024memory_global_by_current_bytes.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/metrics.frm to /tmp/robertbackup/sys/metrics.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/memory_global_total.frm to /tmp/robertbackup/sys/memory_global_total.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/host_summary_by_stages.frm to /tmp/robertbackup/sys/host_summary_by_stages.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024memory_global_total.frm to /tmp/robertbackup/sys/x@0024memory_global_total.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/session.frm to /tmp/robertbackup/sys/session.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024schema_table_statistics_with_buffer.frm to /tmp/robertbackup/sys/x@0024schema_table_statistics_with_buffer.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024statements_with_errors_or_warnings.frm to /tmp/robertbackup/sys/x@0024statements_with_errors_or_warnings.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/schema_tables_with_full_table_scans.frm to /tmp/robertbackup/sys/schema_tables_with_full_table_scans.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/schema_unused_indexes.frm to /tmp/robertbackup/sys/schema_unused_indexes.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024schema_tables_with_full_table_scans.frm to /tmp/robertbackup/sys/x@0024schema_tables_with_full_table_scans.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024host_summary_by_stages.frm to /tmp/robertbackup/sys/x@0024host_summary_by_stages.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024statements_with_full_table_scans.frm to /tmp/robertbackup/sys/x@0024statements_with_full_table_scans.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024ps_digest_avg_latency_distribution.frm to /tmp/robertbackup/sys/x@0024ps_digest_avg_latency_distribution.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024ps_digest_95th_percentile_by_avg_us.frm to /tmp/robertbackup/sys/x@0024ps_digest_95th_percentile_by_avg_us.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/statements_with_runtimes_in_95th_percentile.frm to /tmp/robertbackup/sys/statements_with_runtimes_in_95th_percentile.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024statements_with_runtimes_in_95th_percentile.frm to /tmp/robertbackup/sys/x@0024statements_with_runtimes_in_95th_percentile.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024statements_with_temp_tables.frm to /tmp/robertbackup/sys/x@0024statements_with_temp_tables.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024user_summary_by_file_io_type.frm to /tmp/robertbackup/sys/x@0024user_summary_by_file_io_type.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024user_summary_by_statement_type.frm to /tmp/robertbackup/sys/x@0024user_summary_by_statement_type.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/user_summary_by_statement_latency.frm to /tmp/robertbackup/sys/user_summary_by_statement_latency.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024user_summary_by_statement_latency.frm to /tmp/robertbackup/sys/x@0024user_summary_by_statement_latency.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024host_summary_by_file_io_type.frm to /tmp/robertbackup/sys/x@0024host_summary_by_file_io_type.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024host_summary_by_statement_type.frm to /tmp/robertbackup/sys/x@0024host_summary_by_statement_type.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/host_summary_by_statement_latency.frm to /tmp/robertbackup/sys/host_summary_by_statement_latency.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024host_summary_by_statement_latency.frm to /tmp/robertbackup/sys/x@0024host_summary_by_statement_latency.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/wait_classes_global_by_avg_latency.frm to /tmp/robertbackup/sys/wait_classes_global_by_avg_latency.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024wait_classes_global_by_avg_latency.frm to /tmp/robertbackup/sys/x@0024wait_classes_global_by_avg_latency.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/wait_classes_global_by_latency.frm to /tmp/robertbackup/sys/wait_classes_global_by_latency.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024wait_classes_global_by_latency.frm to /tmp/robertbackup/sys/x@0024wait_classes_global_by_latency.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024waits_by_user_by_latency.frm to /tmp/robertbackup/sys/x@0024waits_by_user_by_latency.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024waits_by_host_by_latency.frm to /tmp/robertbackup/sys/x@0024waits_by_host_by_latency.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024waits_global_by_latency.frm to /tmp/robertbackup/sys/x@0024waits_global_by_latency.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024processlist.frm to /tmp/robertbackup/sys/x@0024processlist.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/x@0024session.frm to /tmp/robertbackup/sys/x@0024session.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./sys/session_ssl_status.frm to /tmp/robertbackup/sys/session_ssl_status.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./dbs/db.opt to /tmp/robertbackup/dbs/db.opt
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./dbs/agent.frm to /tmp/robertbackup/dbs/agent.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./dbs/task.frm to /tmp/robertbackup/dbs/task.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./dbs/ds_attr_mysql.frm to /tmp/robertbackup/dbs/ds_attr_mysql.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./dbs/data_source.frm to /tmp/robertbackup/dbs/data_source.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./dbs/mysqldump_attr.frm to /tmp/robertbackup/dbs/mysqldump_attr.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./dbs/backup_plan.frm to /tmp/robertbackup/dbs/backup_plan.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./dbs/xtrabackup_attr.frm to /tmp/robertbackup/dbs/xtrabackup_attr.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./dbs/precheck_plan.frm to /tmp/robertbackup/dbs/precheck_plan.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./dbs/bk_file_attr_binlog.frm to /tmp/robertbackup/dbs/bk_file_attr_binlog.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./dbs/backup_file.frm to /tmp/robertbackup/dbs/backup_file.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./dbs/restore.frm to /tmp/robertbackup/dbs/restore.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./dbs/statistic_traffic.frm to /tmp/robertbackup/dbs/statistic_traffic.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./robdb/db.opt to /tmp/robertbackup/robdb/db.opt
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./robdb/teacher.frm to /tmp/robertbackup/robdb/teacher.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./robdb/big_mock.frm to /tmp/robertbackup/robdb/big_mock.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./robdb/my_db.frm to /tmp/robertbackup/robdb/my_db.frm
240206 14:23:36 [01] ...done
240206 14:23:36 [01] Copying ./robdb/persons.frm to /tmp/robertbackup/robdb/persons.frm
240206 14:23:36 [01] ...done
240206 14:23:36 Finished backing up non-InnoDB tables and files
240206 14:23:36 [00] Writing /tmp/robertbackup/xtrabackup_slave_info
240206 14:23:36 [00] ...done
240206 14:23:36 [00] Writing /tmp/robertbackup/xtrabackup_binlog_info
240206 14:23:36 [00] ...done
240206 14:23:36 Executing FLUSH NO_WRITE_TO_BINLOG ENGINE LOGS...
xtrabackup: The latest check point (for incremental): '4011451507'
xtrabackup: Stopping log copying thread.
.240206 14:23:36 >> log scanned up to (4011451516)
240206 14:23:36 Executing UNLOCK TABLES
240206 14:23:36 All tables unlocked
240206 14:23:36 [00] Copying ib_buffer_pool to /tmp/robertbackup/ib_buffer_pool
240206 14:23:36 [00] ...done
240206 14:23:36 Backup created in directory '/tmp/robertbackup/'
MySQL binlog position: filename 'mysql-bin.000119', position '4011', GTID of the last change '153f7dd4-107e-11ec-8a59-fa163e771f31:1-6625'
240206 14:23:36 [00] Writing /tmp/robertbackup/backup-my.cnf
240206 14:23:36 [00] ...done
240206 14:23:36 [00] Writing /tmp/robertbackup/xtrabackup_info
240206 14:23:36 [00] ...done
xtrabackup: Transaction log of lsn (4011451507) to (4011451516) was copied.
240206 14:23:36 completed OK!
[root@dbs-test-rob bin]#
[root@dbs-test-rob bin]#
备份成功后,备份目录里的文件
[root@dbs-test-rob bin]# cd /tmp/robertbackup/
[root@dbs-test-rob robertbackup]# ls
backup-my.cnf ibdata1 robdb xtrabackup_checkpoints xtrabackup_slave_info
dbs mysql sys xtrabackup_info
ib_buffer_pool performance_schema xtrabackup_binlog_info xtrabackup_logfile
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]# cat backup-my.cnf
# This MySQL options file was generated by innobackupex.
# The MySQL server
[mysqld]
innodb_checksum_algorithm=crc32
innodb_log_checksum_algorithm=strict_crc32
innodb_data_file_path=ibdata1:12M:autoextend
innodb_log_files_in_group=2
innodb_log_file_size=50331648
innodb_fast_checksum=false
innodb_page_size=16384
innodb_log_block_size=512
innodb_undo_directory=./
innodb_undo_tablespaces=0
server_id=111111
redo_log_version=1
server_uuid=153f7dd4-107e-11ec-8a59-fa163e771f31
master_key_id=0
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]# cat xtrabackup_binlog_info
mysql-bin.000119 4011 153f7dd4-107e-11ec-8a59-fa163e771f31:1-6625
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]# cat xtrabackup_checkpoints
backup_type = full-backuped
from_lsn = 0
to_lsn = 4011451507
last_lsn = 4011451516
compact = 0
recover_binlog_info = 0
flushed_lsn = 4011451516
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]# cat xtrabackup_info
uuid = 427b4be5-c4b8-11ee-803c-fa163e771f31
name =
tool_name = xtrabackup
tool_command = --defaults-file=/etc/my.cnf --backup -uroot -pstart01all -S/var/lib/mysql/mysql.sock --slave-info --target-dir=/tmp/robertbackup
tool_version = 2.4.21
ibbackup_version = 2.4.21
server_version = 5.7.34-log
start_time = 2024-02-06 14:22:30
end_time = 2024-02-06 14:23:36
lock_time = 1
binlog_pos = filename 'mysql-bin.000119', position '4011', GTID of the last change '153f7dd4-107e-11ec-8a59-fa163e771f31:1-6625'
innodb_from_lsn = 0
innodb_to_lsn = 4011451507
partial = N
incremental = N
format = file
compact = N
compressed = N
encrypted = N
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]# cat xtrabackup_logfile
��xtrabkup 240206 14:22:30?Y�%��sBs��Gg%��i?i��l�w��|%��<��.��2�������6��8�������<��.��2�������6��8�������<��.8��s3�$S��6c@gj8l��S"./robdb/#sql-ib350-2646301817.ibdgX5���@+1g?���\��6*@+MgX ���@+1g?���\��6*@+�gX ���@+1g?���\��6*@+�gX
��@+1g?���\��6*@�i�[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]# mysqlbinlog -vvv xtrabackup_logfile
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/;
ERROR: File is not a binary log file.
SET @@SESSION.GTID_NEXT= 'AUTOMATIC' /* added by mysqlbinlog */ /*!*/;
DELIMITER ;
# End of log file
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/;
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]#
[root@dbs-test-rob robertbackup]# cat xtrabackup_slave_info
[root@dbs-test-rob robertbackup]#
备份成功后,源数据库的状态信息:
mysql> show master status;
+------------------+----------+--------------+------------------+---------------------------------------------+
| File | Position | Binlog_Do_DB | Binlog_Ignore_DB | Executed_Gtid_Set |
+------------------+----------+--------------+------------------+---------------------------------------------+
| mysql-bin.000119 | 4011 | | | 153f7dd4-107e-11ec-8a59-fa163e771f31:1-6625 |
+------------------+----------+--------------+------------------+---------------------------------------------+
1 row in set (0.00 sec)
mysql>
mysql> show engine innodb status \G
*************************** 1. row ***************************
Type: InnoDB
Name:
Status:
=====================================
2024-02-06 14:30:35 0x7f544c7b6700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 1 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 112 srv_active, 0 srv_shutdown, 10117024 srv_idle
srv_master_thread log flush and writes: 10117136
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 802
OS WAIT ARRAY INFO: signal count 1170
RW-shared spins 0, rounds 2501, OS waits 619
RW-excl spins 0, rounds 7332, OS waits 25
RW-sx spins 692, rounds 8939, OS waits 58
Spin rounds per wait: 2501.00 RW-shared, 7332.00 RW-excl, 12.92 RW-sx
------------
TRANSACTIONS
------------
Trx id counter 26505
Purge done for trx's n:o < 26501 undo n:o < 0 state: running but idle
History list length 0
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 421475453618000, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421475453618912, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
--------
FILE I/O
--------
I/O thread 0 state: waiting for completed aio requests (insert buffer thread)
I/O thread 1 state: waiting for completed aio requests (log thread)
I/O thread 2 state: waiting for completed aio requests (read thread)
I/O thread 3 state: waiting for completed aio requests (read thread)
I/O thread 4 state: waiting for completed aio requests (read thread)
I/O thread 5 state: waiting for completed aio requests (read thread)
I/O thread 6 state: waiting for completed aio requests (write thread)
I/O thread 7 state: waiting for completed aio requests (write thread)
I/O thread 8 state: waiting for completed aio requests (write thread)
I/O thread 9 state: waiting for completed aio requests (write thread)
Pending normal aio reads: [0, 0, 0, 0] , aio writes: [0, 0, 0, 0] ,
ibuf aio reads:, log i/o's:, sync i/o's:
Pending flushes (fsync) log: 0; buffer pool: 0
110092 OS file reads, 8563 OS file writes, 4528 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 0, seg size 2, 0 merges
merged operations:
insert 0, delete mark 0, delete 0
discarded operations:
insert 0, delete mark 0, delete 0
Hash table size 34673, node heap has 1 buffer(s)
Hash table size 34673, node heap has 0 buffer(s)
Hash table size 34673, node heap has 1 buffer(s)
Hash table size 34673, node heap has 1 buffer(s)
Hash table size 34673, node heap has 1 buffer(s)
Hash table size 34673, node heap has 1 buffer(s)
Hash table size 34673, node heap has 1 buffer(s)
Hash table size 34673, node heap has 1 buffer(s)
0.00 hash searches/s, 0.00 non-hash searches/s
---
LOG
---
Log sequence number 4011451516
Log flushed up to 4011451516
Pages flushed up to 4011451516
Last checkpoint at 4011451507
0 pending log flushes, 0 pending chkp writes
2526 log i/o's done, 0.00 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 137428992
Dictionary memory allocated 279635
Buffer pool size 8191
Free buffers 1024
Database pages 7160
Old database pages 2623
Modified db pages 0
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 1613, not young 24197193
0.00 youngs/s, 0.00 non-youngs/s
Pages read 110045, created 1824, written 4464
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 7160, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
Process ID=4231, Main thread ID=140000176981760, state: sleeping
Number of rows inserted 13197, updated 5, deleted 2, read 29347758
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================
1 row in set (0.00 sec)
mysql>
参考:MySQL的XtraBackup进行备份和恢复(全备+增备+binlog)
XtraBackup 备份与恢复实例讲解
xtrabackup 的帮助命令:
[root@dbs-test-rob bin]# ./xtrabackup --help
xtrabackup: recognized server arguments: --datadir=/var/lib/mysql --log_bin=mysql-bin --server-id=111111
xtrabackup: recognized client arguments:
./xtrabackup version 2.4.21 based on MySQL server 5.7.32 Linux (x86_64) (revision id: 5988af5)
Open source backup tool for InnoDB and XtraDB
Copyright (C) 2009-2017 Percona LLC and/or its affiliates.
Portions Copyright (C) 2000, 2011, MySQL AB & Innobase Oy. All Rights Reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You can download full text of the license on http://www.gnu.org/licenses/gpl-2.0.txt
Usage: [./xtrabackup [--defaults-file=#] --backup | ./xtrabackup [--defaults-file=#] --prepare] [OPTIONS]
Default options are read from the following files in the given order:
/etc/my.cnf /etc/mysql/my.cnf /mnt/workspace/percona-xtrabackup-2.4-binary-tarball/label_exp/min-centos-6-x64/TARGET/xtrabackup-build.O42Nhw/percona-xtrabackup-2.4.21-Linux-x86_64.glibc2.12/etc/my.cnf ~/.my.cnf
The following groups are read: xtrabackup mysqld
The following options may be given as the first argument:
--print-defaults Print the program argument list and exit.
--no-defaults Don't read default options from any option file,
except for login file.
--defaults-file=# Only read default options from the given file #.
--defaults-extra-file=# Read this file after the global files are read.
--defaults-group-suffix=#
Also read groups with concat(group, suffix)
--login-path=# Read this path from the login file.
-v, --version print xtrabackup version information
--target-dir=name destination directory
--backup take backup to target-dir
--stats calc statistic of datadir (offline mysqld is recommended)
--prepare prepare a backup for starting mysql server on the backup.
--export create files to import to another database when prepare.
--apply-log-only stop recovery process not to progress LSN after applying
log when prepare.
--print-param print parameter of mysqld needed for copyback.
--use-memory=# The value is used instead of buffer_pool_size
--throttle=# limit count of IO operations (pairs of read&write) per
second to IOS values (for '--backup')
--log[=name] Ignored option for MySQL option compatibility
--log-copy-interval=#
time interval between checks done by log copying thread
in milliseconds (default is 1 second).
--extra-lsndir=name (for --backup): save an extra copy of the
xtrabackup_checkpoints file in this directory.
--incremental-lsn=name
(for --backup): copy only .ibd pages newer than specified
LSN 'high:low'. ##ATTENTION##: If a wrong LSN value is
specified, it is impossible to diagnose this, causing the
backup to be unusable. Be careful!
--incremental-basedir=name
(for --backup): copy only .ibd pages newer than backup at
specified directory.
--incremental-dir=name
(for --prepare): apply .delta files and logfile in the
specified directory.
--to-archived-lsn=# Don't apply archived logs with bigger log sequence
number.
--tables=name filtering by regexp for table names.
--tables-file=name filtering by list of the exact database.table name in the
file.
--databases=name filtering by list of databases.
--databases-file=name
filtering by list of databases in the file.
--tables-exclude=name
filtering by regexp for table names. Operates the same
way as --tables, but matched names are excluded from
backup. Note that this option has a higher priority than
--tables.
--databases-exclude=name
Excluding databases based on name, Operates the same way
as --databases, but matched names are excluded from
backup. Note that this option has a higher priority than
--databases.
--create-ib-logfile ** not work for now** creates ib_logfile* also after
'--prepare'. ### If you want create ib_logfile*, only
re-execute this command in same options. ###
--stream=name Stream all backup files to the standard output in the
specified format. Currently the only supported format is
'tar'.
--compress[=name] Compress individual backup files using the specified
compression algorithm. Currently the only supported
algorithm is 'quicklz'. It is also the default algorithm,
i.e. the one used when --compress is used without an
argument.
--compress-threads=#
Number of threads for parallel data compression. The
default value is 1.
--compress-chunk-size=#
Size of working buffer(s) for compression threads in
bytes. The default value is 64K.
--encrypt=name Encrypt individual backup files using the specified
encryption algorithm.
--encrypt-key=name Encryption key to use.
--encrypt-key-file=name
File which contains encryption key to use.
--encrypt-threads=# Number of threads for parallel data encryption. The
default value is 1.
--encrypt-chunk-size=#
Size of working buffer(S) for encryption threads in
bytes. The default value is 64K.
--compact Create a compact backup by skipping secondary index
pages.
--rebuild-indexes Rebuild secondary indexes in InnoDB tables after applying
the log. Only has effect with --prepare.
--rebuild-threads=# Use this number of threads to rebuild indexes in a
compact backup. Only has effect with --prepare and
--rebuild-indexes.
--incremental-force-scan
Perform a full-scan incremental backup even in the
presence of changed page bitmap data
--close-files do not keep files opened. Use at your own risk.
--core-file Write core on fatal signals
--copy-back Copy all the files in a previously made backup from the
backup directory to their original locations.
--move-back Move all the files in a previously made backup from the
backup directory to the actual datadir location. Use with
caution, as it removes backup files.
--galera-info This options creates the xtrabackup_galera_info file
which contains the local node state at the time of the
backup. Option should be used when performing the backup
of Percona-XtraDB-Cluster. Has no effect when backup
locks are used to create the backup.
--slave-info This option is useful when backing up a replication slave
server. It prints the binary log position and name of the
master server. It also writes this information to the
"xtrabackup_slave_info" file as a "CHANGE MASTER"
command. A new slave for this master can be set up by
starting a slave server on this backup and issuing a
"CHANGE MASTER" command with the binary log position
saved in the "xtrabackup_slave_info" file.
--no-lock Use this option to disable table lock with "FLUSH TABLES
WITH READ LOCK". Use it only if ALL your tables are
InnoDB and you DO NOT CARE about the binary log position
of the backup. This option shouldn't be used if there are
any DDL statements being executed or if any updates are
happening on non-InnoDB tables (this includes the system
MyISAM tables in the mysql database), otherwise it could
lead to an inconsistent backup. If you are considering to
use --no-lock because your backups are failing to acquire
the lock, this could be because of incoming replication
events preventing the lock from succeeding. Please try
using --safe-slave-backup to momentarily stop the
replication slave thread, this may help the backup to
succeed and you then don't need to resort to using this
option.
--lock-ddl Issue LOCK TABLES FOR BACKUP if it is supported by server
at the beginning of the backup to block all DDL
operations.
--lock-ddl-timeout=#
If LOCK TABLES FOR BACKUP does not return within given
timeout, abort the backup.
--lock-ddl-per-table
Lock DDL for each table before xtrabackup starts the copy
phase and until the backup is completed.
--backup-lock-timeout=#
Timeout in seconds for attempts to acquire metadata
locks.
--backup-lock-retry-count=#
Number of attempts to acquire metadata locks.
--dump-innodb-buffer-pool
Instruct MySQL server to dump innodb buffer pool by
issuing a SET GLOBAL innodb_buffer_pool_dump_now=ON
--dump-innodb-buffer-pool-timeout=#
This option specifies the number of seconds xtrabackup
waits for innodb buffer pool dump to complete
--dump-innodb-buffer-pool-pct=#
This option specifies the percentage of buffer pool to be
dumped
--safe-slave-backup Stop slave SQL thread and wait to start backup until
Slave_open_temp_tables in "SHOW STATUS" is zero. If there
are no open temporary tables, the backup will take place,
otherwise the SQL thread will be started and stopped
until there are no open temporary tables. The backup will
fail if Slave_open_temp_tables does not become zero after
--safe-slave-backup-timeout seconds. The slave SQL thread
will be restarted when the backup finishes.
--rsync Uses the rsync utility to optimize local file transfers.
When this option is specified, innobackupex uses rsync to
copy all non-InnoDB files instead of spawning a separate
cp for each file, which can be much faster for servers
with a large number of databases or tables. This option
cannot be used together with --stream.
--force-non-empty-directories
This option, when specified, makes --copy-back or
--move-back transfer files to non-empty directories. Note
that no existing files will be overwritten. If
--copy-back or --nove-back has to copy a file from the
backup directory which already exists in the destination
directory, it will still fail with an error.
--no-version-check This option disables the version check which is enabled
by the --version-check option.
--tables-compatibility-check
This option enables engine compatibility warning.
(Defaults to on; use --skip-tables-compatibility-check to disable.)
--no-backup-locks This option controls if backup locks should be used
instead of FLUSH TABLES WITH READ LOCK on the backup
stage. The option has no effect when backup locks are not
supported by the server. This option is enabled by
default, disable with --no-backup-locks.
--decompress Decompresses all files with the .qp extension in a backup
previously made with the --compress option.
-u, --user=name This option specifies the MySQL username used when
connecting to the server, if that's not the current user.
The option accepts a string argument. See mysql --help
for details.
-H, --host=name This option specifies the host to use when connecting to
the database server with TCP/IP. The option accepts a
string argument. See mysql --help for details.
-P, --port=# This option specifies the port to use when connecting to
the database server with TCP/IP. The option accepts a
string argument. See mysql --help for details.
-p, --password[=name]
This option specifies the password to use when connecting
to the database. It accepts a string argument. See mysql
--help for details.
-S, --socket=name This option specifies the socket to use when connecting
to the local database server with a UNIX domain socket.
The option accepts a string argument. See mysql --help
for details.
--incremental-history-name=name
This option specifies the name of the backup series
stored in the PERCONA_SCHEMA.xtrabackup_history history
record to base an incremental backup on. Xtrabackup will
search the history table looking for the most recent
(highest innodb_to_lsn), successful backup in the series
and take the to_lsn value to use as the starting lsn for
the incremental backup. This will be mutually exclusive
with --incremental-history-uuid, --incremental-basedir
and --incremental-lsn. If no valid lsn can be found (no
series by that name, no successful backups by that name)
xtrabackup will return with an error. It is used with the
--incremental option.
--incremental-history-uuid=name
This option specifies the UUID of the specific history
record stored in the PERCONA_SCHEMA.xtrabackup_history to
base an incremental backup on.
--incremental-history-name, --incremental-basedir and
--incremental-lsn. If no valid lsn can be found (no
success record with that uuid) xtrabackup will return
with an error. It is used with the --incremental option.
--decrypt=name Decrypts all files with the .xbcrypt extension in a
backup previously made with --encrypt option.
--remove-original Remove .qp and .xbcrypt files after decryption and
decompression.
--ftwrl-wait-query-type=name
This option specifies which types of queries are allowed
to complete before innobackupex will issue the global
lock. Default is all.
--kill-long-query-type=name
This option specifies which types of queries should be
killed to unblock the global lock. Default is "all".
--history[=name] This option enables the tracking of backup history in the
PERCONA_SCHEMA.xtrabackup_history table. An optional
history series name may be specified that will be placed
with the history record for the current backup being
taken.
--kill-long-queries-timeout=#
This option specifies the number of seconds innobackupex
waits between starting FLUSH TABLES WITH READ LOCK and
killing those queries that block it. Default is 0
seconds, which means innobackupex will not attempt to
kill any queries.
--ftwrl-wait-timeout=#
This option specifies time in seconds that innobackupex
should wait for queries that would block FTWRL before
running it. If there are still such queries when the
timeout expires, innobackupex terminates with an error.
Default is 0, in which case innobackupex does not wait
for queries to complete and starts FTWRL immediately.
--ftwrl-wait-threshold=#
This option specifies the query run time threshold which
is used by innobackupex to detect long-running queries
with a non-zero value of --ftwrl-wait-timeout. FTWRL is
not started until such long-running queries exist. This
option has no effect if --ftwrl-wait-timeout is 0.
Default value is 60 seconds.
--debug-sleep-before-unlock=#
This is a debug-only option used by the XtraBackup test
suite.
--safe-slave-backup-timeout=#
How many seconds --safe-slave-backup should wait for
Slave_open_temp_tables to become zero. (default 300)
--binlog-info[=name]
This option controls how XtraBackup should retrieve
server's binary log coordinates corresponding to the
backup. Possible values are OFF, ON, LOCKLESS and AUTO.
See the XtraBackup manual for more information
--reencrypt-for-server-id=#
Re-encrypt tablespace keys for given server-id.
--check-privileges Check database user privileges before performing any
query.
--read-buffer-size[=#]
Set datafile read buffer size, given value is scaled up
to page size. Default is 10Mb.
--ssl-mode=name SSL connection mode.
--ssl Deprecated. Use --ssl-mode instead.
(Defaults to on; use --skip-ssl to disable.)
--ssl-verify-server-cert
Deprecated. Use --ssl-mode=VERIFY_IDENTITY instead.
--ssl-ca=name CA file in PEM format.
--ssl-capath=name CA directory.
--ssl-cert=name X509 cert in PEM format.
--ssl-cipher=name SSL cipher to use.
--ssl-key=name X509 key in PEM format.
--ssl-crl=name Certificate revocation list.
--ssl-crlpath=name Certificate revocation list path.
--tls-version=name TLS version to use, permitted values are: TLSv1, TLSv1.1,
TLSv1.2
--server-public-key-path=name
File path to the server public RSA key in PEM format.
-h, --datadir=name Path to the database root.
-t, --tmpdir=name Path for temporary files. Several paths may be specified,
separated by a colon (:), in this case they are used in a
round-robin fashion.
--parallel=# Number of threads to use for parallel datafiles transfer.
The default value is 1.
--log[=name] Ignored option for MySQL option compatibility
--log-bin[=name] Base name for the log sequence
--innodb[=name] Ignored option for MySQL option compatibility
--innodb-adaptive-hash-index
Enable InnoDB adaptive hash index (enabled by default).
Disable with --skip-innodb-adaptive-hash-index.
(Defaults to on; use --skip-innodb-adaptive-hash-index to disable.)
--innodb-autoextend-increment=#
Data file autoextend increment in megabytes
--innodb-buffer-pool-size=#
The size of the memory buffer InnoDB uses to cache data
and indexes of its tables.
--innodb-checksums Enable InnoDB checksums validation (enabled by default).
Disable with --skip-innodb-checksums.
(Defaults to on; use --skip-innodb-checksums to disable.)
--innodb-data-file-path=name
Path to individual files and their sizes.
--innodb-data-home-dir=name
The common part for InnoDB table spaces.
--innodb-doublewrite
Enable InnoDB doublewrite buffer (enabled by default).
Disable with --skip-innodb-doublewrite.
(Defaults to on; use --skip-innodb-doublewrite to disable.)
--innodb-io-capacity[=#]
Number of IOPs the server can do. Tunes the background IO
rate
--innodb-file-io-threads=#
Number of file I/O threads in InnoDB.
--innodb-read-io-threads=#
Number of background read I/O threads in InnoDB.
--innodb-write-io-threads=#
Number of background write I/O threads in InnoDB.
--innodb-file-per-table
Stores each InnoDB table to an .ibd file in the database
dir.
--innodb-flush-log-at-trx-commit[=#]
Set to 0 (write and flush once per second), 1 (write and
flush at each commit) or 2 (write at commit, flush once
per second).
--innodb-flush-method=name
With which method to flush data.
--innodb-force-recovery=#
Helps to save your data in case the disk image of the
database becomes corrupt.
--innodb-log-arch-dir=name
Where full logs should be archived.
--innodb-log-buffer-size=#
The size of the buffer which InnoDB uses to write log to
the log files on disk.
--innodb-log-file-size=#
Size of each log file in a log group.
--innodb-log-files-in-group=#
Number of log files in the log group. InnoDB writes to
the files in a circular fashion. Value 3 is recommended
here.
--innodb-log-group-home-dir=name
Path to InnoDB log files.
--innodb-max-dirty-pages-pct=#
Percentage of dirty pages allowed in bufferpool.
--innodb-open-files=#
How many files at the maximum InnoDB keeps open at the
same time.
--innodb-use-native-aio
Use native AIO if supported on this platform.
--innodb-page-size=#
The universal page size of the database.
--innodb-log-block-size=#
The log block size of the transaction log file. Changing
for created log file is not supported. Use on your own
risk!
--innodb-fast-checksum
Change the algorithm of checksum for the whole of
datapage to 4-bytes word based.
--innodb-doublewrite-file=name
Path to special datafile for doublewrite buffer. (default
is : not used)
--innodb-buffer-pool-filename=name
Filename to/from which to dump/load the InnoDB buffer
pool
--debug-sync=name Debug sync point. This is only used by the xtrabackup
test suite
--innodb-checksum-algorithm=name
The algorithm InnoDB uses for page checksumming. [CRC32,
STRICT_CRC32, INNODB, STRICT_INNODB, NONE, STRICT_NONE]
--innodb-log-checksum-algorithm=name
The algorithm InnoDB uses for log checksumming. [CRC32,
STRICT_CRC32, INNODB, STRICT_INNODB, NONE, STRICT_NONE]
--innodb-undo-directory=name
Directory where undo tablespace files live, this path can
be absolute.
--innodb-undo-tablespaces=#
Number of undo tablespaces to use.
--defaults-group=name
defaults group in config file (default "mysqld").
--open-files-limit=#
the maximum number of file descriptors to reserve with
setrlimit().
--redo-log-version=#
Redo log version of the backup. For --prepare only.
--server-id=# The server instance being backed up
--transition-key[=name]
Transition key to encrypt tablespace keys with.
--xtrabackup-plugin-dir=name
Directory for xtrabackup plugins.
--generate-new-master-key
Generate new master key when doing copy-back.
--generate-transition-key
Generate transition key and store it into keyring.
Variables (--variable-name=value)
and boolean options {FALSE|TRUE} Value (after reading options)
--------------------------------- ----------------------------------------
datadir /var/lib/mysql
tmpdir /tmp
parallel 1
log (No default value)
log-bin mysql-bin
innodb (No default value)
innodb-adaptive-hash-index TRUE
innodb-autoextend-increment 8
innodb-buffer-pool-size 8388608
innodb-checksums TRUE
innodb-data-file-path (No default value)
innodb-data-home-dir (No default value)
innodb-doublewrite TRUE
innodb-io-capacity 200
innodb-file-io-threads 4
innodb-read-io-threads 4
innodb-write-io-threads 4
innodb-file-per-table FALSE
innodb-flush-log-at-trx-commit 1
innodb-flush-method (No default value)
innodb-force-recovery 0
innodb-log-arch-dir (No default value)
innodb-log-buffer-size 16777216
innodb-log-file-size 50331648
innodb-log-files-in-group 2
innodb-log-group-home-dir (No default value)
innodb-max-dirty-pages-pct 75
innodb-open-files 300
innodb-use-native-aio FALSE
innodb-page-size 16384
innodb-log-block-size 512
innodb-fast-checksum FALSE
innodb-doublewrite-file (No default value)
innodb-buffer-pool-filename (No default value)
debug-sync (No default value)
innodb-checksum-algorithm innodb
innodb-log-checksum-algorithm innodb
innodb-undo-directory (No default value)
innodb-undo-tablespaces 0
defaults-group mysqld
open-files-limit 0
redo-log-version 1
server-id 111111
xtrabackup-plugin-dir (No default value)
generate-new-master-key FALSE
generate-transition-key FALSE
Variables (--variable-name=value)
and boolean options {FALSE|TRUE} Value (after reading options)
--------------------------------- ----------------------------------------
version FALSE
target-dir /opt/dbs/bin/xtrabackup_backupfiles/
backup FALSE
stats FALSE
prepare FALSE
export FALSE
apply-log-only FALSE
print-param FALSE
use-memory 104857600
throttle 0
log (No default value)
log-copy-interval 1000
extra-lsndir (No default value)
incremental-lsn (No default value)
incremental-basedir (No default value)
incremental-dir (No default value)
to-archived-lsn 0
tables (No default value)
tables-file (No default value)
databases (No default value)
databases-file (No default value)
tables-exclude (No default value)
databases-exclude (No default value)
create-ib-logfile FALSE
stream (No default value)
compress (No default value)
compress-threads 1
compress-chunk-size 65536
encrypt NONE
encrypt-key-file (No default value)
encrypt-threads 1
encrypt-chunk-size 65536
compact FALSE
rebuild-indexes FALSE
rebuild-threads 1
incremental-force-scan FALSE
close-files FALSE
copy-back FALSE
move-back FALSE
galera-info FALSE
slave-info FALSE
no-lock FALSE
lock-ddl FALSE
lock-ddl-timeout 31536000
lock-ddl-per-table FALSE
backup-lock-timeout 31536000
backup-lock-retry-count 0
dump-innodb-buffer-pool FALSE
dump-innodb-buffer-pool-timeout 10
dump-innodb-buffer-pool-pct 0
safe-slave-backup FALSE
rsync FALSE
force-non-empty-directories FALSE
no-version-check FALSE
tables-compatibility-check TRUE
no-backup-locks FALSE
decompress FALSE
user (No default value)
host (No default value)
port 0
socket (No default value)
incremental-history-name (No default value)
incremental-history-uuid (No default value)
decrypt NONE
remove-original FALSE
ftwrl-wait-query-type ALL
kill-long-query-type SELECT
kill-long-queries-timeout 0
ftwrl-wait-timeout 0
ftwrl-wait-threshold 60
debug-sleep-before-unlock 0
safe-slave-backup-timeout 300
binlog-info auto
reencrypt-for-server-id 0
check-privileges FALSE
read-buffer-size 10485760
ssl TRUE
ssl-verify-server-cert FALSE
ssl-ca (No default value)
ssl-capath (No default value)
ssl-cert (No default value)
ssl-cipher (No default value)
ssl-key (No default value)
ssl-crl (No default value)
ssl-crlpath (No default value)
tls-version TLSv1,TLSv1.1,TLSv1.2
server-public-key-path (No default value)
[root@dbs-test-rob bin]#