Rsync with ssh on Synology NAS: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:
=Overview=
=Overview=


The rsync path on the Synology NAS server has to be explicitly specified with [[Rsync#--rsync-path|--rsync-path]]:
The rsync path on the Synology NAS server has to be explicitly specified with [[Rsync#--rsync-path|--rsync-path]]. This command is executed on a different machine that connects to the Synology NAS server via ssh.


<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
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
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:21, 24 July 2021

Internal

Overview

The rsync path on the Synology NAS server has to be explicitly specified with --rsync-path. This command is executed on a different machine that connects to the Synology NAS server via ssh.

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