I try to synchronize content back to a remote server with the difference that server has a new /home/virtual folder what I don't want to touch:
rsync -avz --numeric-ids --fake-super --delete --delete-after --exclude='/home/virtual' --stats -e "/usr/bin/ssh -i backupkey" /backups/machine1/home/ firstname.lastname@example.org:/home
Is there a way to tell rsync to do the synchronization, but don't touch that folder? If I take out the --delete key then the other stuff which needs to be deleted won't get deleted so it's not an option. The exclude directive only seems to apply for the source.