Rsync with ssh on Synology NAS: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:


<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
rsync [--protect-args] --rsync-path=/usr/syno/bin/rsync -avzhe ssh root@192.168.1.4:/volume1/tmp ./local-dir
rsync [--protect-args] --rsync-path=/usr/syno/bin/rsync -avzhe ssh "root@192.168.1.4:/volume1/base/Software Archive/Windows 10 x64.vmwarevm" ./local-dir
</syntaxhighlight>
</syntaxhighlight>

Revision as of 18:19, 24 July 2021

Internal

Overview

The rsync path on the Synology NAS server has to be explicitly specified with --rsync-path:

rsync [--protect-args] --rsync-path=/usr/syno/bin/rsync -avzhe ssh "root@192.168.1.4:/volume1/base/Software Archive/Windows 10 x64.vmwarevm" ./local-dir