一.安装percona-xtrabackup


1.下载软件

percona-xtrabackup-2.2.10.tar.gz


下载网址

http://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-2.2.10/source/


2.修改profile


export LD_LIBRARY_PATH=/opt/mysql/lib


3.编译安装

tar zxvf percona-xtrabackup-2.2.10.tar.gz

cd percona-xtrabackup-2.2.10

cmake .

make -j4

make install


4.修改profile文件PATH变量


export PATH=/opt/mysql/bin:/usr/local/xtrabackup/bin:$PATH



5.安装perl 模块


Test-Simple-1.001014


# perl Makefile.PL

# make

# make test

Result: PASS

# make install


Test-NoWarnings-1.04


# perl Makefile.PL

# make

# make test

Result: PASS

# make install


Test-Deep-0.115


# perl Makefile.PL

# make

# make test

Result: PASS

# make install


DBD-mysql-4.031


# perl Makefile.PL

# make

# make test

Result: PASS

# make install




二、备份测试


1.全备份


[root@mdb01 ~]# mkdir -p /data/backup/full

# innobackupex --defaults-file=/opt/mysql/my.cnf --user=root --password=abc123 /data/backup/full/


InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy

and Percona LLC and/or its affiliates 2009-2013.  All Rights Reserved.


This software is published under

the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.


150503 15:19:39  innobackupex: Connecting to MySQL server with DSN 'dbi:mysql:;mysql_read_default_file=/opt/mysql/my.cnf;mysql_read_default_group=xtrabackup' as 'root'  (using password: YES).

150503 15:19:39  innobackupex: Connected to MySQL server

150503 15:19:39  innobackupex: Executing a version check against the server...

150503 15:19:40  innobackupex: Done.

150503 15:19:40  innobackupex: Starting the backup operation


IMPORTANT: Please check that the backup run completes successfully.

           At the end of a successful backup run innobackupex

           prints "completed OK!".


innobackupex:  Using server version 5.6.24-log


innobackupex: Created backup directory /data/backup/full/2015-05-03_15-19-40


150503 15:19:40  innobackupex: Starting ibbackup with command: xtrabackup  --defaults-file="/opt/mysql/my.cnf"  --defaults-group="mysqld" --backup --suspend-at-end --target-dir=/data/backup/full/2015-05-03_15-19-40 --innodb_log_file_size="50331648" --innodb_data_file_path="ibdata1:12M:autoextend" --tmpdir=/tmp --extra-lsndir='/tmp'

innobackupex: Waiting for ibbackup (pid=13662) to suspend

innobackupex: Suspend file '/data/backup/full/2015-05-03_15-19-40/xtrabackup_suspended_2'


xtrabackup version 2.2.10 based on MySQL server 5.6.22 Linux (x86_64) (revision id: )

xtrabackup: uses posix_fadvise().

xtrabackup: cd to /opt/mysql/data

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

>> log scanned up to (1914616)

xtrabackup: Generating a list of tablespaces

[01] Copying ./ibdata1 to /data/backup/full/2015-05-03_15-19-40/ibdata1

>> log scanned up to (1914616)

[01]        ...done

[01] Copying ./test/emp.ibd to /data/backup/full/2015-05-03_15-19-40/test/emp.ibd

[01]        ...done

[01] Copying ./mysql/slave_master_info.ibd to /data/backup/full/2015-05-03_15-19-40/mysql/slave_master_info.ibd

[01]        ...done

[01] Copying ./mysql/slave_relay_log_info.ibd to /data/backup/full/2015-05-03_15-19-40/mysql/slave_relay_log_info.ibd

[01]        ...done

[01] Copying ./mysql/innodb_table_stats.ibd to /data/backup/full/2015-05-03_15-19-40/mysql/innodb_table_stats.ibd

[01]        ...done

[01] Copying ./mysql/innodb_index_stats.ibd to /data/backup/full/2015-05-03_15-19-40/mysql/innodb_index_stats.ibd

[01]        ...done

>> log scanned up to (1914616)

[01] Copying ./mysql/slave_worker_info.ibd to /data/backup/full/2015-05-03_15-19-40/mysql/slave_worker_info.ibd

[01]        ...done

xtrabackup: Creating suspend file '/data/backup/full/2015-05-03_15-19-40/xtrabackup_suspended_2' with pid '13662'


150503 15:19:43  innobackupex: Continuing after ibbackup has suspended

150503 15:19:43  innobackupex: Executing FLUSH TABLES WITH READ LOCK...

150503 15:19:43  innobackupex: All tables locked and flushed to disk


150503 15:19:43  innobackupex: Starting to backup non-InnoDB tables and files

innobackupex: in subdirectories of '/opt/mysql/data/'

innobackupex: Backing up file '/opt/mysql/data//test/emp.frm'

innobackupex: Backing up file '/opt/mysql/data//test/db.opt'

innobackupex: Backing up files '/opt/mysql/data//performance_schema/*.{frm,isl,MYD,MYI,MAD,MAI,MRG,TRG,TRN,ARM,ARZ,CSM,CSV,opt,par}' (53 files)

>> log scanned up to (1914616)

innobackupex: Backing up files '/opt/mysql/data//mysql/*.{frm,isl,MYD,MYI,MAD,MAI,MRG,TRG,TRN,ARM,ARZ,CSM,CSV,opt,par}' (74 files)

150503 15:19:43  innobackupex: Finished backing up non-InnoDB tables and files


150503 15:19:43  innobackupex: Executing FLUSH NO_WRITE_TO_BINLOG ENGINE LOGS...

150503 15:19:43  innobackupex: Waiting for log copying to finish


xtrabackup: The latest check point (for incremental): '1914616'

xtrabackup: Stopping log copying thread.

.>> log scanned up to (1914616)


xtrabackup: Creating suspend file '/data/backup/full/2015-05-03_15-19-40/xtrabackup_log_copied' with pid '13662'

xtrabackup: Transaction log of lsn (1914616) to (1914616) was copied.

150503 15:19:44  innobackupex: All tables unlocked


innobackupex: Backup created in directory '/data/backup/full/2015-05-03_15-19-40'

innobackupex: MySQL binlog position: filename 'mdb01-bin.000009', position 238

150503 15:19:44  innobackupex: Connection to database server closed

150503 15:19:44  innobackupex: completed OK!


登陆数据库创建对象


mysql> use test

mysql> create table users(

    ->     id int(4) not null auto_increment,

    ->     name varchar(20) not null,

    ->     primary key (id)

    ->     );

Query OK, 0 rows affected (0.10 sec)


mysql> insert users(name) value("testuser01");

Query OK, 1 row affected (0.01 sec)


mysql> insert users(name) value("testuser02");

Query OK, 1 row affected (0.06 sec)


mysql> select * from users;

+----+------------+

| id | name       |

+----+------------+

|  1 | testuser01 |

|  2 | testuser02 |

+----+------------+

2 rows in set (0.00 sec)


mysql> 



2.增量备份


# mkdir -p /data/backup/incremental/

# innobackupex --defaults-file=/opt/mysql/my.cnf --incremental --incremental-basedir=/data/backup/full/2015-05-03_15-19-40 --user=root --password=abc123 /data/backup/incremental/


InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy

and Percona LLC and/or its affiliates 2009-2013.  All Rights Reserved.


This software is published under

the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.


150503 15:24:38  innobackupex: Connecting to MySQL server with DSN 'dbi:mysql:;mysql_read_default_file=/opt/mysql/my.cnf;mysql_read_default_group=xtrabackup' as 'root'  (using password: YES).

150503 15:24:38  innobackupex: Connected to MySQL server

150503 15:24:38  innobackupex: Executing a version check against the server...

150503 15:24:38  innobackupex: Done.

150503 15:24:38  innobackupex: Starting the backup operation


IMPORTANT: Please check that the backup run completes successfully.

           At the end of a successful backup run innobackupex

           prints "completed OK!".


innobackupex:  Using server version 5.6.24-log


innobackupex: Created backup directory /data/backup/incremental/2015-05-03_15-24-38


150503 15:24:38  innobackupex: Starting ibbackup with command: xtrabackup  --defaults-file="/opt/mysql/my.cnf"  --defaults-group="mysqld" --backup --suspend-at-end --target-dir=/data/backup/incremental/2015-05-03_15-24-38 --innodb_log_file_size="50331648" --innodb_data_file_path="ibdata1:12M:autoextend" --tmpdir=/tmp --extra-lsndir='/tmp' --incremental-basedir='/data/backup/full/2015-05-03_15-19-40'

innobackupex: Waiting for ibbackup (pid=13812) to suspend

innobackupex: Suspend file '/data/backup/incremental/2015-05-03_15-24-38/xtrabackup_suspended_2'


xtrabackup version 2.2.10 based on MySQL server 5.6.22 Linux (x86_64) (revision id: )

incremental backup from 1914616 is enabled.

xtrabackup: uses posix_fadvise().

xtrabackup: cd to /opt/mysql/data

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

>> log scanned up to (1921901)

xtrabackup: Generating a list of tablespaces

xtrabackup: using the full scan for incremental backup

[01] Copying ./ibdata1 to /data/backup/incremental/2015-05-03_15-24-38/ibdata1.delta

[01]        ...done

[01] Copying ./test/users.ibd to /data/backup/incremental/2015-05-03_15-24-38/test/users.ibd.delta

[01]        ...done

[01] Copying ./test/emp.ibd to /data/backup/incremental/2015-05-03_15-24-38/test/emp.ibd.delta

[01]        ...done

[01] Copying ./mysql/slave_master_info.ibd to /data/backup/incremental/2015-05-03_15-24-38/mysql/slave_master_info.ibd.delta

[01]        ...done

>> log scanned up to (1921901)

[01] Copying ./mysql/slave_relay_log_info.ibd to /data/backup/incremental/2015-05-03_15-24-38/mysql/slave_relay_log_info.ibd.delta

[01]        ...done

[01] Copying ./mysql/innodb_table_stats.ibd to /data/backup/incremental/2015-05-03_15-24-38/mysql/innodb_table_stats.ibd.delta

[01]        ...done

[01] Copying ./mysql/innodb_index_stats.ibd to /data/backup/incremental/2015-05-03_15-24-38/mysql/innodb_index_stats.ibd.delta

[01]        ...done

[01] Copying ./mysql/slave_worker_info.ibd to /data/backup/incremental/2015-05-03_15-24-38/mysql/slave_worker_info.ibd.delta

[01]        ...done

xtrabackup: Creating suspend file '/data/backup/incremental/2015-05-03_15-24-38/xtrabackup_suspended_2' with pid '13812'


150503 15:24:40  innobackupex: Continuing after ibbackup has suspended

150503 15:24:40  innobackupex: Executing FLUSH TABLES WITH READ LOCK...

150503 15:24:40  innobackupex: All tables locked and flushed to disk


150503 15:24:40  innobackupex: Starting to backup non-InnoDB tables and files

innobackupex: in subdirectories of '/opt/mysql/data/'

>> log scanned up to (1921901)

innobackupex: Backing up file '/opt/mysql/data//test/emp.frm'

innobackupex: Backing up file '/opt/mysql/data//test/users.frm'

innobackupex: Backing up file '/opt/mysql/data//test/db.opt'

innobackupex: Backing up files '/opt/mysql/data//performance_schema/*.{frm,isl,MYD,MYI,MAD,MAI,MRG,TRG,TRN,ARM,ARZ,CSM,CSV,opt,par}' (53 files)

innobackupex: Backing up files '/opt/mysql/data//mysql/*.{frm,isl,MYD,MYI,MAD,MAI,MRG,TRG,TRN,ARM,ARZ,CSM,CSV,opt,par}' (74 files)

150503 15:24:41  innobackupex: Finished backing up non-InnoDB tables and files


150503 15:24:41  innobackupex: Executing FLUSH NO_WRITE_TO_BINLOG ENGINE LOGS...

150503 15:24:41  innobackupex: Waiting for log copying to finish


xtrabackup: The latest check point (for incremental): '1921901'

xtrabackup: Stopping log copying thread.

.>> log scanned up to (1921901)


xtrabackup: Creating suspend file '/data/backup/incremental/2015-05-03_15-24-38/xtrabackup_log_copied' with pid '13812'

xtrabackup: Transaction log of lsn (1921901) to (1921901) was copied.

150503 15:24:42  innobackupex: All tables unlocked


innobackupex: Backup created in directory '/data/backup/incremental/2015-05-03_15-24-38'

innobackupex: MySQL binlog position: filename 'mdb01-bin.000009', position 936

150503 15:24:42  innobackupex: Connection to database server closed

150503 15:24:42  innobackupex: completed OK!

#


三、恢复实验


1.停止MySQL服务器

# /etc/init.d/mysqld stop

Shutting down MySQL....[  OK  ]

# cd /opt/mysql/

更改目录名称

# mv data datasource

建立还原目录

# mkdir data

# chown mysql.mysql -R data


2、Prepare备份集


1) Prepare完整备份集:


# innobackupex --defaults-file=/opt/mysql/my.cnf --apply-log --redo-only /data/backup/full/2015-05-03_15-19-40 --user=root --password=abc123


InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy

and Percona LLC and/or its affiliates 2009-2013.  All Rights Reserved.


This software is published under

the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.


150503 15:27:43  innobackupex: Starting the apply-log operation


IMPORTANT: Please check that the apply-log run completes successfully.

           At the end of a successful apply-log run innobackupex

           prints "completed OK!".



150503 15:27:43  innobackupex: Starting ibbackup with command: xtrabackup  --defaults-file="/data/backup/full/2015-05-03_15-19-40/backup-my.cnf"  --defaults-group="mysqld" --prepare --target-dir=/data/backup/full/2015-05-03_15-19-40 --apply-log-only


xtrabackup version 2.2.10 based on MySQL server 5.6.22 Linux (x86_64) (revision id: )

xtrabackup: cd to /data/backup/full/2015-05-03_15-19-40

xtrabackup: This target seems to be not prepared yet.

xtrabackup: xtrabackup_logfile detected: size=2097152, start_lsn=(1914616)

xtrabackup: using the following InnoDB configuration for recovery:

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 = 1

xtrabackup:   innodb_log_file_size = 2097152

xtrabackup: using the following InnoDB configuration for recovery:

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 = 1

xtrabackup:   innodb_log_file_size = 2097152

xtrabackup: Starting InnoDB instance for recovery.

xtrabackup: Using 104857600 bytes for buffer pool (set by --use-memory parameter)

InnoDB: Using atomics to ref count buffer pool pages

InnoDB: The InnoDB memory heap is disabled

InnoDB: Mutexes and rw_locks use GCC atomic builtins

InnoDB: Memory barrier is not used

InnoDB: Compressed tables use zlib 1.2.3

InnoDB: Using CPU crc32 instructions

InnoDB: Initializing buffer pool, size = 100.0M

InnoDB: Completed initialization of buffer pool

InnoDB: Highest supported file format is Barracuda.

InnoDB: The log sequence numbers 1912110 and 1912110 in ibdata files do not match the log sequence number 1914616 in the ib_logfiles!

InnoDB: Database was not shutdown normally!

InnoDB: Starting crash recovery.

InnoDB: Reading tablespace information from the .ibd files...

InnoDB: Restoring possible half-written data pages 

InnoDB: from the doublewrite buffer...

InnoDB: Last MySQL binlog file position 0 548, file name mdb01-bin.000008


[notice (again)]

  If you use binary log and don't use any hack of group commit,

  the binary log position seems to be:

InnoDB: Last MySQL binlog file position 0 548, file name mdb01-bin.000008


xtrabackup: starting shutdown with innodb_fast_shutdown = 1

InnoDB: Starting shutdown...

InnoDB: Shutdown completed; log sequence number 1914616

150503 15:27:44  innobackupex: completed OK!

#


2) prepare增量备份


# innobackupex --defaults-file=/opt/mysql/my.cnf --apply-log --redo-only /data/backup/full/2015-05-03_15-19-40 --incremental-dir=/data/backup/incremental/2015-05-03_15-24-38 --user=root --password=abc123


InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy

and Percona LLC and/or its affiliates 2009-2013.  All Rights Reserved.


This software is published under

the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.


150503 15:30:37  innobackupex: Starting the apply-log operation


IMPORTANT: Please check that the apply-log run completes successfully.

           At the end of a successful apply-log run innobackupex

           prints "completed OK!".



150503 15:30:37  innobackupex: Starting ibbackup with command: xtrabackup  --defaults-file="/data/backup/full/2015-05-03_15-19-40/backup-my.cnf"  --defaults-group="mysqld" --prepare --target-dir=/data/backup/full/2015-05-03_15-19-40 --apply-log-only --incremental-dir=/data/backup/incremental/2015-05-03_15-24-38


xtrabackup version 2.2.10 based on MySQL server 5.6.22 Linux (x86_64) (revision id: )

incremental backup from 1914616 is enabled.

xtrabackup: cd to /data/backup/full/2015-05-03_15-19-40

xtrabackup: This target seems to be already prepared with --apply-log-only.

xtrabackup: xtrabackup_logfile detected: size=2097152, start_lsn=(1921901)

xtrabackup: using the following InnoDB configuration for recovery:

xtrabackup:   innodb_data_home_dir = ./

xtrabackup:   innodb_data_file_path = ibdata1:12M:autoextend

xtrabackup:   innodb_log_group_home_dir = /data/backup/incremental/2015-05-03_15-24-38

xtrabackup:   innodb_log_files_in_group = 1

xtrabackup:   innodb_log_file_size = 2097152

xtrabackup: Generating a list of tablespaces

xtrabackup: page size for /data/backup/incremental/2015-05-03_15-24-38/ibdata1.delta is 16384 bytes

Applying /data/backup/incremental/2015-05-03_15-24-38/ibdata1.delta to ./ibdata1...

xtrabackup: page size for /data/backup/incremental/2015-05-03_15-24-38/test/emp.ibd.delta is 16384 bytes

Applying /data/backup/incremental/2015-05-03_15-24-38/test/emp.ibd.delta to ./test/emp.ibd...

xtrabackup: page size for /data/backup/incremental/2015-05-03_15-24-38/test/users.ibd.delta is 16384 bytes

Applying /data/backup/incremental/2015-05-03_15-24-38/test/users.ibd.delta to ./test/users.ibd...

xtrabackup: page size for /data/backup/incremental/2015-05-03_15-24-38/mysql/innodb_index_stats.ibd.delta is 16384 bytes

Applying /data/backup/incremental/2015-05-03_15-24-38/mysql/innodb_index_stats.ibd.delta to ./mysql/innodb_index_stats.ibd...

xtrabackup: page size for /data/backup/incremental/2015-05-03_15-24-38/mysql/slave_relay_log_info.ibd.delta is 16384 bytes

Applying /data/backup/incremental/2015-05-03_15-24-38/mysql/slave_relay_log_info.ibd.delta to ./mysql/slave_relay_log_info.ibd...

xtrabackup: page size for /data/backup/incremental/2015-05-03_15-24-38/mysql/slave_worker_info.ibd.delta is 16384 bytes

Applying /data/backup/incremental/2015-05-03_15-24-38/mysql/slave_worker_info.ibd.delta to ./mysql/slave_worker_info.ibd...

xtrabackup: page size for /data/backup/incremental/2015-05-03_15-24-38/mysql/innodb_table_stats.ibd.delta is 16384 bytes

Applying /data/backup/incremental/2015-05-03_15-24-38/mysql/innodb_table_stats.ibd.delta to ./mysql/innodb_table_stats.ibd...

xtrabackup: page size for /data/backup/incremental/2015-05-03_15-24-38/mysql/slave_master_info.ibd.delta is 16384 bytes

Applying /data/backup/incremental/2015-05-03_15-24-38/mysql/slave_master_info.ibd.delta to ./mysql/slave_master_info.ibd...

xtrabackup: using the following InnoDB configuration for recovery:

xtrabackup:   innodb_data_home_dir = ./

xtrabackup:   innodb_data_file_path = ibdata1:12M:autoextend

xtrabackup:   innodb_log_group_home_dir = /data/backup/incremental/2015-05-03_15-24-38

xtrabackup:   innodb_log_files_in_group = 1

xtrabackup:   innodb_log_file_size = 2097152

xtrabackup: Starting InnoDB instance for recovery.

xtrabackup: Using 104857600 bytes for buffer pool (set by --use-memory parameter)

InnoDB: Using atomics to ref count buffer pool pages

InnoDB: The InnoDB memory heap is disabled

InnoDB: Mutexes and rw_locks use GCC atomic builtins

InnoDB: Memory barrier is not used

InnoDB: Compressed tables use zlib 1.2.3

InnoDB: Using CPU crc32 instructions

InnoDB: Initializing buffer pool, size = 100.0M

InnoDB: Completed initialization of buffer pool

InnoDB: Highest supported file format is Barracuda.

InnoDB: The log sequence numbers 1912110 and 1912110 in ibdata files do not match the log sequence number 1921901 in the ib_logfiles!

InnoDB: Database was not shutdown normally!

InnoDB: Starting crash recovery.

InnoDB: Reading tablespace information from the .ibd files...

InnoDB: Restoring possible half-written data pages 

InnoDB: from the doublewrite buffer...

InnoDB: Last MySQL binlog file position 0 936, file name mdb01-bin.000009


[notice (again)]

  If you use binary log and don't use any hack of group commit,

  the binary log position seems to be:

InnoDB: Last MySQL binlog file position 0 936, file name mdb01-bin.000009


xtrabackup: starting shutdown with innodb_fast_shutdown = 1

InnoDB: Starting shutdown...

InnoDB: Shutdown completed; log sequence number 1921901

innobackupex: Starting to copy non-InnoDB files in '/data/backup/incremental/2015-05-03_15-24-38'

innobackupex: to the full backup directory '/data/backup/full/2015-05-03_15-19-40'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/xtrabackup_binlog_info' to '/data/backup/full/2015-05-03_15-19-40/xtrabackup_binlog_info'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/xtrabackup_info' to '/data/backup/full/2015-05-03_15-19-40/xtrabackup_info'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/test/emp.frm' to '/data/backup/full/2015-05-03_15-19-40/test/emp.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/test/users.frm' to '/data/backup/full/2015-05-03_15-19-40/test/users.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/test/db.opt' to '/data/backup/full/2015-05-03_15-19-40/test/db.opt'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/objects_summary_global_by_type.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/objects_summary_global_by_type.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_stages_summary_by_account_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_summary_by_account_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/threads.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/threads.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/performance_timers.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/performance_timers.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_waits_current.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_current.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_stages_history.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_history.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/socket_summary_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/socket_summary_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/setup_actors.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/setup_actors.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_statements_history.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_history.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/session_connect_attrs.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/session_connect_attrs.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_waits_summary_by_user_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_summary_by_user_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_statements_summary_by_user_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_summary_by_user_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/setup_consumers.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/setup_consumers.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_statements_summary_by_host_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_summary_by_host_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/cond_instances.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/cond_instances.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_stages_summary_by_thread_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_summary_by_thread_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/table_io_waits_summary_by_index_usage.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/table_io_waits_summary_by_index_usage.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/rwlock_instances.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/rwlock_instances.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_stages_current.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_current.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/accounts.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/accounts.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_waits_history_long.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_history_long.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_stages_summary_global_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_summary_global_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/file_instances.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/file_instances.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/users.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/users.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/table_lock_waits_summary_by_table.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/table_lock_waits_summary_by_table.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/socket_summary_by_instance.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/socket_summary_by_instance.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/db.opt' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/db.opt'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_statements_summary_global_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_summary_global_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_statements_summary_by_digest.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_summary_by_digest.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/file_summary_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/file_summary_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/setup_objects.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/setup_objects.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_statements_history_long.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_history_long.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/mutex_instances.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/mutex_instances.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_statements_summary_by_account_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_summary_by_account_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_statements_summary_by_thread_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_summary_by_thread_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/socket_instances.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/socket_instances.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/setup_timers.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/setup_timers.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_waits_summary_global_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_summary_global_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/file_summary_by_instance.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/file_summary_by_instance.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_waits_summary_by_host_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_summary_by_host_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/setup_instruments.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/setup_instruments.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_waits_summary_by_thread_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_summary_by_thread_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/hosts.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/hosts.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_stages_summary_by_host_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_summary_by_host_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/table_io_waits_summary_by_table.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/table_io_waits_summary_by_table.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/host_cache.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/host_cache.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_stages_history_long.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_history_long.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_waits_summary_by_account_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_summary_by_account_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_waits_history.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_history.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_statements_current.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_current.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_waits_summary_by_instance.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_summary_by_instance.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/session_account_connect_attrs.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/session_account_connect_attrs.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/performance_schema/events_stages_summary_by_user_by_event_name.frm' to '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_summary_by_user_by_event_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/proc.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/proc.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/db.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/db.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/proc.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/proc.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/proc.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/proc.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone_transition_type.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_transition_type.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/ndb_binlog_index.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/ndb_binlog_index.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/slow_log.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/slow_log.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/proxies_priv.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/proxies_priv.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/procs_priv.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/procs_priv.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/innodb_index_stats.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/innodb_index_stats.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/servers.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/servers.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone_leap_second.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_leap_second.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/user.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/user.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/func.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/func.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/general_log.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/general_log.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/ndb_binlog_index.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/ndb_binlog_index.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/event.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/event.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/slave_master_info.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/slave_master_info.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone_transition.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_transition.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/func.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/func.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/procs_priv.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/procs_priv.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone_name.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_name.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/help_keyword.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/help_keyword.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/columns_priv.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/columns_priv.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/db.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/db.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/user.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/user.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/event.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/event.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone_transition_type.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_transition_type.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/columns_priv.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/columns_priv.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/tables_priv.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/tables_priv.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/proxies_priv.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/proxies_priv.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/plugin.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/plugin.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/help_relation.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/help_relation.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/help_keyword.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/help_keyword.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/help_topic.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/help_topic.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone_leap_second.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_leap_second.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/slave_worker_info.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/slave_worker_info.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/slave_relay_log_info.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/slave_relay_log_info.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone_transition.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_transition.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/servers.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/servers.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone_transition.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_transition.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/slow_log.CSV' to '/data/backup/full/2015-05-03_15-19-40/mysql/slow_log.CSV'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/help_topic.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/help_topic.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/event.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/event.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/help_topic.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/help_topic.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/plugin.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/plugin.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone_name.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_name.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/columns_priv.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/columns_priv.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/tables_priv.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/tables_priv.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/help_relation.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/help_relation.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/innodb_table_stats.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/innodb_table_stats.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/help_category.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/help_category.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/db.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/db.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/help_category.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/help_category.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/ndb_binlog_index.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/ndb_binlog_index.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone_name.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_name.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/help_category.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/help_category.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/slow_log.CSM' to '/data/backup/full/2015-05-03_15-19-40/mysql/slow_log.CSM'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/help_relation.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/help_relation.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/procs_priv.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/procs_priv.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone_leap_second.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_leap_second.frm'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/user.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/user.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/time_zone_transition_type.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_transition_type.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/general_log.CSV' to '/data/backup/full/2015-05-03_15-19-40/mysql/general_log.CSV'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/tables_priv.MYD' to '/data/backup/full/2015-05-03_15-19-40/mysql/tables_priv.MYD'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/servers.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/servers.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/func.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/func.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/plugin.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/plugin.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/general_log.CSM' to '/data/backup/full/2015-05-03_15-19-40/mysql/general_log.CSM'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/proxies_priv.MYI' to '/data/backup/full/2015-05-03_15-19-40/mysql/proxies_priv.MYI'

innobackupex: Copying '/data/backup/incremental/2015-05-03_15-24-38/mysql/help_keyword.frm' to '/data/backup/full/2015-05-03_15-19-40/mysql/help_keyword.frm'

150503 15:30:39  innobackupex: completed OK!


 

3、执行恢复操作


执行恢复时,my.cnf 文件必须存在datadir参数,/opt/mysql/data.


# innobackupex --defaults-file=/opt/mysql/my.cnf --copy-back /data/backup/full/2015-05-03_15-19-40


InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy

and Percona LLC and/or its affiliates 2009-2013.  All Rights Reserved.


This software is published under

the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.


150503 15:32:40  innobackupex: Starting the copy-back operation


IMPORTANT: Please check that the copy-back run completes successfully.

           At the end of a successful copy-back run innobackupex

           prints "completed OK!".


innobackupex: Starting to copy files in '/data/backup/full/2015-05-03_15-19-40'

innobackupex: back to original data directory '/opt/mysql/data'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/xtrabackup_info' to '/opt/mysql/data/xtrabackup_info'

innobackupex: Creating directory '/opt/mysql/data/test'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/test/users.ibd' to '/opt/mysql/data/test/users.ibd'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/test/emp.frm' to '/opt/mysql/data/test/emp.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/test/users.frm' to '/opt/mysql/data/test/users.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/test/db.opt' to '/opt/mysql/data/test/db.opt'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/test/emp.ibd' to '/opt/mysql/data/test/emp.ibd'

innobackupex: Creating directory '/opt/mysql/data/performance_schema'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/objects_summary_global_by_type.frm' to '/opt/mysql/data/performance_schema/objects_summary_global_by_type.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_summary_by_account_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_stages_summary_by_account_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/threads.frm' to '/opt/mysql/data/performance_schema/threads.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/performance_timers.frm' to '/opt/mysql/data/performance_schema/performance_timers.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_current.frm' to '/opt/mysql/data/performance_schema/events_waits_current.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_history.frm' to '/opt/mysql/data/performance_schema/events_stages_history.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/socket_summary_by_event_name.frm' to '/opt/mysql/data/performance_schema/socket_summary_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/setup_actors.frm' to '/opt/mysql/data/performance_schema/setup_actors.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_history.frm' to '/opt/mysql/data/performance_schema/events_statements_history.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/session_connect_attrs.frm' to '/opt/mysql/data/performance_schema/session_connect_attrs.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_summary_by_user_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_waits_summary_by_user_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_summary_by_user_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_statements_summary_by_user_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/setup_consumers.frm' to '/opt/mysql/data/performance_schema/setup_consumers.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_summary_by_host_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_statements_summary_by_host_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/cond_instances.frm' to '/opt/mysql/data/performance_schema/cond_instances.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_summary_by_thread_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_stages_summary_by_thread_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/table_io_waits_summary_by_index_usage.frm' to '/opt/mysql/data/performance_schema/table_io_waits_summary_by_index_usage.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/rwlock_instances.frm' to '/opt/mysql/data/performance_schema/rwlock_instances.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_current.frm' to '/opt/mysql/data/performance_schema/events_stages_current.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/accounts.frm' to '/opt/mysql/data/performance_schema/accounts.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_history_long.frm' to '/opt/mysql/data/performance_schema/events_waits_history_long.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_summary_global_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_stages_summary_global_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/file_instances.frm' to '/opt/mysql/data/performance_schema/file_instances.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/users.frm' to '/opt/mysql/data/performance_schema/users.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/table_lock_waits_summary_by_table.frm' to '/opt/mysql/data/performance_schema/table_lock_waits_summary_by_table.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/socket_summary_by_instance.frm' to '/opt/mysql/data/performance_schema/socket_summary_by_instance.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/db.opt' to '/opt/mysql/data/performance_schema/db.opt'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_summary_global_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_statements_summary_global_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_summary_by_digest.frm' to '/opt/mysql/data/performance_schema/events_statements_summary_by_digest.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/file_summary_by_event_name.frm' to '/opt/mysql/data/performance_schema/file_summary_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/setup_objects.frm' to '/opt/mysql/data/performance_schema/setup_objects.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_history_long.frm' to '/opt/mysql/data/performance_schema/events_statements_history_long.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/mutex_instances.frm' to '/opt/mysql/data/performance_schema/mutex_instances.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_summary_by_account_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_statements_summary_by_account_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_summary_by_thread_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_statements_summary_by_thread_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/socket_instances.frm' to '/opt/mysql/data/performance_schema/socket_instances.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/setup_timers.frm' to '/opt/mysql/data/performance_schema/setup_timers.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_summary_global_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_waits_summary_global_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/file_summary_by_instance.frm' to '/opt/mysql/data/performance_schema/file_summary_by_instance.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_summary_by_host_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_waits_summary_by_host_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/setup_instruments.frm' to '/opt/mysql/data/performance_schema/setup_instruments.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_summary_by_thread_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_waits_summary_by_thread_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/hosts.frm' to '/opt/mysql/data/performance_schema/hosts.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_summary_by_host_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_stages_summary_by_host_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/table_io_waits_summary_by_table.frm' to '/opt/mysql/data/performance_schema/table_io_waits_summary_by_table.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/host_cache.frm' to '/opt/mysql/data/performance_schema/host_cache.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_history_long.frm' to '/opt/mysql/data/performance_schema/events_stages_history_long.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_summary_by_account_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_waits_summary_by_account_by_event_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_history.frm' to '/opt/mysql/data/performance_schema/events_waits_history.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_statements_current.frm' to '/opt/mysql/data/performance_schema/events_statements_current.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_waits_summary_by_instance.frm' to '/opt/mysql/data/performance_schema/events_waits_summary_by_instance.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/session_account_connect_attrs.frm' to '/opt/mysql/data/performance_schema/session_account_connect_attrs.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/performance_schema/events_stages_summary_by_user_by_event_name.frm' to '/opt/mysql/data/performance_schema/events_stages_summary_by_user_by_event_name.frm'

innobackupex: Creating directory '/opt/mysql/data/mysql'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/proc.MYD' to '/opt/mysql/data/mysql/proc.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/db.MYD' to '/opt/mysql/data/mysql/db.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/proc.frm' to '/opt/mysql/data/mysql/proc.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone.MYD' to '/opt/mysql/data/mysql/time_zone.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/proc.MYI' to '/opt/mysql/data/mysql/proc.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_transition_type.frm' to '/opt/mysql/data/mysql/time_zone_transition_type.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/ndb_binlog_index.frm' to '/opt/mysql/data/mysql/ndb_binlog_index.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/slow_log.frm' to '/opt/mysql/data/mysql/slow_log.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/proxies_priv.MYD' to '/opt/mysql/data/mysql/proxies_priv.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/procs_priv.MYI' to '/opt/mysql/data/mysql/procs_priv.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/slave_master_info.ibd' to '/opt/mysql/data/mysql/slave_master_info.ibd'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/innodb_index_stats.frm' to '/opt/mysql/data/mysql/innodb_index_stats.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/servers.frm' to '/opt/mysql/data/mysql/servers.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_leap_second.MYI' to '/opt/mysql/data/mysql/time_zone_leap_second.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/user.MYI' to '/opt/mysql/data/mysql/user.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/slave_relay_log_info.ibd' to '/opt/mysql/data/mysql/slave_relay_log_info.ibd'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/func.frm' to '/opt/mysql/data/mysql/func.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/general_log.frm' to '/opt/mysql/data/mysql/general_log.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/ndb_binlog_index.MYI' to '/opt/mysql/data/mysql/ndb_binlog_index.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/event.MYD' to '/opt/mysql/data/mysql/event.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/slave_master_info.frm' to '/opt/mysql/data/mysql/slave_master_info.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_transition.frm' to '/opt/mysql/data/mysql/time_zone_transition.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/func.MYD' to '/opt/mysql/data/mysql/func.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/procs_priv.frm' to '/opt/mysql/data/mysql/procs_priv.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/innodb_table_stats.ibd' to '/opt/mysql/data/mysql/innodb_table_stats.ibd'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_name.frm' to '/opt/mysql/data/mysql/time_zone_name.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/help_keyword.MYI' to '/opt/mysql/data/mysql/help_keyword.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/columns_priv.MYD' to '/opt/mysql/data/mysql/columns_priv.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/db.MYI' to '/opt/mysql/data/mysql/db.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/user.frm' to '/opt/mysql/data/mysql/user.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/event.MYI' to '/opt/mysql/data/mysql/event.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone.frm' to '/opt/mysql/data/mysql/time_zone.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_transition_type.MYD' to '/opt/mysql/data/mysql/time_zone_transition_type.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/columns_priv.MYI' to '/opt/mysql/data/mysql/columns_priv.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/tables_priv.MYI' to '/opt/mysql/data/mysql/tables_priv.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/proxies_priv.frm' to '/opt/mysql/data/mysql/proxies_priv.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/plugin.frm' to '/opt/mysql/data/mysql/plugin.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/help_relation.MYI' to '/opt/mysql/data/mysql/help_relation.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/help_keyword.MYD' to '/opt/mysql/data/mysql/help_keyword.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/help_topic.MYD' to '/opt/mysql/data/mysql/help_topic.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_leap_second.MYD' to '/opt/mysql/data/mysql/time_zone_leap_second.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/slave_worker_info.frm' to '/opt/mysql/data/mysql/slave_worker_info.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/slave_relay_log_info.frm' to '/opt/mysql/data/mysql/slave_relay_log_info.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_transition.MYD' to '/opt/mysql/data/mysql/time_zone_transition.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/servers.MYD' to '/opt/mysql/data/mysql/servers.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_transition.MYI' to '/opt/mysql/data/mysql/time_zone_transition.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/slow_log.CSV' to '/opt/mysql/data/mysql/slow_log.CSV'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/help_topic.frm' to '/opt/mysql/data/mysql/help_topic.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/event.frm' to '/opt/mysql/data/mysql/event.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/help_topic.MYI' to '/opt/mysql/data/mysql/help_topic.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/plugin.MYD' to '/opt/mysql/data/mysql/plugin.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_name.MYI' to '/opt/mysql/data/mysql/time_zone_name.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/columns_priv.frm' to '/opt/mysql/data/mysql/columns_priv.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/tables_priv.frm' to '/opt/mysql/data/mysql/tables_priv.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/help_relation.frm' to '/opt/mysql/data/mysql/help_relation.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/innodb_table_stats.frm' to '/opt/mysql/data/mysql/innodb_table_stats.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/help_category.MYD' to '/opt/mysql/data/mysql/help_category.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/innodb_index_stats.ibd' to '/opt/mysql/data/mysql/innodb_index_stats.ibd'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/db.frm' to '/opt/mysql/data/mysql/db.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/help_category.frm' to '/opt/mysql/data/mysql/help_category.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/ndb_binlog_index.MYD' to '/opt/mysql/data/mysql/ndb_binlog_index.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_name.MYD' to '/opt/mysql/data/mysql/time_zone_name.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/help_category.MYI' to '/opt/mysql/data/mysql/help_category.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone.MYI' to '/opt/mysql/data/mysql/time_zone.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/slow_log.CSM' to '/opt/mysql/data/mysql/slow_log.CSM'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/help_relation.MYD' to '/opt/mysql/data/mysql/help_relation.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/procs_priv.MYD' to '/opt/mysql/data/mysql/procs_priv.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_leap_second.frm' to '/opt/mysql/data/mysql/time_zone_leap_second.frm'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/user.MYD' to '/opt/mysql/data/mysql/user.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/time_zone_transition_type.MYI' to '/opt/mysql/data/mysql/time_zone_transition_type.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/general_log.CSV' to '/opt/mysql/data/mysql/general_log.CSV'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/tables_priv.MYD' to '/opt/mysql/data/mysql/tables_priv.MYD'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/servers.MYI' to '/opt/mysql/data/mysql/servers.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/func.MYI' to '/opt/mysql/data/mysql/func.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/plugin.MYI' to '/opt/mysql/data/mysql/plugin.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/slave_worker_info.ibd' to '/opt/mysql/data/mysql/slave_worker_info.ibd'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/general_log.CSM' to '/opt/mysql/data/mysql/general_log.CSM'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/proxies_priv.MYI' to '/opt/mysql/data/mysql/proxies_priv.MYI'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/mysql/help_keyword.frm' to '/opt/mysql/data/mysql/help_keyword.frm'


innobackupex: Starting to copy InnoDB system tablespace

innobackupex: in '/data/backup/full/2015-05-03_15-19-40'

innobackupex: back to original InnoDB data directory '/opt/mysql/data'

innobackupex: Copying '/data/backup/full/2015-05-03_15-19-40/ibdata1' to '/opt/mysql/data/ibdata1'


innobackupex: Starting to copy InnoDB undo tablespaces

innobackupex: in '/data/backup/full/2015-05-03_15-19-40'

innobackupex: back to '/opt/mysql/data'


innobackupex: Starting to copy InnoDB log files

innobackupex: in '/data/backup/full/2015-05-03_15-19-40'

innobackupex: back to original InnoDB log directory '/opt/mysql/data'

innobackupex: Finished copying back files.


150503 15:32:42  innobackupex: completed OK!


4.恢复后续操作

# pwd

/opt/mysql

# touch /opt/mysql/data/mdb01.pid

# chown mysql.mysql -R data


5.启动数据库


# /etc/init.d/mysqld start

Starting MySQL...[  OK  ]

#


6.验证数据


mysql> use test

Reading table information for completion of table and column names

You can turn off this feature to get a quicker startup with -A


Database changed

mysql> show tables

    -> ;

+----------------+

| Tables_in_test |

+----------------+

| emp            |

| users          |

+----------------+

2 rows in set (0.00 sec)


mysql> select * from users;

+----+------------+

| id | name       |

+----+------------+

|  1 | testuser01 |

|  2 | testuser02 |

+----+------------+

2 rows in set (0.03 sec)