Cannot copy symlinks: rsync: open(...) failed!!: No such file or directory (2)

Mi mi.lists at alma.ch
Sat Feb 14 13:43:39 GMT 2009


Hi,

I can't figure out how to backup a tree with symlinks. I either get 
errors like

  rsync: open(rc2.d/S20inetd) failed!!: No such file or directory (2)

or (with --safe-link on the client and "munge symlinks = yes" on the 
server):

  ignoring unsafe symlink "/etc/rc2.d/S20inetd" (in backups) -> 
"/rsyncd-munged/../init.d/inetd"

What I am trying to do is copy these symlinks as they are, regardless of 
where they point to.

On the client (rsync v. 2.6.9 on a Debian Etch server), I run:

  rsync -azx  -v /etc/ rsync at 192.168.1.251::backups/etc/

The rsync daemon is rsync v. 3.0.4 on a Synology Disk Station, with the 
following rsyncd.conf:

  use chroot = no
  [backups]
  path = /volume1/backups
  uid = root
  gid = root
  read only = no
  auth users = root,rsync

Thanks for any help...

Mi



More information about the rsync mailing list