BorgBackup
A deduplicating backup program with compression and encryption.
Borg backs up files into a deduplicated, optionally encrypted and compressed repository. It chunks files at content-defined boundaries (using a Buzhash rolling hash), so that small changes between snapshots only consume a small amount of additional storage even across many full snapshots. Encryption is authenticated, with the option of repokey or keyfile-stored secrets.
The Borg Collective forked the project from Attic in 2015 to continue development at a faster pace. Borg has been widely adopted in self-hosting, homelab, and small-business backup setups — the deduplication ratios are usually excellent for typical user data, and the SSH-based remote-repository transport makes "back up to a friend's server or a VPS" easy.
Borg is one of two leading deduplicating backup tools alongside restic. The two have roughly comparable feature sets but differing trade-offs: Borg's repository format is older and more mature, while restic's Go binary is single-file portable and supports a wider range of cloud storage backends out of the box.
Install
Debian/Ubuntu: sudo apt install borgbackup Fedora/RHEL: sudo dnf install borgbackup Arch: sudo pacman -S borg macOS: brew install borgbackup
Authors
- Borg Collective contributors