# Unison

Unison is a bidirectional file synchronization tool for Unix-like and Windows systems that keeps two replicas of files and directories in sync across computers or drives, propagating changes and handling conflicts so. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5072/unison

## Description

Unison is a bidirectional file synchronization tool for Unix-like and Windows systems that keeps two replicas of files and directories in sync across computers or drives, propagating changes and handling conflicts so both copies stay consistent.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

70/100 (Good), based on 4 of 5 factors.
- Maintained: 85 (last commit 62 days ago)
- Popular: 75 (5,592 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Security check: 70 (no serious findings, CI, OpenSSF Scorecard 4.7/10)

## Links

- Docker Hub: https://hub.docker.com/r/docksal/unison
- GitHub: https://github.com/bcpierce00/unison
- Official website: https://www.cis.upenn.edu/~bcpierce/unison/

## Common questions

### Does Unison need root privileges, kernel modules, or FUSE to run?

No. It is a user-level program that uses normal system calls, so it does not need kernel modification, superuser privileges, or a FUSE implementation.

### Can Unison automatically synchronize files after they change?

Yes. It can run in repeat mode with a filesystem monitor so changes are synchronized soon after they happen.

### How does Unison handle changes made on both computers?

It can deal with updates to both replicas. Non-conflicting updates are propagated automatically, while conflicting updates are detected and displayed.

### What kind of network connection does Unison use between hosts?

It typically communicates over SSH, but it can also communicate directly over TCP. It is designed to be careful with bandwidth and to work over slow links.

### Can synchronized files still be edited when the other host is offline?

Yes. Unison copies data rather than acting as a network filesystem, so already-synchronized data can be read and written while offline.

## Alternatives

- Beyond Compare
- DirSync Pro
- FreeFileSync: FreeFileSync is a folder comparison and synchronization tool that helps homelab users create backup copies of important files.
- GoodSync: GoodSync is a professional software for file backup and synchronization.
- IPFS: IPFS (InterPlanetary File System) is a LinuxServer.io container that runs a self-hosted IPFS node, exposing daemon and HTTP gateways for ho…
- Resilio Sync: Resilio Sync, formerly BitTorrent Sync, is a peer-to-peer file synchronisation tool that uses the BitTorrent protocol to keep files and fol…
- Robocopy: Robocopy, or &quot;Robust File Copy&quot;, is a command-line directory replication command.
- Syncthing: Syncthing is a free, open-source, decentralized file synchronization tool that replaces proprietary cloud sync by keeping folders synchroni…
- Synkron
- Toucan: Toucan is a small portableapp utility allowing you to synchronise, backup and secure your data with more options than the built in suite ut…
- ViceVersa
- rsync: File and directory synchronization tool for Unix systems with delta encoding, compression, recursion, SSH support, permission preservation,…

---
Source: Our Local Host (https://ourlocalhost.com/app/5072/unison), the self-hosted and open-source app directory.
