samba-bugs at samba.org
2011-Sep-29  14:10 UTC
[Bug 8502] New: problem to make snapshot with --link-dest without copy of the files
https://bugzilla.samba.org/show_bug.cgi?id=8502
           Summary: problem to make snapshot with --link-dest without copy
                    of the files
           Product: rsync
           Version: 3.0.9
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: dieter.ferdinand at gmx.de
         QAContact: rsync-qa at samba.org
hello,
i have tried to make a snapshot with the following command-line:
rsync -lHrtDpvP --link-dest=daten/ daten/ snap1/
but some files are copied instad of making hardlinks to the files and i
don't
know why!
the link-dest-dir is the same as the source dir, so it gives no difference
between the source file and the link-dest-file!
why does rsync then copy some files and don't make hardlinks to it ???
goodby
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
samba-bugs at samba.org
2011-Sep-29  15:43 UTC
[Bug 8502] problem to make snapshot with --link-dest without copy of the files
https://bugzilla.samba.org/show_bug.cgi?id=8502
Wayne Davison <wayned at samba.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
--- Comment #1 from Wayne Davison <wayned at samba.org> 2011-09-29
15:43:36 UTC ---
The link-dest dir in your command is NOT the same as the source dir, it is a
subdir of the destination dir (which presumably doesn't exist).  You
probably
meant to use --link-dest=../daten (or an absolute path to the source dir).
See the man page for how the link-dest dir is relative to the destination path
unless absolute.
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Apparently Analagous Threads
- DO NOT REPLY [Bug 6746] New: file from link-dest-source is copies and not linked for identical files
- [Bug 9749] New: hardlinkes files are copies instat of make a link
- DO NOT REPLY [Bug 4768] New: problem sync big filesystem over slow connection
- After a 'virsh blockpull', 'virsh snapshot-list --tree' o/p does not reflect reality
- Re: Help with understanding and solving snapshot problem