Rsync: Difference between revisions

Pigs (talk | contribs)
m link to ssh
DHCP (talk | contribs)
m Running a server: use <syntaxhighlight lang="console"> for shell command
 
Line 19: Line 19:
Now you should be able to backup to your directory with the rsync client:
Now you should be able to backup to your directory with the rsync client:


<syntaxhighlight lang="shell">
<syntaxhighlight lang="console">
$ rsync -Pav -e "ssh -i $HOME/.ssh/somekeys" photos backup@server:
$ rsync -Pav -e "ssh -i $HOME/.ssh/somekeys" photos backup@server:
</syntaxhighlight>
</syntaxhighlight>