suggestions for sync

Bob Proulx bob at proulx.com
Fri Sep 15 01:36:04 UTC 2023


Hi Phil,

Phil Marsh wrote:
> I've had good luck with Unison. The only issue is that it appears to me
> that it's designed to sync directories on the same machine. However, I'm
> thinking it could be used with NFS mounts to sync across LAN or internet.

Unison will sync files over ssh just fine.  NFS is not needed if SSH
is used.

    unison ./foo/ ssh://example.com/foo/

This requires compatible versions of unison on both systems.  That's
perhaps somewhat more restrictive of a statement than might seem at
first glance.  Unison is often rolling versions with incompatible
protocols.  That's why there are so many possible ones to install.

    $ apt-cache search ^unison
    unison - file-synchronization tool for Unix and Windows
    unison-gtk - file-synchronization tool for Unix and Windows with GTK+ interface
    unison-2.52 - file-synchronization tool for Unix and Windows
    unison-2.52-gtk - file-synchronization tool for Unix and Windows with GTK+ interface
    unison-2.53 - file-synchronization tool for Unix and Windows
    unison-2.53-gtk - file-synchronization tool for Unix and Windows with GTK+ interface
    unison2.27.57 - file-synchronization tool for Unix and Windows
    unison2.32.52 - file-synchronization tool for Unix and Windows
    unison2.40.102 - file-synchronization tool for Unix and Windows

If working between two different system versions you will need to
install compatible versions on both.

Bob


More information about the NCLUG mailing list