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

Closed
sugengsuprayogi opened this issue Dec 14, 2015 · 1 comment
Closed

need option datadir for xtrabackup #39

sugengsuprayogi opened this issue Dec 14, 2015 · 1 comment
Assignees
Labels

Comments

@sugengsuprayogi
Copy link

@sugengsuprayogi 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.
@sebastianfeldmann
Copy link
Owner

@sebastianfeldmann sebastianfeldmann commented Dec 14, 2015

Hi,
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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.