Install Rsync on Arch Linux 2017

Rsync is an efficient utility for transferring and synchronizing file across computer systems. This tutorial is going to show you how to install Rsync on Arch Linux 2017. With Rsync we can easily backup our local files to remote storage and vice versa. I have been using rsync utility to synchronize data from our local server to a remote server. For more information about rsync, you may visit this wiki page.

Install rsync on Arch Linux 2017

Use the following command to install rsync on Arch Linux 2017 and all derivatives including Manjaro, Antergos etc.

pacman -S rsync

Output

[root@archServer]: ~># pacman -S rsync
resolving dependencies...
looking for conflicting packages...

Packages (1) rsync-3.1.2-2

Total Download Size:   0.27 MiB
Total Installed Size:  0.52 MiB

:: Proceed with installation? [Y/n]

Once installed you can now use rsync to sync or backup your files to a remote directory. If you need help on rsync syntax, simply use its built in help.

rsync --help

For example, I want to backup my /etc directory to remote server I would use the following command

rsync -avv /etc dhani@10.34.0.157:/tmp

Explanation:

The command will copy or backup /etc directory and its content to the remote server at 10.34.0.157 under /tmp folder.

Admin

Leave a Reply

Your email address will not be published. Required fields are marked *