Sponsored Links

Setting Up Unison File Synchronization Between Two Servers On Ubuntu 11.10

This tutorial shows how to set up file synchronization between two Ubuntu 11.10 servers with Unison. Unison is a file-synchronization tool similar to rsync, but the big difference is that it tracks/synchronizes changes in both directions, i.e., files changed on server1 will be replicated to server2 and vice versa.

I do not issue any guarantee that this will work for you!

1 Preliminary Note

In this tutorial I use the following two Ubuntu 11.10 servers:

server1.example.com with the IP address
server2.example.com with the IP address

I want to synchronize the directory /var/www between the two servers. I will run Unison as the root user in this tutorial so that Unison has sufficient permissions to synchronize user and group permissions.

I’m running all the steps in this tutorial with root privileges, so make sure you’re logged in as root:

Read more at HowtoForge

Comments are closed.