Chapter 63. Rsync for Backups

More than one crusty old geek has suggested that we write about rsync. Ever attentive to the COGnoscenti, we’ve finally acted on their suggestions.

In particular, we’ll write about using rsync and ssh to do secure backups over a LAN, just as someone with multiple machines on a LAN at home or in a small business might want to do.

There are eight different ways to use rsync, and far too much functionality for it all to be interest to a casual desktop user. We’re going to focus on just one usage: bringing a set of files on one machine into sync with a set of files on another.

In other words, backing them up without the need to transfer anything but the differences between them. Rsync may be a modern-day version of rcp

Get CLI for Noobies: A Primer on the Linux Command Line now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.