innobackupex does not copy back table files in subfolders from NFS mount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Low
|
Alexey Kopytov | ||
1.6 |
Won't Fix
|
Low
|
Unassigned | ||
2.0 |
Fix Released
|
Low
|
Alexey Kopytov | ||
2.1 |
Fix Released
|
Low
|
Alexey Kopytov |
Bug Description
Hi there,
our situation:
MySQL Server on Debian Squeeze with percona-xtrabackup
Backup Fileserver: Windows 2008R2
Backups are created with innobackupex.
The backup target is a mounted folder via NFS from the WINDOWS Fileserver.
example: /nfs_folder/
When I want to use --copy-back it only copies back the files directly under /nfs_folder/
Reason: innobackupex uses the find() function from the /usr/share/
You can see it when running in shell:
(Links will be 2)
stat /nfs_folder
stat /nfs_folder/
(Links will be 2 + number of subfolders)
stat /home/user/
Solution: implement the following line of code to disable that optimization at the beginning (line 42) of innobackupex
$File::
Thank you so far.
Regards,
Stefan
Related branches
- Laurynas Biveinis (community): Approve
-
Diff: 13 lines (+3/-0)1 file modifiedinnobackupex (+3/-0)
- Laurynas Biveinis (community): Approve
-
Diff: 13 lines (+3/-0)1 file modifiedinnobackupex (+3/-0)
Stefan,
Thank you so much for providing a detailed bug report and problem analysis.