You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

754 lines
39 KiB
Plaintext

/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/;
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/;
# at 4
#140315 11:05:43 server id 8798000 end_log_pos 107 Start: binlog v 4, server v 5.5.33-log created 140315 11:05:43
# Warning: this binlog is either in use or was not closed properly.
# at 107
#140315 11:05:58 server id 8798000 end_log_pos 194 Query thread_id=25643 exec_time=0 error_code=0
use `test`/*!*/;
SET TIMESTAMP=1394852758/*!*/;
SET @@session.pseudo_thread_id=25643/*!*/;
SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=0, @@session.unique_checks=1, @@session.autocommit=1/*!*/;
SET @@session.sql_mode=0/*!*/;
SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*/;
/*!\C utf8 *//*!*/;
SET @@session.character_set_client=33,@@session.collation_connection=33,@@session.collation_server=33/*!*/;
SET @@session.lc_time_names=0/*!*/;
SET @@session.collation_database=DEFAULT/*!*/;
create table test(a int)
/*!*/;
# at 194
#140315 11:06:03 server id 8798000 end_log_pos 262 Query thread_id=25643 exec_time=0 error_code=0
SET TIMESTAMP=1394852763/*!*/;
BEGIN
/*!*/;
# at 262
#140315 11:06:03 server id 8798000 end_log_pos 351 Query thread_id=25643 exec_time=0 error_code=0
SET TIMESTAMP=1394852763/*!*/;
insert into test values(1)
/*!*/;
# at 351
#140315 11:06:03 server id 8798000 end_log_pos 378 Xid = 77731
COMMIT/*!*/;
# at 378
#140315 11:06:08 server id 8798000 end_log_pos 446 Query thread_id=25643 exec_time=1 error_code=0
SET TIMESTAMP=1394852768/*!*/;
BEGIN
/*!*/;
# at 446
#140315 11:06:08 server id 8798000 end_log_pos 535 Query thread_id=25643 exec_time=1 error_code=0
SET TIMESTAMP=1394852768/*!*/;
insert into test values(2)
/*!*/;
# at 535
#140315 11:06:08 server id 8798000 end_log_pos 562 Xid = 77748
COMMIT/*!*/;
# at 562
#140315 11:30:00 server id 8798000 end_log_pos 998 Query thread_id=27063 exec_time=0 error_code=0
use `mysql`/*!*/;
SET TIMESTAMP=1394854200/*!*/;
/*!\C latin1 *//*!*/;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=33/*!*/;
CREATE TABLE IF NOT EXISTS mysql.backup_progress( `backup_id` BIGINT NOT NULL, `tool_name` VARCHAR(4096) NOT NULL, `error_code` INT NOT NULL, `error_message` VARCHAR(4096) NOT NULL, `current_time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,`current_state` VARCHAR(200) NOT NULL ) ENGINE=CSV DEFAULT CHARSET=utf8 COLLATE=utf8_bin
/*!*/;
# at 998
#140315 11:30:02 server id 8798000 end_log_pos 1075 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854202/*!*/;
SET @@session.time_zone='SYSTEM'/*!*/;
BEGIN
/*!*/;
# at 1075
#140315 11:30:02 server id 8798000 end_log_pos 1323 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854202/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948542000487620,'mysqlbackup',0,'NO_ERROR','Started mysqlbackup.')
/*!*/;
# at 1323
#140315 11:30:02 server id 8798000 end_log_pos 1401 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854202/*!*/;
COMMIT
/*!*/;
# at 1401
#140315 11:30:03 server id 8798000 end_log_pos 1478 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854203/*!*/;
BEGIN
/*!*/;
# at 1478
#140315 11:30:03 server id 8798000 end_log_pos 1771 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854203/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948542000487620,'mysqlbackup',0,'NO_ERROR','mysqlbackup locking tables and copying .frm + other engines data.')
/*!*/;
# at 1771
#140315 11:30:03 server id 8798000 end_log_pos 1849 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854203/*!*/;
COMMIT
/*!*/;
# at 1849
#140315 11:30:03 server id 8798000 end_log_pos 1984 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854203/*!*/;
DROP TABLE IF EXISTS `ibbackup_binlog_marker` /* generated by server */
/*!*/;
# at 1984
#140315 11:30:03 server id 8798000 end_log_pos 2117 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854203/*!*/;
SET @@session.pseudo_thread_id=27063/*!*/;
CREATE TEMPORARY TABLE ibbackup_binlog_marker (a INT) ENGINE = INNODB
/*!*/;
# at 2117
#140315 11:30:03 server id 8798000 end_log_pos 2186 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854203/*!*/;
BEGIN
/*!*/;
# at 2186
#140315 11:30:03 server id 8798000 end_log_pos 2294 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854203/*!*/;
INSERT INTO ibbackup_binlog_marker VALUES(1)
/*!*/;
# at 2294
#140315 11:30:03 server id 8798000 end_log_pos 2364 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854203/*!*/;
COMMIT
/*!*/;
# at 2364
#140315 11:30:03 server id 8798000 end_log_pos 2433 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854203/*!*/;
BEGIN
/*!*/;
# at 2433
#140315 11:30:03 server id 8798000 end_log_pos 2541 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854203/*!*/;
INSERT INTO ibbackup_binlog_marker VALUES(2)
/*!*/;
# at 2541
#140315 11:30:03 server id 8798000 end_log_pos 2611 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854203/*!*/;
COMMIT
/*!*/;
# at 2611
#140315 11:30:03 server id 8798000 end_log_pos 2692 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854203/*!*/;
FLUSH ENGINE LOGS
/*!*/;
# at 2692
#140315 11:30:04 server id 8798000 end_log_pos 2837 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854204/*!*/;
DROP TEMPORARY TABLE IF EXISTS `ibbackup_binlog_marker` /* generated by server */
/*!*/;
# at 2837
#140315 11:30:04 server id 8798000 end_log_pos 2914 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854204/*!*/;
BEGIN
/*!*/;
# at 2914
#140315 11:30:04 server id 8798000 end_log_pos 3174 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854204/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948542000487620,'mysqlbackup',0,'NO_ERROR','mysqlbackup unlocked the tables.')
/*!*/;
# at 3174
#140315 11:30:04 server id 8798000 end_log_pos 3252 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854204/*!*/;
COMMIT
/*!*/;
# at 3252
#140315 11:30:07 server id 8798000 end_log_pos 4430 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854207/*!*/;
CREATE TABLE IF NOT EXISTS mysql.backup_history( `backup_id` BIGINT NOT NULL, `tool_name` VARCHAR(4096) NOT NULL, `start_time` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00', `end_time` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00', `binlog_pos` BIGINT NOT NULL, `binlog_file` VARCHAR(255) NOT NULL, `compression_level` INT NOT NULL, `engines` VARCHAR(100) NOT NULL, `innodb_data_file_path` VARCHAR(2048) NOT NULL, `innodb_file_format` VARCHAR(100) NOT NULL, `start_lsn` BIGINT NOT NULL, `end_lsn` BIGINT NOT NULL, `incremental_base_lsn` BIGINT NOT NULL, `backup_type` VARCHAR(50) NOT NULL, `backup_format` VARCHAR(50) NOT NULL, `mysql_data_dir` VARCHAR(2048) NOT NULL, `innodb_data_home_dir` VARCHAR(2048) NOT NULL, `innodb_log_group_home_dir` VARCHAR(2048) NOT NULL, `innodb_log_files_in_group` VARCHAR(100) NOT NULL, `innodb_log_file_size` VARCHAR(100) NOT NULL, `backup_destination` VARCHAR(4096) NOT NULL, `lock_time` DOUBLE PRECISION (7,3) NOT NULL, `exit_state` VARCHAR(10) NOT NULL, `last_error` VARCHAR(4096) NOT NULL, `last_error_code` INT NOT NULL ) ENGINE=CSV DEFAULT CHARSET=utf8 COLLATE=utf8_bin
/*!*/;
# at 4430
#140315 11:30:07 server id 8798000 end_log_pos 4507 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854207/*!*/;
BEGIN
/*!*/;
# at 4507
#140315 11:30:07 server id 8798000 end_log_pos 4763 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854207/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948542000487620,'mysqlbackup',0,'NO_ERROR','mysqlbackup returns success.')
/*!*/;
# at 4763
#140315 11:30:07 server id 8798000 end_log_pos 4841 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854207/*!*/;
COMMIT
/*!*/;
# at 4841
#140315 11:30:07 server id 8798000 end_log_pos 4918 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854207/*!*/;
BEGIN
/*!*/;
# at 4918
#140315 11:30:07 server id 8798000 end_log_pos 6201 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854207/*!*/;
INSERT INTO mysql.backup_history(backup_id, tool_name, start_time, end_time, binlog_pos, binlog_file, compression_level, engines, innodb_data_file_path, innodb_file_format, start_lsn, end_lsn, incremental_base_lsn, backup_type, backup_format, mysql_data_dir, innodb_data_home_dir, innodb_log_group_home_dir, innodb_log_files_in_group, innodb_log_file_size, backup_destination, lock_time, exit_state, last_error, last_error_code ) VALUES(13948542000487620,'/opt/actiontech-ha/bin/mysqlbackup --user=root --password=xxxx --host=127.0.0.1 --port=3333 --incremental --start-lsn=1328227120 --backup-dir=/tmp/mysql-477023939/2014-03-15_11-30-00 --backup-image=/opt/actiontech-ha/mysql-backup/2014-03-15_04-30-00/2014-03-15_11-30-00 --slave-info --skip-messages-logdir --read-threads=3 --process-threads=6 --write-threads=3 backup-to-image ','2014-03-15 11:30:00','2014-03-15 11:30:05',2692,'mysql-bin.000004',0,'MEMORY:MyISAM:CSV:PERFORMANCE_SCHEMA:InnoDB:','ibdata1:1G:autoextend','Barracuda',1328227121,1328246519,0,'INCREMENTAL','IMAGE','/home/ACTIONTECH-HA/mysql-install/data/','','/home/ACTIONTECH-HA/mysql-install/data/','2','268435456','/tmp/mysql-477023939/2014-03-15_11-30-00',0.67457,'SUCCESS','NO_ERROR',0)
/*!*/;
# at 6201
#140315 11:30:07 server id 8798000 end_log_pos 6279 Query thread_id=27063 exec_time=0 error_code=0
SET TIMESTAMP=1394854207/*!*/;
COMMIT
/*!*/;
# at 6279
#140315 12:00:03 server id 154063000 end_log_pos 6414 Query thread_id=29450 exec_time=0 error_code=0
SET TIMESTAMP=1394856003/*!*/;
DROP TABLE IF EXISTS `ibbackup_binlog_marker` /* generated by server */
/*!*/;
# at 6414
#140315 12:00:03 server id 154063000 end_log_pos 6547 Query thread_id=29450 exec_time=0 error_code=0
SET TIMESTAMP=1394856003/*!*/;
SET @@session.pseudo_thread_id=29450/*!*/;
CREATE TEMPORARY TABLE ibbackup_binlog_marker (a INT) ENGINE = INNODB
/*!*/;
# at 6547
#140315 12:00:03 server id 154063000 end_log_pos 6616 Query thread_id=29450 exec_time=0 error_code=0
SET TIMESTAMP=1394856003/*!*/;
BEGIN
/*!*/;
# at 6616
#140315 12:00:03 server id 154063000 end_log_pos 6724 Query thread_id=29450 exec_time=0 error_code=0
SET TIMESTAMP=1394856003/*!*/;
INSERT INTO ibbackup_binlog_marker VALUES(1)
/*!*/;
# at 6724
#140315 12:00:03 server id 154063000 end_log_pos 6794 Query thread_id=29450 exec_time=0 error_code=0
SET TIMESTAMP=1394856003/*!*/;
COMMIT
/*!*/;
# at 6794
#140315 12:00:03 server id 154063000 end_log_pos 6863 Query thread_id=29450 exec_time=0 error_code=0
SET TIMESTAMP=1394856003/*!*/;
BEGIN
/*!*/;
# at 6863
#140315 12:00:03 server id 154063000 end_log_pos 6971 Query thread_id=29450 exec_time=0 error_code=0
SET TIMESTAMP=1394856003/*!*/;
INSERT INTO ibbackup_binlog_marker VALUES(2)
/*!*/;
# at 6971
#140315 12:00:03 server id 154063000 end_log_pos 7041 Query thread_id=29450 exec_time=0 error_code=0
SET TIMESTAMP=1394856003/*!*/;
COMMIT
/*!*/;
# at 7041
#140315 12:00:03 server id 154063000 end_log_pos 7122 Query thread_id=29450 exec_time=0 error_code=0
SET TIMESTAMP=1394856003/*!*/;
FLUSH ENGINE LOGS
/*!*/;
# at 7122
#140315 12:00:04 server id 154063000 end_log_pos 7267 Query thread_id=29450 exec_time=0 error_code=0
SET TIMESTAMP=1394856004/*!*/;
DROP TEMPORARY TABLE IF EXISTS `ibbackup_binlog_marker` /* generated by server */
/*!*/;
# at 7267
#140315 12:30:00 server id 8798000 end_log_pos 7703 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857800/*!*/;
CREATE TABLE IF NOT EXISTS mysql.backup_progress( `backup_id` BIGINT NOT NULL, `tool_name` VARCHAR(4096) NOT NULL, `error_code` INT NOT NULL, `error_message` VARCHAR(4096) NOT NULL, `current_time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,`current_state` VARCHAR(200) NOT NULL ) ENGINE=CSV DEFAULT CHARSET=utf8 COLLATE=utf8_bin
/*!*/;
# at 7703
#140315 12:30:02 server id 8798000 end_log_pos 7780 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857802/*!*/;
BEGIN
/*!*/;
# at 7780
#140315 12:30:02 server id 8798000 end_log_pos 8028 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857802/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948578000536710,'mysqlbackup',0,'NO_ERROR','Started mysqlbackup.')
/*!*/;
# at 8028
#140315 12:30:02 server id 8798000 end_log_pos 8106 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857802/*!*/;
COMMIT
/*!*/;
# at 8106
#140315 12:30:03 server id 8798000 end_log_pos 8183 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857803/*!*/;
BEGIN
/*!*/;
# at 8183
#140315 12:30:03 server id 8798000 end_log_pos 8476 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857803/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948578000536710,'mysqlbackup',0,'NO_ERROR','mysqlbackup locking tables and copying .frm + other engines data.')
/*!*/;
# at 8476
#140315 12:30:03 server id 8798000 end_log_pos 8554 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857803/*!*/;
COMMIT
/*!*/;
# at 8554
#140315 12:30:03 server id 8798000 end_log_pos 8689 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857803/*!*/;
DROP TABLE IF EXISTS `ibbackup_binlog_marker` /* generated by server */
/*!*/;
# at 8689
#140315 12:30:03 server id 8798000 end_log_pos 8822 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857803/*!*/;
SET @@session.pseudo_thread_id=30565/*!*/;
CREATE TEMPORARY TABLE ibbackup_binlog_marker (a INT) ENGINE = INNODB
/*!*/;
# at 8822
#140315 12:30:03 server id 8798000 end_log_pos 8891 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857803/*!*/;
BEGIN
/*!*/;
# at 8891
#140315 12:30:03 server id 8798000 end_log_pos 8999 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857803/*!*/;
INSERT INTO ibbackup_binlog_marker VALUES(1)
/*!*/;
# at 8999
#140315 12:30:03 server id 8798000 end_log_pos 9069 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857803/*!*/;
COMMIT
/*!*/;
# at 9069
#140315 12:30:03 server id 8798000 end_log_pos 9138 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857803/*!*/;
BEGIN
/*!*/;
# at 9138
#140315 12:30:03 server id 8798000 end_log_pos 9246 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857803/*!*/;
INSERT INTO ibbackup_binlog_marker VALUES(2)
/*!*/;
# at 9246
#140315 12:30:03 server id 8798000 end_log_pos 9316 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857803/*!*/;
COMMIT
/*!*/;
# at 9316
#140315 12:30:03 server id 8798000 end_log_pos 9397 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857803/*!*/;
FLUSH ENGINE LOGS
/*!*/;
# at 9397
#140315 12:30:04 server id 8798000 end_log_pos 9542 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857804/*!*/;
DROP TEMPORARY TABLE IF EXISTS `ibbackup_binlog_marker` /* generated by server */
/*!*/;
# at 9542
#140315 12:30:04 server id 8798000 end_log_pos 9619 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857804/*!*/;
BEGIN
/*!*/;
# at 9619
#140315 12:30:04 server id 8798000 end_log_pos 9879 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857804/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948578000536710,'mysqlbackup',0,'NO_ERROR','mysqlbackup unlocked the tables.')
/*!*/;
# at 9879
#140315 12:30:04 server id 8798000 end_log_pos 9957 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857804/*!*/;
COMMIT
/*!*/;
# at 9957
#140315 12:30:07 server id 8798000 end_log_pos 11135 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857807/*!*/;
CREATE TABLE IF NOT EXISTS mysql.backup_history( `backup_id` BIGINT NOT NULL, `tool_name` VARCHAR(4096) NOT NULL, `start_time` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00', `end_time` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00', `binlog_pos` BIGINT NOT NULL, `binlog_file` VARCHAR(255) NOT NULL, `compression_level` INT NOT NULL, `engines` VARCHAR(100) NOT NULL, `innodb_data_file_path` VARCHAR(2048) NOT NULL, `innodb_file_format` VARCHAR(100) NOT NULL, `start_lsn` BIGINT NOT NULL, `end_lsn` BIGINT NOT NULL, `incremental_base_lsn` BIGINT NOT NULL, `backup_type` VARCHAR(50) NOT NULL, `backup_format` VARCHAR(50) NOT NULL, `mysql_data_dir` VARCHAR(2048) NOT NULL, `innodb_data_home_dir` VARCHAR(2048) NOT NULL, `innodb_log_group_home_dir` VARCHAR(2048) NOT NULL, `innodb_log_files_in_group` VARCHAR(100) NOT NULL, `innodb_log_file_size` VARCHAR(100) NOT NULL, `backup_destination` VARCHAR(4096) NOT NULL, `lock_time` DOUBLE PRECISION (7,3) NOT NULL, `exit_state` VARCHAR(10) NOT NULL, `last_error` VARCHAR(4096) NOT NULL, `last_error_code` INT NOT NULL ) ENGINE=CSV DEFAULT CHARSET=utf8 COLLATE=utf8_bin
/*!*/;
# at 11135
#140315 12:30:07 server id 8798000 end_log_pos 11212 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857807/*!*/;
BEGIN
/*!*/;
# at 11212
#140315 12:30:07 server id 8798000 end_log_pos 11468 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857807/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948578000536710,'mysqlbackup',0,'NO_ERROR','mysqlbackup returns success.')
/*!*/;
# at 11468
#140315 12:30:07 server id 8798000 end_log_pos 11546 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857807/*!*/;
COMMIT
/*!*/;
# at 11546
#140315 12:30:07 server id 8798000 end_log_pos 11623 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857807/*!*/;
BEGIN
/*!*/;
# at 11623
#140315 12:30:07 server id 8798000 end_log_pos 12907 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857807/*!*/;
INSERT INTO mysql.backup_history(backup_id, tool_name, start_time, end_time, binlog_pos, binlog_file, compression_level, engines, innodb_data_file_path, innodb_file_format, start_lsn, end_lsn, incremental_base_lsn, backup_type, backup_format, mysql_data_dir, innodb_data_home_dir, innodb_log_group_home_dir, innodb_log_files_in_group, innodb_log_file_size, backup_destination, lock_time, exit_state, last_error, last_error_code ) VALUES(13948578000536710,'/opt/actiontech-ha/bin/mysqlbackup --user=root --password=xxxx --host=127.0.0.1 --port=3333 --incremental --start-lsn=1328246519 --backup-dir=/tmp/mysql-926522694/2014-03-15_12-30-00 --backup-image=/opt/actiontech-ha/mysql-backup/2014-03-15_04-30-00/2014-03-15_12-30-00 --slave-info --skip-messages-logdir --read-threads=3 --process-threads=6 --write-threads=3 backup-to-image ','2014-03-15 12:30:00','2014-03-15 12:30:05',9397,'mysql-bin.000004',0,'MEMORY:MyISAM:CSV:PERFORMANCE_SCHEMA:InnoDB:','ibdata1:1G:autoextend','Barracuda',1328246520,1328260035,0,'INCREMENTAL','IMAGE','/home/ACTIONTECH-HA/mysql-install/data/','','/home/ACTIONTECH-HA/mysql-install/data/','2','268435456','/tmp/mysql-926522694/2014-03-15_12-30-00',0.623682,'SUCCESS','NO_ERROR',0)
/*!*/;
# at 12907
#140315 12:30:07 server id 8798000 end_log_pos 12985 Query thread_id=30565 exec_time=0 error_code=0
SET TIMESTAMP=1394857807/*!*/;
COMMIT
/*!*/;
# at 12985
#140315 13:00:03 server id 154063000 end_log_pos 13120 Query thread_id=32959 exec_time=0 error_code=0
SET TIMESTAMP=1394859603/*!*/;
DROP TABLE IF EXISTS `ibbackup_binlog_marker` /* generated by server */
/*!*/;
# at 13120
#140315 13:00:03 server id 154063000 end_log_pos 13253 Query thread_id=32959 exec_time=0 error_code=0
SET TIMESTAMP=1394859603/*!*/;
SET @@session.pseudo_thread_id=32959/*!*/;
CREATE TEMPORARY TABLE ibbackup_binlog_marker (a INT) ENGINE = INNODB
/*!*/;
# at 13253
#140315 13:00:03 server id 154063000 end_log_pos 13322 Query thread_id=32959 exec_time=0 error_code=0
SET TIMESTAMP=1394859603/*!*/;
BEGIN
/*!*/;
# at 13322
#140315 13:00:03 server id 154063000 end_log_pos 13430 Query thread_id=32959 exec_time=0 error_code=0
SET TIMESTAMP=1394859603/*!*/;
INSERT INTO ibbackup_binlog_marker VALUES(1)
/*!*/;
# at 13430
#140315 13:00:03 server id 154063000 end_log_pos 13500 Query thread_id=32959 exec_time=0 error_code=0
SET TIMESTAMP=1394859603/*!*/;
COMMIT
/*!*/;
# at 13500
#140315 13:00:03 server id 154063000 end_log_pos 13569 Query thread_id=32959 exec_time=0 error_code=0
SET TIMESTAMP=1394859603/*!*/;
BEGIN
/*!*/;
# at 13569
#140315 13:00:03 server id 154063000 end_log_pos 13677 Query thread_id=32959 exec_time=0 error_code=0
SET TIMESTAMP=1394859603/*!*/;
INSERT INTO ibbackup_binlog_marker VALUES(2)
/*!*/;
# at 13677
#140315 13:00:03 server id 154063000 end_log_pos 13747 Query thread_id=32959 exec_time=0 error_code=0
SET TIMESTAMP=1394859603/*!*/;
COMMIT
/*!*/;
# at 13747
#140315 13:00:03 server id 154063000 end_log_pos 13828 Query thread_id=32959 exec_time=0 error_code=0
SET TIMESTAMP=1394859603/*!*/;
FLUSH ENGINE LOGS
/*!*/;
# at 13828
#140315 13:00:05 server id 154063000 end_log_pos 13973 Query thread_id=32959 exec_time=0 error_code=0
SET TIMESTAMP=1394859605/*!*/;
DROP TEMPORARY TABLE IF EXISTS `ibbackup_binlog_marker` /* generated by server */
/*!*/;
# at 13973
#140315 13:30:00 server id 8798000 end_log_pos 14409 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861400/*!*/;
CREATE TABLE IF NOT EXISTS mysql.backup_progress( `backup_id` BIGINT NOT NULL, `tool_name` VARCHAR(4096) NOT NULL, `error_code` INT NOT NULL, `error_message` VARCHAR(4096) NOT NULL, `current_time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,`current_state` VARCHAR(200) NOT NULL ) ENGINE=CSV DEFAULT CHARSET=utf8 COLLATE=utf8_bin
/*!*/;
# at 14409
#140315 13:30:02 server id 8798000 end_log_pos 14486 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861402/*!*/;
BEGIN
/*!*/;
# at 14486
#140315 13:30:02 server id 8798000 end_log_pos 14734 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861402/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948614000558290,'mysqlbackup',0,'NO_ERROR','Started mysqlbackup.')
/*!*/;
# at 14734
#140315 13:30:02 server id 8798000 end_log_pos 14812 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861402/*!*/;
COMMIT
/*!*/;
# at 14812
#140315 13:30:03 server id 8798000 end_log_pos 14889 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861403/*!*/;
BEGIN
/*!*/;
# at 14889
#140315 13:30:03 server id 8798000 end_log_pos 15182 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861403/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948614000558290,'mysqlbackup',0,'NO_ERROR','mysqlbackup locking tables and copying .frm + other engines data.')
/*!*/;
# at 15182
#140315 13:30:03 server id 8798000 end_log_pos 15260 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861403/*!*/;
COMMIT
/*!*/;
# at 15260
#140315 13:30:03 server id 8798000 end_log_pos 15395 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861403/*!*/;
DROP TABLE IF EXISTS `ibbackup_binlog_marker` /* generated by server */
/*!*/;
# at 15395
#140315 13:30:03 server id 8798000 end_log_pos 15528 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861403/*!*/;
SET @@session.pseudo_thread_id=34066/*!*/;
CREATE TEMPORARY TABLE ibbackup_binlog_marker (a INT) ENGINE = INNODB
/*!*/;
# at 15528
#140315 13:30:03 server id 8798000 end_log_pos 15597 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861403/*!*/;
BEGIN
/*!*/;
# at 15597
#140315 13:30:03 server id 8798000 end_log_pos 15705 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861403/*!*/;
INSERT INTO ibbackup_binlog_marker VALUES(1)
/*!*/;
# at 15705
#140315 13:30:03 server id 8798000 end_log_pos 15775 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861403/*!*/;
COMMIT
/*!*/;
# at 15775
#140315 13:30:03 server id 8798000 end_log_pos 15844 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861403/*!*/;
BEGIN
/*!*/;
# at 15844
#140315 13:30:03 server id 8798000 end_log_pos 15952 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861403/*!*/;
INSERT INTO ibbackup_binlog_marker VALUES(2)
/*!*/;
# at 15952
#140315 13:30:03 server id 8798000 end_log_pos 16022 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861403/*!*/;
COMMIT
/*!*/;
# at 16022
#140315 13:30:03 server id 8798000 end_log_pos 16103 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861403/*!*/;
FLUSH ENGINE LOGS
/*!*/;
# at 16103
#140315 13:30:05 server id 8798000 end_log_pos 16248 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861405/*!*/;
DROP TEMPORARY TABLE IF EXISTS `ibbackup_binlog_marker` /* generated by server */
/*!*/;
# at 16248
#140315 13:30:05 server id 8798000 end_log_pos 16325 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861405/*!*/;
BEGIN
/*!*/;
# at 16325
#140315 13:30:05 server id 8798000 end_log_pos 16585 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861405/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948614000558290,'mysqlbackup',0,'NO_ERROR','mysqlbackup unlocked the tables.')
/*!*/;
# at 16585
#140315 13:30:05 server id 8798000 end_log_pos 16663 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861405/*!*/;
COMMIT
/*!*/;
# at 16663
#140315 13:30:08 server id 8798000 end_log_pos 17841 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861408/*!*/;
CREATE TABLE IF NOT EXISTS mysql.backup_history( `backup_id` BIGINT NOT NULL, `tool_name` VARCHAR(4096) NOT NULL, `start_time` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00', `end_time` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00', `binlog_pos` BIGINT NOT NULL, `binlog_file` VARCHAR(255) NOT NULL, `compression_level` INT NOT NULL, `engines` VARCHAR(100) NOT NULL, `innodb_data_file_path` VARCHAR(2048) NOT NULL, `innodb_file_format` VARCHAR(100) NOT NULL, `start_lsn` BIGINT NOT NULL, `end_lsn` BIGINT NOT NULL, `incremental_base_lsn` BIGINT NOT NULL, `backup_type` VARCHAR(50) NOT NULL, `backup_format` VARCHAR(50) NOT NULL, `mysql_data_dir` VARCHAR(2048) NOT NULL, `innodb_data_home_dir` VARCHAR(2048) NOT NULL, `innodb_log_group_home_dir` VARCHAR(2048) NOT NULL, `innodb_log_files_in_group` VARCHAR(100) NOT NULL, `innodb_log_file_size` VARCHAR(100) NOT NULL, `backup_destination` VARCHAR(4096) NOT NULL, `lock_time` DOUBLE PRECISION (7,3) NOT NULL, `exit_state` VARCHAR(10) NOT NULL, `last_error` VARCHAR(4096) NOT NULL, `last_error_code` INT NOT NULL ) ENGINE=CSV DEFAULT CHARSET=utf8 COLLATE=utf8_bin
/*!*/;
# at 17841
#140315 13:30:08 server id 8798000 end_log_pos 17918 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861408/*!*/;
BEGIN
/*!*/;
# at 17918
#140315 13:30:08 server id 8798000 end_log_pos 18174 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861408/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948614000558290,'mysqlbackup',0,'NO_ERROR','mysqlbackup returns success.')
/*!*/;
# at 18174
#140315 13:30:08 server id 8798000 end_log_pos 18252 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861408/*!*/;
COMMIT
/*!*/;
# at 18252
#140315 13:30:08 server id 8798000 end_log_pos 18329 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861408/*!*/;
BEGIN
/*!*/;
# at 18329
#140315 13:30:08 server id 8798000 end_log_pos 19614 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861408/*!*/;
INSERT INTO mysql.backup_history(backup_id, tool_name, start_time, end_time, binlog_pos, binlog_file, compression_level, engines, innodb_data_file_path, innodb_file_format, start_lsn, end_lsn, incremental_base_lsn, backup_type, backup_format, mysql_data_dir, innodb_data_home_dir, innodb_log_group_home_dir, innodb_log_files_in_group, innodb_log_file_size, backup_destination, lock_time, exit_state, last_error, last_error_code ) VALUES(13948614000558290,'/opt/actiontech-ha/bin/mysqlbackup --user=root --password=xxxx --host=127.0.0.1 --port=3333 --incremental --start-lsn=1328260035 --backup-dir=/tmp/mysql-358856685/2014-03-15_13-30-00 --backup-image=/opt/actiontech-ha/mysql-backup/2014-03-15_04-30-00/2014-03-15_13-30-00 --slave-info --skip-messages-logdir --read-threads=3 --process-threads=6 --write-threads=3 backup-to-image ','2014-03-15 13:30:00','2014-03-15 13:30:06',16103,'mysql-bin.000004',0,'MEMORY:MyISAM:CSV:PERFORMANCE_SCHEMA:InnoDB:','ibdata1:1G:autoextend','Barracuda',1328260036,1328273462,0,'INCREMENTAL','IMAGE','/home/ACTIONTECH-HA/mysql-install/data/','','/home/ACTIONTECH-HA/mysql-install/data/','2','268435456','/tmp/mysql-358856685/2014-03-15_13-30-00',1.707628,'SUCCESS','NO_ERROR',0)
/*!*/;
# at 19614
#140315 13:30:08 server id 8798000 end_log_pos 19692 Query thread_id=34066 exec_time=0 error_code=0
SET TIMESTAMP=1394861408/*!*/;
COMMIT
/*!*/;
# at 19692
#140315 14:00:03 server id 154063000 end_log_pos 19827 Query thread_id=36469 exec_time=0 error_code=0
SET TIMESTAMP=1394863203/*!*/;
DROP TABLE IF EXISTS `ibbackup_binlog_marker` /* generated by server */
/*!*/;
# at 19827
#140315 14:00:03 server id 154063000 end_log_pos 19960 Query thread_id=36469 exec_time=0 error_code=0
SET TIMESTAMP=1394863203/*!*/;
SET @@session.pseudo_thread_id=36469/*!*/;
CREATE TEMPORARY TABLE ibbackup_binlog_marker (a INT) ENGINE = INNODB
/*!*/;
# at 19960
#140315 14:00:03 server id 154063000 end_log_pos 20029 Query thread_id=36469 exec_time=0 error_code=0
SET TIMESTAMP=1394863203/*!*/;
BEGIN
/*!*/;
# at 20029
#140315 14:00:03 server id 154063000 end_log_pos 20137 Query thread_id=36469 exec_time=0 error_code=0
SET TIMESTAMP=1394863203/*!*/;
INSERT INTO ibbackup_binlog_marker VALUES(1)
/*!*/;
# at 20137
#140315 14:00:03 server id 154063000 end_log_pos 20207 Query thread_id=36469 exec_time=0 error_code=0
SET TIMESTAMP=1394863203/*!*/;
COMMIT
/*!*/;
# at 20207
#140315 14:00:03 server id 154063000 end_log_pos 20276 Query thread_id=36469 exec_time=0 error_code=0
SET TIMESTAMP=1394863203/*!*/;
BEGIN
/*!*/;
# at 20276
#140315 14:00:03 server id 154063000 end_log_pos 20384 Query thread_id=36469 exec_time=0 error_code=0
SET TIMESTAMP=1394863203/*!*/;
INSERT INTO ibbackup_binlog_marker VALUES(2)
/*!*/;
# at 20384
#140315 14:00:03 server id 154063000 end_log_pos 20454 Query thread_id=36469 exec_time=0 error_code=0
SET TIMESTAMP=1394863203/*!*/;
COMMIT
/*!*/;
# at 20454
#140315 14:00:03 server id 154063000 end_log_pos 20535 Query thread_id=36469 exec_time=0 error_code=0
SET TIMESTAMP=1394863203/*!*/;
FLUSH ENGINE LOGS
/*!*/;
# at 20535
#140315 14:00:04 server id 154063000 end_log_pos 20680 Query thread_id=36469 exec_time=0 error_code=0
SET TIMESTAMP=1394863204/*!*/;
DROP TEMPORARY TABLE IF EXISTS `ibbackup_binlog_marker` /* generated by server */
/*!*/;
# at 20680
#140315 14:30:00 server id 8798000 end_log_pos 21116 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865000/*!*/;
CREATE TABLE IF NOT EXISTS mysql.backup_progress( `backup_id` BIGINT NOT NULL, `tool_name` VARCHAR(4096) NOT NULL, `error_code` INT NOT NULL, `error_message` VARCHAR(4096) NOT NULL, `current_time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,`current_state` VARCHAR(200) NOT NULL ) ENGINE=CSV DEFAULT CHARSET=utf8 COLLATE=utf8_bin
/*!*/;
# at 21116
#140315 14:30:02 server id 8798000 end_log_pos 21193 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865002/*!*/;
BEGIN
/*!*/;
# at 21193
#140315 14:30:02 server id 8798000 end_log_pos 21441 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865002/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948650000487610,'mysqlbackup',0,'NO_ERROR','Started mysqlbackup.')
/*!*/;
# at 21441
#140315 14:30:02 server id 8798000 end_log_pos 21519 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865002/*!*/;
COMMIT
/*!*/;
# at 21519
#140315 14:30:03 server id 8798000 end_log_pos 21596 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865003/*!*/;
BEGIN
/*!*/;
# at 21596
#140315 14:30:03 server id 8798000 end_log_pos 21889 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865003/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948650000487610,'mysqlbackup',0,'NO_ERROR','mysqlbackup locking tables and copying .frm + other engines data.')
/*!*/;
# at 21889
#140315 14:30:03 server id 8798000 end_log_pos 21967 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865003/*!*/;
COMMIT
/*!*/;
# at 21967
#140315 14:30:03 server id 8798000 end_log_pos 22102 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865003/*!*/;
DROP TABLE IF EXISTS `ibbackup_binlog_marker` /* generated by server */
/*!*/;
# at 22102
#140315 14:30:03 server id 8798000 end_log_pos 22235 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865003/*!*/;
SET @@session.pseudo_thread_id=37568/*!*/;
CREATE TEMPORARY TABLE ibbackup_binlog_marker (a INT) ENGINE = INNODB
/*!*/;
# at 22235
#140315 14:30:03 server id 8798000 end_log_pos 22304 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865003/*!*/;
BEGIN
/*!*/;
# at 22304
#140315 14:30:03 server id 8798000 end_log_pos 22412 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865003/*!*/;
INSERT INTO ibbackup_binlog_marker VALUES(1)
/*!*/;
# at 22412
#140315 14:30:03 server id 8798000 end_log_pos 22482 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865003/*!*/;
COMMIT
/*!*/;
# at 22482
#140315 14:30:03 server id 8798000 end_log_pos 22551 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865003/*!*/;
BEGIN
/*!*/;
# at 22551
#140315 14:30:03 server id 8798000 end_log_pos 22659 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865003/*!*/;
INSERT INTO ibbackup_binlog_marker VALUES(2)
/*!*/;
# at 22659
#140315 14:30:03 server id 8798000 end_log_pos 22729 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865003/*!*/;
COMMIT
/*!*/;
# at 22729
#140315 14:30:03 server id 8798000 end_log_pos 22810 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865003/*!*/;
FLUSH ENGINE LOGS
/*!*/;
# at 22810
#140315 14:30:05 server id 8798000 end_log_pos 22955 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865005/*!*/;
DROP TEMPORARY TABLE IF EXISTS `ibbackup_binlog_marker` /* generated by server */
/*!*/;
# at 22955
#140315 14:30:05 server id 8798000 end_log_pos 23032 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865005/*!*/;
BEGIN
/*!*/;
# at 23032
#140315 14:30:05 server id 8798000 end_log_pos 23292 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865005/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948650000487610,'mysqlbackup',0,'NO_ERROR','mysqlbackup unlocked the tables.')
/*!*/;
# at 23292
#140315 14:30:05 server id 8798000 end_log_pos 23370 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865005/*!*/;
COMMIT
/*!*/;
# at 23370
#140315 14:30:08 server id 8798000 end_log_pos 24548 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865008/*!*/;
CREATE TABLE IF NOT EXISTS mysql.backup_history( `backup_id` BIGINT NOT NULL, `tool_name` VARCHAR(4096) NOT NULL, `start_time` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00', `end_time` TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00', `binlog_pos` BIGINT NOT NULL, `binlog_file` VARCHAR(255) NOT NULL, `compression_level` INT NOT NULL, `engines` VARCHAR(100) NOT NULL, `innodb_data_file_path` VARCHAR(2048) NOT NULL, `innodb_file_format` VARCHAR(100) NOT NULL, `start_lsn` BIGINT NOT NULL, `end_lsn` BIGINT NOT NULL, `incremental_base_lsn` BIGINT NOT NULL, `backup_type` VARCHAR(50) NOT NULL, `backup_format` VARCHAR(50) NOT NULL, `mysql_data_dir` VARCHAR(2048) NOT NULL, `innodb_data_home_dir` VARCHAR(2048) NOT NULL, `innodb_log_group_home_dir` VARCHAR(2048) NOT NULL, `innodb_log_files_in_group` VARCHAR(100) NOT NULL, `innodb_log_file_size` VARCHAR(100) NOT NULL, `backup_destination` VARCHAR(4096) NOT NULL, `lock_time` DOUBLE PRECISION (7,3) NOT NULL, `exit_state` VARCHAR(10) NOT NULL, `last_error` VARCHAR(4096) NOT NULL, `last_error_code` INT NOT NULL ) ENGINE=CSV DEFAULT CHARSET=utf8 COLLATE=utf8_bin
/*!*/;
# at 24548
#140315 14:30:08 server id 8798000 end_log_pos 24625 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865008/*!*/;
BEGIN
/*!*/;
# at 24625
#140315 14:30:08 server id 8798000 end_log_pos 24881 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865008/*!*/;
INSERT INTO mysql.backup_progress( backup_id, tool_name, error_code, error_message, current_state ) VALUES (13948650000487610,'mysqlbackup',0,'NO_ERROR','mysqlbackup returns success.')
/*!*/;
# at 24881
#140315 14:30:08 server id 8798000 end_log_pos 24959 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865008/*!*/;
COMMIT
/*!*/;
# at 24959
#140315 14:30:08 server id 8798000 end_log_pos 25036 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865008/*!*/;
BEGIN
/*!*/;
# at 25036
#140315 14:30:08 server id 8798000 end_log_pos 26321 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865008/*!*/;
INSERT INTO mysql.backup_history(backup_id, tool_name, start_time, end_time, binlog_pos, binlog_file, compression_level, engines, innodb_data_file_path, innodb_file_format, start_lsn, end_lsn, incremental_base_lsn, backup_type, backup_format, mysql_data_dir, innodb_data_home_dir, innodb_log_group_home_dir, innodb_log_files_in_group, innodb_log_file_size, backup_destination, lock_time, exit_state, last_error, last_error_code ) VALUES(13948650000487610,'/opt/actiontech-ha/bin/mysqlbackup --user=root --password=xxxx --host=127.0.0.1 --port=3333 --incremental --start-lsn=1328273462 --backup-dir=/tmp/mysql-274379880/2014-03-15_14-30-00 --backup-image=/opt/actiontech-ha/mysql-backup/2014-03-15_04-30-00/2014-03-15_14-30-00 --slave-info --skip-messages-logdir --read-threads=3 --process-threads=6 --write-threads=3 backup-to-image ','2014-03-15 14:30:00','2014-03-15 14:30:06',22810,'mysql-bin.000004',0,'MEMORY:MyISAM:CSV:PERFORMANCE_SCHEMA:InnoDB:','ibdata1:1G:autoextend','Barracuda',1328273463,1328286877,0,'INCREMENTAL','IMAGE','/home/ACTIONTECH-HA/mysql-install/data/','','/home/ACTIONTECH-HA/mysql-install/data/','2','268435456','/tmp/mysql-274379880/2014-03-15_14-30-00',1.636068,'SUCCESS','NO_ERROR',0)
/*!*/;
# at 26321
#140315 14:30:08 server id 8798000 end_log_pos 26399 Query thread_id=37568 exec_time=0 error_code=0
SET TIMESTAMP=1394865008/*!*/;
COMMIT
/*!*/;
DELIMITER ;
# End of log file
ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/;