

In addition to installing rsync on the source or local server, we also need to install it on the destination server or cloud server. The output below confirms that we have rsync installed: Step 2: Install and Configure Rsync on the Destination Server To confirm that rsync is installed, run the command: Once installed, start and enable the rsync service. In this example, we will install rsync on the local server (Ubuntu 20.04) as follows: To start off, ensure that rsync is installed. Step 1: Install Rsync on the Local Server Lastly, ensure you have a local user configured with sudo privileges.Here is the lab setup we will use to demonstrate how rsync works: In addition, you need two Linux servers - the source or local server and the remote server.To check the version of SSH you are running, run the following command: Chances are SSH daemon is already installed and no further action is required. SSH is installed and running on both the local and destination servers.PrerequisitesĪs you get started, ensure you have the following:
Grsync two computers network how to#
In this guide, we will go a step further and demonstrate how to make a remote backup - i.e., your data is stored in a separate machine - using the rsync utility. In an earlier tutorial, we covered how to make local backups using rsync. The file synchronization happens immediately, and with the proper backup testing process in place, you can rest assured that you have a safe, accurate backup.


Rsync is configured to securely transfer and synchronize data over the SSH protocol. If the file size and modification times are different, then it transfers the files from the directory or system that hosts the files to another directory or remote system. It achieves this by comparing file sizes and modification times. Rsync, short for remote sync, is a data transfer and synchronization tool that intelligently transfers and synchronizes files between directories or across networked computer systems. One of the more useful backup utilities for Linux systems is the rsync utility. To be on the safe side, it is always recommended to have round-the-clock system backups to ensure business continuity in case of service interruption. Natural disasters, cyberattacks, or other devastating events can happen when you least expect them. We cannot emphasize enough the importance of having a backup.
