How to exclude a symbolic link in rsnapshot

405 Views Asked by At

I am using rsnapshot to manage my backups. The file /home/foo/bar is a symbolic link to a folder, and I want to exclude it. The --exclude option does not work, because if the pattern ends with a / then it will only match a directory, not a symlink.

How could I do?

0

There are 0 best solutions below