SHARE
Facebook X Pinterest WhatsApp

Enterprise Unix Roundup: Open Isn’t Free Page 2

Written By
thumbnail Michael Hall
Michael Hall
Mar 11, 2004
ServerWatch content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More



Page 1     Page 2
Main     Security Roundup
In Other News     Tips of the Trade

Security Roundup

Tips of the Trade

A few months ago we put rsync forward as a great over-the-network backup option that has the benefit of conserving bandwidth by saving only changed files. rsync is great at what it does, but one thing it doesn’t do is synchronize in more than one direction, meaning that you can either push a directory into an archive, overwriting changed files, or you can pull an archive down.

Thus, you can’t really use it to keep a pair of archives up to date with each other.

Enter unison, which uses the rsync algorithm in such a way that when it’s presented with a pair of archives, it seeks to update both of them based on changes to each. Consequently, if files in archive “A” on a workstation were changed, and files have changed in archive “B” on a server, unison sorts out which files should be copied from the server to the workstation and vice versa.

As with rsync, unison is able to use ssh as a tunnel, meaning data is passed over the network in a safe and encrypted fashion. This makes it good for wireless road-warriors as well as people in the relatively safe confines of a hardline network. In addition, the developers provide a Windows version alongside the easily compilable version available for Unix variants (including OS X).

A few things worth noting:

  • unison has the ability to create exclude lists and profiles, making it possible to create a wide variety of well-tuned unison scripts sensitive to specific backup needs (such as limiting the kinds of files a user syncs when he or she is doing so over a slow dialup vs. a faster wireless connection).
  • unison, while compiling and working under OS X, doesn’t yet recognize OS X’s resource forks. Those using unison on a Mac, should stick to simple files and will probably want to install fink to get at the libraries they’ll need to build unison.
  • unison offers build options for a GUI under Unix systems with the gtk+ libraries installed.

>> To Main
>> To Other News

thumbnail Michael Hall

Michael Hall is a ServerWatch contributor.

Recommended for you...

Data Center Survey 2021: Outages Less Common, More Expensive
Sam Ingalls
Sep 21, 2021
On-Prem Infrastructure is Here to Stay. But What Workloads Go Where?
Sam Ingalls
Jul 3, 2021
IBM’s 2nm Breakthrough: Implications for Chip and Server Makers
Sam Ingalls
Jun 4, 2021
A Tale of Two 3rd Gen Processors: AMD & Intel
Sam Ingalls
May 20, 2021
ServerWatch Logo

ServerWatch is a top resource on servers. Explore the latest news, reviews and guides for server administrators now.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.