The sys admin’s daily grind: Unison

SYNCING IN UNISON

Article from Issue 82/2007
Author(s):

Charly may be a traditionalist with sync-unfriendly duplicate home directories, but a little utility called Unison helps keep his data consistent . This month you’ll learn why Rsync sometimes isn’t enough.

I’m an old-fashioned kind of guy. You can tell by the way I still use a desktop computer, instead of entrusting my data to a laptop. The downside of this traditionalism is that I sometimes need to synchronize my home directories between my desktop and my laptop. Rsync is not a solution to this problem. The Rsync tool is a one-way street that updates a slave copy to reflect the master copy status. If I used Rsync consistently with the --delete parameter set, it would flatten any changes I had made on the slave machine in the meantime. The antidote to this problem is a tool called Unison.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Conduit and Unison

    Find out how the Conduit and Unison utilities can keep your documents and files in sync on multiple computers.

  • Shredder_9_Chess_Too..>

    Rsync lets you synchronize your data – on either a local or remote computer. You can even use Rsync with SSH to encrypt your data.

  • Unison Groupware Demo Now Available

    Unison is a groupware product first presented at Cebit 2008 that combines PBX telephony, a groupware server, instant messaging and directory services with its own Windows client. An online trial version is available for anyone interested in the product.

  • Charly's Column: iWatch

    Recently, sys admin Charly was faced with the task of synchronizing a directory on a server with two NFS-mounted clients. He wanted the whole thing to happen quickly and to be easily manageable, which ruled out DRBD and GlusterFS.

  • libferris

    With libferris, FUSE, and rsync, you can synchronize a filesystem with a dissimilar data source.

comments powered by Disqus

Direct Download

Read full article as PDF:

Charlys_Column.pdf  (96.34 kB)

News