Because the online environment database is particularly large, only xtrabackup backup restores can be taken
Characteristics:
(1) The backup process is fast and reliable;
(2) The backup process does not interrupt the transaction being performed;
(3) can save disk space and traffic based on functions such as compression;
(4) Automatic implementation of backup inspection;
(5) fast restore speed;
Innobackupex--defaults-file=/etc/my.cnf--user=root-password= ' root '--database=root-socket=/var//mysql/ Mysql.sock/root/bakmysql
Always show error message
Innobackupex:waiting for Ibbackup (pid=1004) to suspend
Innobackupex:suspend file '/root/bakmysql/2015-12-01_17-06-01/xtrabackup_suspended_2 '
Libgcc_s.so.1 must be installed-pthread_cancel to work
Innobackupex:got a fatal error with the following Stacktrace:at/usr/bin/innobackupex line 2703
Main::wait_for_ibbackup_file_create ('/root/bakmysql/2015-12-01_17-06-01/xtrabackup_suspended_2 ') called at/usr/ Bin/innobackupex Line 2723
Main::wait_for_ibbackup_suspend ('/root/bakmysql/2015-12-01_17-06-01/xtrabackup_suspended_2 ') called at/usr/bin/ Innobackupex Line 1976
Main::backup () called At/usr/bin/innobackupex Line 1601
Innobackupex:Error:The Xtrabackup child process had died At/usr/bin/innobackupex line 2703.
It turns out the library wasn't installed.
Workaround:yum install libgcc.i686
This article is from "Hao son of ▁ Yun's finger licking" blog, please be sure to keep this source http://chenhao6.blog.51cto.com/6228054/1718587
Xtrabackup the wrong line.