Ticket #63 (new defect)
Opened 2 months ago
Support hard links in directories
| Reported by: | bbennett | Owned by: | ben |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | bbackupd | Version: | 0.11rc2 |
| Keywords: | Cc: |
Description
I get: Jun 21 22:23:42 ayup bbackupd[24222]: WARNING: Found conflicting parent ID for file ID 1579976 (/home/fiji/public_html/pictures/49/014 - Nursery.jpg): expected 34689 but found 69964 (same directory used in two different locations?)
The warning is correct, the file is in two locations...
ls -li '/home/fiji/public_html/pictures/49/013 - Nursery.jpg' '/home/fiji/public_html/family/3/013 - Nursery.jpg'
1579975 -rw-r--r-- 2 fiji fiji 131622 2002-12-18 07:37 /home/fiji/public_html/family/3/013 - Nursery.jpg 1579975 -rw-r--r-- 2 fiji fiji 131622 2002-12-18 07:37 /home/fiji/public_html/pictures/49/013 - Nursery.jpg
Chris Wilson said: I agree that hard links should be supported, and that this is a bug. Please could you get an account in the bug tracker and file a bug?
The reasons for this warning are:
1. Almost nobody uses hard links on their data files, so nobody has reported this problem before.
2. Including the same files in two backup locations (not two directories) is an error and a waste of bandwidth.
3. There was a bug on Windows where file IDs were being duplicated all the time, which was only spotted because I added this warning.
4. Box Backup uses file IDs to track renaming of files. If you use hard links then this will not work correctly and will cause your files to be renamed between the two directories all the time. This is the real bug.
