This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!
rsync
¶
rsync
is a fast, versatile, remote (and local) file copying tool.
Table of contents¶
Install¶
Install rsync
:
Config¶
See https://wiki.archlinux.org/index.php/Rsync#Trailing_slash_caveat.
Use¶
-
Full local backup:
-
Full remote backup:
Tip
Make sure that the target folder, on the remote system, is owned by "user". If "user" is root, make sure to permit root login on the remote system:
Restricted rsync
¶
See https://www.guyrutenberg.com/2014/01/14/restricting-ssh-access-to-rsync/.
If this cheat sheet has been useful to you, then please consider leaving a star here.