How can the --backup-dir be set to remote machine?

jupiter jupiter.hce at
Wed Feb 3 05:11:12 UTC 2016


I am running rsync backup on Centos 6, the following command does not seem
work, the /backup/fll_copy was fine, but the /backup/Wednesday in the
remote machine was not created even I changed the source contents several

rsync -e "ssh -q -o StrictHostKeyChecking=no" --backup
--backup-dir=username at ipaddress:/backup/$(date +%A) -av $SRC
username at ipaddress:/backup/full_copy

Appreciate what I could be missing here?

Thank you.

Kind regards,

- j
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list