Problem with symlinks

Matt McCutchen matt at
Sun Oct 11 05:24:23 MDT 2009

On Sun, 2009-10-11 at 13:07 +0200, Thomas Ebert wrote:
> rsync has problems with symlinks. First some background information:
> I regularly back up my / and /home from my desktop PC and my netbook to 
> my Synology DiskStation (500GB) using rsync 3.0.6 with this script: 
> . This works without any error messages. 
> On the DS are also stored other files from two windows machines.
> The DS has a built in backup feature that unfortunately has problem with 
> hard links so I stripped down my script to directly run rsync 3.0.4 on 
> the DS:
> |# Backup source device/share/directory/etc
> BACKUP_SOURCE=/volume1/thomas/
> # Backup destination device/directory
> BACKUP_TO_DEV=/volumeUSB1/usbshare/thomas_backup/
> rsync -q -v -axH --no-inc-recursive --delete --exclude="@eaDir" 
> This handles the hard links (-H) but now I have problems with symlinks. 
> When running the script I receive a lot of error messages from this type:
> rsync: 
> open(backup/sammy-root/2009-07-29/usr/share/pixmaps/cxassoc-cxoffice-0-application_x-crossover-exe.png) 
> failed!!: No such file or directory (2)
> rsync: open(backup/sammy-root/2009-07-29/usr/share/qt/mkspecs/default) 
> failed!!: Is a directory (21)
> rsync: 
> open(backup/sammy-root/2009-07-29/usr/share/texmf-dist/scripts/context/stubs/unix/luatools) 
> failed!!: No such file or directory (2)

Standard rsync does not produce such output containing the string
"failed!!".  Are you using the DS's custom version of rsync?  If so, we
don't support it on this list and you should bug the manufacturer.


More information about the rsync mailing list