rsync -auve ssh --backup --suffix='2008-10-03-1514539' --backup-dir='/tmp/' module.pm root@web1:/path/to/module.pm
I run this command without the --backup-dir option and when it copies the file over, it creates a backup with a current timestamp. When I include the --backup-dir option, it makes the backup into the /tmp/ directory but never attaches my suffix.
There is nothing in the manual to suggest that you can't use both these options together. I've played around with the order also and nothing seems to fix it.
Does anyone have a solution to this?