I use rsync for a backup which pulls the files from a remote server. I use remote:/ as the source dir and specify the directories to backup with files-from:
rsync -ar --delete source-server:/ --files-from=dirlist --link-dest=../backup.previous backup.new
Now I want to exclude a few directories on remote and instead of managing the exclude list on the local machine I want to use the filter option to manage them with .rsync-filter files on the remote server by adding "-F":
rsync -ar --delete source-server:/ --files-from=dirlist -F --link-dest=../backup.previous backup.new
Now comes the problem: the exclude rules specified in .rsync-filter files do not work. If I do this for testing:
rsync -ar source-server:/some/dir -F localbackup
everything works as expected. So I guess there is some interference of the -F and the --files-from options which I could not resolve. Any ideas?