Empty directory is not backed when stream is used
Bug #1217426 reported by
Raghavendra D Prabhu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Medium
|
Alexey Kopytov | ||
2.0 |
Won't Fix
|
Undecided
|
Unassigned | ||
2.1 |
Fix Released
|
Medium
|
Alexey Kopytov | ||
2.2 |
Fix Released
|
Medium
|
Alexey Kopytov |
Bug Description
When using innobackupex --stream=xbstream, the empty directory - in this case test - doesn't seemed to backed up. This can lead to node inconsistency with PXC and elsewhere. It is backed up correctly when local backup is done.
Related branches
lp:~akopytov/percona-xtrabackup/bug1217426-2.1
- Alexey Kopytov (community): Approve
- Sergei Glushchenko (community): Approve (g2)
-
Diff: 73 lines (+39/-0)4 files modifiedinnobackupex (+19/-0)
test/inc/ib_stream_common.sh (+8/-0)
test/inc/xb_local.sh (+6/-0)
test/t/ib_rsync.sh (+6/-0)
lp:~akopytov/percona-xtrabackup/bug1217426-2.2
- Alexey Kopytov (community): Approve
- Sergei Glushchenko (community): Approve (g2)
-
Diff: 73 lines (+39/-0)4 files modifiedxtrabackup/innobackupex (+19/-0)
xtrabackup/test/inc/ib_stream_common.sh (+8/-0)
xtrabackup/test/inc/xb_local.sh (+6/-0)
xtrabackup/test/t/ib_rsync.sh (+6/-0)
To post a comment you must log in.
I don't think it is specific to xbstream or streaming backups in general. XtraBackup copies files and creates directories if necessary. I don't think a directory will be created in the backup if it's empty, be it xbstream, or tar, or local backups.
I though we had a similar report for local backups, but I can't find it now.