databases option can get the list from file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Low
|
Hrvoje Matijakovic |
Bug Description
As you can see in the help of innobackupex (innobackupex -help):
--databases
This option specifies the list of databases that innobackupex should
back up. The option accepts a string argument. The list is of the
form "databasename1[
.". If this option is not specified, all databases containing MyISAM
and InnoDB tables will be backed up. Please make sure that
--databases contains all of the InnoDB databases and tables, so that
all of the innodb.frm files are also backed up. In case the list is
very long, this can be specified in a file, and the full path of the
file can be specified instead of the list. (See option
You could specify a file containing a line with a list of databases but innobackupex doesn't understand it.
The option tables-file understand a path as a valid option, but you should write a value each line with format, database.tables and this option affects to all backup instead of databases that affects only to the part of MyISAM tables copy, so it isn't the same option.
The option should change or the help should tell us the correct way of use.
A workaround: innobackupex --databases="`cat list_of_databases`"
Related branches
- Alexey Kopytov (community): Approve
-
Diff: 337 lines (+148/-70)8 files modifieddoc/source/how-tos.rst (+1/-0)
doc/source/howtos/recipes_ibkx_partition.rst (+105/-0)
doc/source/innobackupex/innobackupex_option_reference.rst (+1/-1)
doc/source/innobackupex/partial_backups_innobackupex.rst (+5/-1)
doc/source/installation/apt_repo.rst (+4/-4)
doc/source/percona-theme/layout.html (+11/-41)
doc/source/release-notes.rst (+20/-22)
innobackupex (+1/-1)
- Alexey Kopytov (community): Approve
-
Diff: 345 lines (+148/-70)8 files modifieddoc/source/how-tos.rst (+1/-0)
doc/source/howtos/recipes_ibkx_partition.rst (+105/-0)
doc/source/innobackupex/innobackupex_option_reference.rst (+1/-1)
doc/source/innobackupex/partial_backups_innobackupex.rst (+5/-1)
doc/source/installation/apt_repo.rst (+4/-4)
doc/source/percona-theme/layout.html (+11/-41)
doc/source/release-notes.rst (+20/-22)
innobackupex (+1/-1)
Changed in percona-xtrabackup: | |
assignee: | nobody → Valentine Gostev (longbow) |
Changed in percona-xtrabackup: | |
assignee: | Valentine Gostev (longbow) → nobody |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in percona-xtrabackup: | |
status: | Triaged → In Progress |
status: | In Progress → Fix Committed |
Changed in percona-xtrabackup: | |
status: | Fix Committed → Fix Released |
The concenrs here lays in the following:
details of wishlist:
1. Make databases option working as tables-file for InnoDB
2. When specify a file with a list, allow to use masks (dbname.* - to backup whole db)