Rsync: Difference between revisions
m link to ssh |
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=" | <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> | ||