User Tools

(aka 'the best point military institute')

Site Tools

tools:rsync

This is an old revision of the document!


rsync

This section needs expansion. You can help by adding to it.

Useful Commands

Using rsync may seem obtuse to new users at first. However, once you know how to structure and alias your commands, it is one of the absolute fastest & reliable ways to run backup systems:

Built-in Documentation

rsync --h and man grep will tell you all the flags which are available to use. We will only detail some of the most important ones below:

Local Backups

To have rsync copy all files from one directory to another, use this command:

$ rsync -av /path/to/source/dir/ /path/to/destination/dir/

The -a flag tells rsync to not only recursively go into subdirectories, but it also ensures all attributes like timestamps & permissions are preserved. -v is for verbose output, so you can see what rsync is doing.

Remote & Network Backups

This section needs expansion. You can help by adding to it.

Incremental Backups

This section needs expansion. You can help by adding to it.

More Command Flags

There are more flags you can combine with these basic rsync commands to fine-tune how your backups are executed. Play around with them on some demo directories to see how they affect your files!

This section needs expansion. You can help by adding to it.

What About Automatic Backups?

This section needs expansion. You can help by adding to it.

tools/rsync.1760246480.txt.gz · Last modified: by Humphrey Boa-Gart

Find this page online at: https://bestpoint.institute/tools/rsync