Skip to content

need option datadir for xtrabackup #39

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

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

Comments

@sugengsuprayogi
Copy link

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

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
Development

No branches or pull requests

2 participants