閱讀292 返回首頁    go 阿裏雲 go 技術社區[雲棲]


使用xtrabackup對Mysql備份恢複

xtrabackup版本2.4.8
Mysql版本5.7.17


報錯
./innobackupex --no-timestamp --defaults-file=/etc/my.cnf --user root --socket=/var/lib/mysql/mysql.sock  --password root /work/bak/all-20170906-bak

xtrabackup: Error: --defaults-file must be specified first on the command line

正確:
./innobackupex  --defaults-file=/etc/my.cnf --no-timestamp --user root --socket=/var/lib/mysql/mysql.sock  --password root /work/bak/all-20170906-bak

最後更新:2017-10-18 00:03:17

  上一篇:go  DockerCon2017 Euro:宣布同時支持Swarm和Kubernetes
  下一篇:go 雲棲大會的前生今世 阿裏是怎樣把價值觀落地的?