O'Reilly logo

CLI for Noobies: A Primer on the Linux Command Line by Joe Barr

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required