)
>> log scanned up to (6118588398)
>> log scanned up to (6118588398)
>> log scanned up to (6118588398)
>> log scanned up to (6118588398)
>> log scanned up to (6118588398)
>> log scanned up to (6118588398)
>> log scanned up to (6118588398)
>> log scanned up to (6118588398)
>> log scanned up to (6118588398)
[01] ...done
>> log scanned up to (6118588398)
xtrabackup: Creating suspend file '/data/backup/innobackupex/2014-07-31_11-20-44/xtrabackup_suspended_2' with pid '25767'
?
140731 11:22:07 innobackupex: Continuing after ibbackup has suspended
140731 11:22:07 innobackupex: Executing FLUSH TABLES WITH READ LOCK...
140731 11:22:07 innobackupex: All tables locked and flushed to disk
140731 11:22:07 innobackupex: Starting to backup non-InnoDB tables and files
innobackupex: in subdirectories of '/data/mysql/mysql3306/data'
innobackupex: Backing up files '/data/mysql/mysql3306/data/mysql/*.{frm,isl,MYD,MYI,MAD,MAI,MRG,TRG,TRN,ARM,ARZ,CSM,CSV,opt,par}' (72 files)
>> log scanned up to (6118588398)
innobackupex: Backing up file '/data/mysql/mysql3306/data/test/tt.frm'
innobackupex: Backing up file '/data/mysql/mysql3306/data/test/v1.frm'
innobackupex: Backing up file '/data/mysql/mysql3306/data/test/v2.frm'
innobackupex: Backing up file '/data/mysql/mysql3306/data/test/v3.frm'
innobackupex: Backing up files '/data/mysql/mysql3306/data/performance_schema/*.{frm,isl,MYD,MYI,MAD,MAI,MRG,TRG,TRN,ARM,ARZ,CSM,CSV,opt,par}' (18 files)
innobackupex: Backing up files '/data/mysql/mysql3306/data/tp50/*.{frm,isl,MYD,MYI,MAD,MAI,MRG,TRG,TRN,ARM,ARZ,CSM,CSV,opt,par}' (10 files)
140731 11:22:08 innobackupex: Finished backing up non-InnoDB tables and files
140731 11:22:08 innobackupex: Executing FLUSH ENGINE LOGS...
140731 11:22:08 innobackupex: Waiting for log copying to finish
xtrabackup: The latest check point (for incremental): '6118588398'
xtrabackup: Stopping log copying thread.
.>> log scanned up to (6118588398)
xtrabackup: Creating suspend file '/data/backup/innobackupex/2014-07-31_11-20-44/xtrabackup_log_copied' with pid '25767'
xtrabackup: Transaction log of lsn (6118588398) to (6118588398) was copied.
140731 11:22:09 innobackupex: All tables unlocked
innobackupex: Backup created in directory '/data/backup/innobackupex/2014-07-31_11-20-44'
innobackupex: MySQL binlog position: filename 'mysql-bin.000009', position 376
140731 11:22:09 innobackupex: Connection to database server closed
140731 11:22:09 innobackupex: completed OK!
NDMC74:~ #
NDMC74:/data/backup/innobackupex/2014-07-31_11-20-44 # ls -l
总计 1048608
-rw-r--r-- 1 root root 357 07-31 11:20 backup-my.cnf
-rw-r----- 1 root root 1073741824 07-31 11:20 ibdata1
drwxr-xr-x 2 root root 4096 07-31 11:22 mysql
drwxr-xr-x 2 root root 4096 07-31 11:22 performance_schema
drwx------ 2 root root 71 07-31 11:22 test
drwx------ 2 root root 4096 07-31 11:22 tp50
-rw-r--r-- 1 root root 23 07-31 11:22 xtrabackup_binlog_info
-rw-r----- 1 root root 95 07-31 11:22 xtrabackup_checkpoints
-rw-r--r-- 1 root root 572 07-31 11:22 xtrabackup_info
-rw-r----- 1 root root 2560 07-31 11:22 xtrabackup_logfile
为了保证备份集中的数据一致,需要操作:
NDMC74:~ # innobackupex --apply-log /data/backup/innobackupex/2014-07-31_11-20-44
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
and Percona LLC and/or its affiliates 2009-2013. All Rights Res