Re: [BackupPC-users] Is there any way for BackupPC to restore hard links properly?

2008-11-10 Thread Rich Rauenzahn
Craig Barratt wrote: This results in one subtle bug that can't be easily fixed: if you switch the Xfer method from tar to rsync, old backups that have hardlinks stored with tar won't be correctly restored with rsync. The workaround is generate a tar file and extract it, or switch the Xfer

Re: [BackupPC-users] Is there any way for BackupPC to restore hard links properly?

2008-11-10 Thread Jeffrey J. Kosowsky
Craig Barratt wrote at about 23:06:25 -0800 on Sunday, November 9, 2008: Jeffrey writes: Looking at the code and the structure of the storage and attrib files, it doesn't seem like there is any way for BackupPC to record and restore hard links. Not true. Hardlinks are stored

Re: [BackupPC-users] Is there any way for BackupPC to restore hard links properly?

2008-11-10 Thread Jeffrey J. Kosowsky
Craig Barratt wrote at about 23:06:25 -0800 on Sunday, November 9, 2008: Jeffrey writes: Looking at the code and the structure of the storage and attrib files, it doesn't seem like there is any way for BackupPC to record and restore hard links. Not true. Hardlinks are stored

Re: [BackupPC-users] Is there any way for BackupPC to restore hard links properly?

2008-11-09 Thread Craig Barratt
Jeffrey writes: Looking at the code and the structure of the storage and attrib files, it doesn't seem like there is any way for BackupPC to record and restore hard links. Not true. Hardlinks are stored without using hardlinks. Hardlinks are stored just like symlinks. The attribute type is

[BackupPC-users] Is there any way for BackupPC to restore hard links properly?

2008-11-09 Thread Jeffrey J. Kosowsky
Looking at the code and the structure of the storage and attrib files, it doesn't seem like there is any way for BackupPC to record and restore hard links. Specifically, since Backuppc uses hard links to pool files and since the attrib database doesn't seem to record hard links, it would seem