报错:
[root@mysql-s02 xtrabackup]# innobackupex --defautls-file=/usr/local/mysql/my.cnf --socket=/tmp/mysql.sock --copy-back /zabbixdb/2017-07-31_17-23-09
170731 17:57:38 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 version 2.4.6 based on MySQL server 5.7.13 Linux (x86_64) (revision id: 8ec05b7)
Error: datadir must be specified.
解决方法:
手动输入命令
innobackupex --defautls-file=/usr/local/mysql/my.cnf --socket=/tmp/mysql.sock --copy-back /zabbixdb/2017-07-31_17-23-09
本文转自1321385590 51CTO博客,原文链接:http://blog.51cto.com/linux10000/1952446,如需转载请自行联系原作者