ShahriyarR / MySQL-AutoXtraBackup

MySQL-AutoXtraBackup commandline tool written in Python 3 based on Percona XtraBackup
https://autoxtrabackup.azepug.az/
MIT License
139 stars 79 forks source link

--tables-exclude & --databases-exclude ?? #364

Closed BarbzYHOOL closed 5 years ago

BarbzYHOOL commented 5 years ago

Is there a way to exclude databases and tables like here:

https://www.percona.com/doc/percona-xtrabackup/2.3/xtrabackup_bin/xbk_option_reference.html#cmdoption-xtrabackup-databases-exclude

https://www.percona.com/doc/percona-xtrabackup/2.3/xtrabackup_bin/xbk_option_reference.html#cmdoption-xtrabackup-tables-exclude

--tables-exclude=name

@ShahriyarR

BarbzYHOOL commented 5 years ago

Also would need the --tables and --databases options too (or better, in the config file) @ShahriyarR

Maybe in that part:

## Optional: pass general additional options; it will go to both for backup and prepare
xtra_options=--no-version-check

?

ShahriyarR commented 5 years ago

@BarbzYHOOL did not check these options. But yes you can pass xtrabackup options using xtra_options=

BarbzYHOOL commented 5 years ago

ok I think that will be enough then

I close until I test