innobackupex --include does not apply to the non-InnoDB tables
Bug #597384 reported by
Sheeri K. Cabral
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Low
|
Valentine Gostev |
Bug Description
if you use --include to specify tables to include, it will work for filtering in/out innodb tables, but not for filtering in/out other table types (ie MyISAM).
Related branches
lp:~percona-dev/percona-xtrabackup/ib_csm_csv
- Vadim Tkachenko: Approve
- Alexey Kopytov (community): Approve
-
Diff: 700 lines (+208/-107)11 files modifiedinnobackupex (+7/-7)
test/inc/common.sh (+15/-0)
test/t/ib_csm_csv.sh (+63/-0)
test/t/ib_include.sh (+46/-0)
test/t/ib_incremental.sh (+12/-16)
test/t/ib_specialchar.sh (+13/-13)
test/t/xb_basic.sh (+12/-12)
test/t/xb_incremental.sh (+9/-15)
test/t/xb_parallel.sh (+14/-14)
test/t/xb_partial.sh (+5/-19)
test/t/xb_stream.sh (+12/-11)
Changed in percona-xtrabackup: | |
status: | Fix Committed → Triaged |
Changed in percona-xtrabackup: | |
status: | Triaged → New |
tags: | added: innobackupex |
Changed in percona-xtrabackup: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The fix, mostly stolen from earlier in the code:
*** innobackupex-1.5.1 2010-06-22 09:47:10.000000000 -0400 innobackupex- 1.5.1 2010-06-22 10:23:49.000000000 -0400
mysql_keep_ alive() ; required( $database, $file); $file" =~ /$option_include/)) { include. \n";
print STDERR "$prefix Backing up file '$source_ dir/$database/ $file'\ n";
--- /usr/bin/
*************** sub backup_files {
*** 1916,1921 ****
--- 1916,1929 ----
# mysql connection from timing out
next unless check_if_
+ if($option_include) {
+ if (!("$database.
+ print STDERR "$database.$file is skipped because it does not match $option_
+ next;
+ }
+ }
+
+
if ($print_each_file) {
}