MariaDB / mariadb-docker

Docker Official Image packaging for MariaDB
https://mariadb.org
GNU General Public License v2.0
759 stars 438 forks source link

mariabackup target-dir option ignored with partial backup #474

Closed dadcoachengineer closed 1 year ago

dadcoachengineer commented 1 year ago

When running this backup command, backup files go to target dir no problem.

mariabackup --backup --target-dir=/backups/current --user=mariabackup --password=XXXXX

When running this backup command excluding a table, backup files go to /xtrabackup_backupfiles ignoring the target-dir option.

mariabackup --backup --tables-exclude=states -target-dir=/backups/current --user=mariabackup --password=XXXXX

grooverdan commented 1 year ago

Did you intentionally misses a - before -target-dir in the partial case? It should be --target-dir list your first command.

dadcoachengineer commented 1 year ago

Thank you @grooverdan

Sorry I missed that :smh