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

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


Hi,

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
times.


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: <http://lists.samba.org/pipermail/rsync/attachments/20160203/a335c2b8/attachment.html>


More information about the rsync mailing list