It's all right today. 1.6.3来 to play, the company with this tool is not much, in this version of the installation of a problem occurred in the Xtrabackup
First this version must be downloaded libtar-1.2.11.tar.gz and mysql-5.1.56.tar.gz
Follow the instructions download two versions at once to the/home/zhanghong/xtrabackup/xtrabackup-1.6.3 directory and run build.sh again
Appear
cc1:error:unrecognized command line option "-fdiagnostics-show-option"
Later view GCC versions
GCC version 3.4.5 20051201 (Red Hat 3.4.5-2)
GCC has removed the-fdiagnostics-show-option after 3.4.
Open Makefile,
Cflags + +-o3-g-dxtrabackup_version=\ "$ (xtrabackup_version) \"-pedantic-wall-wundef-wshadow- Fdiagnostics-show-optio
N-fno-strict-aliasing-wno-strict-aliasing-wextra-wformat-wno-format-nonliteral-wno-format-security- Wno-long-long
-wmissing-declarations-wno-redundant-decls--std=gnu99
Remove-fdiagnostics-show-option
Rebuild
Success
Summarize the use of experience, feeling Xtra than innobackup more advantages, use more humane.