6

Rsync -a follows symlinks instead of copying them as symlinks

view full story
linux-howto

http://serverfault.com – I use rsnapshot to create hourly/daily/weekly/monthly backups of my "work"-share. Now I'm trying to copy the whole backup-directory onto an external drive using rsync. I used this command/parameters within a screen session (yes, the rsync-exclude.txt lies in the dir I run the command from) rsync -avuP --exclude-from 'rsync-exclude.txt' /share/backup/ /share/eSATADisk1/backup/; The whole thing is running on a QNAP TS-439, the internal drive is a single disk (no RAID) formated EXT4, the external drive is formated EXT3. What happens is: Rsync follows every symlink and copies the actual file (HowTos)