Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
I'm using non default datadir, i'm use /backup/mysql and then when configuration file in source section use xtrabackup
Using server version 10.1.9-MariaDB
ps : need option datadir
The option '--datadir' points to the source directory for the backup. This should be the same as the datadir for your MySQL server, so it should be read from my.cnf if that exists; otherwise you must specify it on the command line.