[Bug 9749] New: hardlinkes files are copies instat of make a link

samba-bugs at samba.org samba-bugs at samba.org
Thu Mar 28 14:10:21 MDT 2013


           Summary: hardlinkes files are copies instat of make a link
           Product: rsync
           Version: 3.0.9
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: dieter.ferdinand at gmx.de
         QAContact: rsync-qa at samba.org

i have a big problem with my backups because rsync don't make hardlinks in this
old dirs:
new dirs:
all files in directory a are hardlinks to files in directory b

if a new dir have hardlinks to files, which are in directories, which are
processed after the new directory, no hardlink was made, all files are copied!

i think, this is because rsync don't check if the file have hardlinks or if it
find hardlinks and don't no at this point where the other link is and if it
should be in a dir, which ist backuped.
so rsync copy the file without need instat of make a link and before rsync can
read the other link, my backup-drive is full und backup break!

my command line: 
rsync -l -H -r -t -D -p -v -P --force --timeout=3600 -H
--link-dest=/hd/backup2/amd-k8-daten2/mpeg//03/ /hd/daten2/mpeg/

i try to find a option to read all fileinformation before backup is started,
bat i don't find one.

at the time, i use rsync first time for backup, i remember, that rsync first
read complete path and then copy the files, this will be slowers as the
incremental method, but for hardlinks, i think, this method is better.


Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the rsync mailing list