This prevents confusion as you work through the guide, and an alternative non-root sudo user is required on the backup server if the SSH security configuration is enabled at the end of the guide. In this step, you will create two new users, one on the primary server and one on the backup server. The Initial Server Setup with Ubuntu 18.04 tutorial guided you through creating a non-root sudo user called sammy on both the primary and backup server. Step 1 - Creating Additional Non-Root Users backup server: The server that will host the backed up data.primary server: The server that hosts the data that you will back up.
UNISON SYNCHRONIZE HOW TO
Two Ubuntu 18.04 servers, configured using the Initial Server Setup with Ubuntu 18.04 guide.Prerequisitesīefore you begin this guide, you’ll need the following: You will also configure Unison to use SSH as the secure communication protocol and create a cron job to periodically run Unison. In this tutorial, you will install and configure Unison on a pair of servers and use it to back up a directory. In these situations, traditional tools like rsync can take a longer time to perform the same backup operation. Unison is able to discover and back up these new files extremely rapidly-even when there are millions of files and terabytes of data. The majority of the files in these servers will remain the same while a small number will be added or modified each day. This situation occurs in, for example, a corporate Samba file server or an email server. It is very efficient at backing up large corpuses of data where only a few files have been added or updated. Unison is an open-source file synchronization tool. The author selected the Free and Open Source Fund to receive a donation as part of the Write for DOnations program.