Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need option datadir for xtrabackup #39

sugengsuprayogi opened this issue Dec 14, 2015 · 1 comment

need option datadir for xtrabackup #39

sugengsuprayogi opened this issue Dec 14, 2015 · 1 comment


Copy link

sugengsuprayogi commented Dec 14, 2015

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
Error: option 'datadir' has different values:
'.' in defaults file
'/backup/mysql/' in SHOW VARIABLES

ps : need option datadir

@sebastianfeldmann sebastianfeldmann self-assigned this Dec 14, 2015
sebastianfeldmann added a commit that referenced this issue Dec 14, 2015
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.
Copy link

sebastianfeldmann commented Dec 14, 2015

I added a dataDir option to the xtrabackup source and released it with version 2.1.14.
Documentation can be found here
Cheers, Sebastian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants