need option datadir for xtrabackup #39

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

Comments

Projects
None yet
2 participants
@sugengsuprayogi

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

Add '--datadir' option to xtrabackup source - issue #39
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

This comment has been minimized.

Show comment
Hide comment
@sebastianfeldmann

sebastianfeldmann Dec 14, 2015

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

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