Problem with symlinks

Thomas Ebert thoebert at gmx.net
Sun Oct 11 05:33:51 MDT 2009


Hi Matt,

thanks for the swift reply.

rsync --version on the DS says:
rsync  version 3.0.4  protocol version 30
Copyright (C) 1996-2008 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
    no socketpairs, hardlinks, symlinks, no IPv6, batchfiles, inplace,
    append, no ACLs, xattrs, iconv, no symtimes

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.

I'll investigate if I can get a "normal" rsync version running on it.
The problem was, that I didn't recieve any reply in the official forum
so I asked here.

Thanks again,

Thomas


Am Sun, 11 Oct 2009 07:24:23 -0400
schrieb Matt McCutchen <matt at mattmccutchen.net>:

> 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: http://pastebin.com/m43d4e353 . 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" 
> > $BACKUP_SOURCE $BACKUP_TO_DEV|
> > 
> > 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