doesn't "follow" symlinks

Bug #387587 reported by Brad Fino
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
High
Alexey Kopytov
1.6
Fix Released
Critical
Alexey Kopytov
2.0
Fix Released
High
Alexey Kopytov

Bug Description

Some of my higher traffic DB's are split across multiple disks or luns and symlinked into /data/mysql/$DB:

Server A Source:
vol1 504G 74G 405G 16% /data
vol2 252G 133G 107G 56% /data2

200+ GB of table space.

Upon recovery, it only grabs physical table spaces.

Server B Destination:
vol 1 512G 74G 413G 16% /data

Can Xtrabackup be made to follow symlinks correctly? On the receiving end my command looked like nc -l 5000 | tar xvfih - ... -h according to the man page "dump[s] the files they point to" ... I tried it with and without -h and got the same option, so probably needs to be implemented from the source tar command as well.

Thanks in advance!

Related branches

Revision history for this message
Brad Fino (mrfino) wrote :

that should be "... with and without -h and got the same RESULT... "

affects: percona-xtradb → percona-xtrabackup
Changed in percona-xtrabackup:
assignee: nobody → Yasufumi Kinoshita (yasufumi-kinoshita)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
fortxun (ewen-fortune) wrote :

Attached is the patch Yasufumi passed me (only tested by me) for tar4ibd to follow symlinks at the ibd file level.

Cheers,

Ewen

Revision history for this message
Stewart Smith (stewart) wrote :

As can cause issues with creating backups, have upped importance to High. Have left unassigned as Yasufumi has a lot on radar, so best to leave it open for others to be able to spot and fix.

Changed in percona-xtrabackup:
assignee: Yasufumi Kinoshita (yasufumi-kinoshita) → nobody
importance: Low → High
status: Confirmed → Triaged
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-261

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.