Mi
2009-Feb-14 14:04 UTC
Cannot copy symlinks: rsync: open(...) failed!!: No such file or directory (2)
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@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