# BorgBackup

> Deduplicating archiver with compression and authenticated encryption

Source: https://talira.ai/catalog/borgbackup-97vvc3hh
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [devops / backup](https://talira.ai/categories/devops/backup)
- Platforms: linux, macos, cli[^3][^4]
- Licence: BSD-3-Clause[^3][^7]
- Pricing: Free and open source[^6]
- Pricing notes: Free; donations through Open Collective, GitHub Sponsors, Liberapay and PayPal. Paid consulting and support from Waldmann EDV, run by Borg's lead developer.
- Free tier: yes[^6]
- Self-hostable: yes[^3]

BorgBackup (Borg) is a deduplicating backup program for the command line. Content-defined chunking stores each chunk once across files, archives and every machine that shares a repository, with optional lz4, zstd, zlib or lzma compression and client-side authenticated encryption (256-bit AES with HMAC-SHA256 in the stable 1.4 line), so the server holding the backups only sees ciphertext. Repositories live on a local or USB disk or on any host reachable over SSH, with no daemon or agent, and archives can be mounted with FUSE to browse and restore files. It runs on Linux, [macOS](https://talira.ai/catalog/macos-8swyggxb.md) and the BSDs, Borg repository hosting is sold by [BorgBase](https://talira.ai/catalog/borgbase-5me66qxn.md), Hetzner and rsync.net, and front ends such as [Vorta](https://talira.ai/catalog/vorta-2z3yxrm0.md) and [borgmatic](https://talira.ai/catalog/borgmatic-g1r4b18c.md) build on it. BSD-3-Clause.

## Links

- Website: https://www.borgbackup.org/
- GitHub: https://github.com/borgbackup/borg
- Docs: https://borgbackup.readthedocs.io/en/stable/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/borgbackup>[^1]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/borg>[^2]

## Problems it solves

- back up my Linux server every night to another box over SSH without installing an agent
- nightly backups of the same files keep eating disk; I want only the changed chunks stored
- encrypt my backups on the client so the storage provider can't read them
- back up several machines to one repository and store files they share only once
- mount last Tuesday's backup like a folder and copy one file back out
- keep 7 daily, 4 weekly and 6 monthly archives and prune the rest automatically
- back up my laptop to an external USB drive with deduplication and compression
- my rsync backup script copies everything every time and has no history of old versions
- choose between fast lz4 and strong lzma compression for my backup archives
- a single-file backup binary I can drop onto a server without installing Python
- verify that my backup repository isn't corrupted before I need to restore from it
- back up a whole disk image of a VM efficiently, storing only blocks that changed
- back up my home server to Hetzner Storage Box or rsync.net with encryption
- an open source backup tool my home lab can script from cron and systemd timers
- protect my offsite backups from a compromised backup server reading my data

## Features

- deduplication by content-defined chunking across files, archives and machines sharing a repository
- client-side authenticated encryption: 256-bit AES with HMAC-SHA256 (Borg 1.4)
- optional obfuscation of file and chunk sizes to make fingerprinting harder
- compression with lz4, zstd, zlib or lzma
- repositories on local disks or any remote host reachable over SSH; faster with Borg installed on the remote host
- archives mountable as FUSE file systems to browse and restore with a file manager
- no daemons or agents to run
- single-file binaries for Linux, macOS and FreeBSD; packages in most distributions; pip install borgbackup
- local caching and quick detection of unmodified files
- documented recipes for backing up entire disk images, pull mode and non-root users
- Borg 2.0 beta adds sftp, http(s), S3, B2 and rclone repositories, AES-OCB or ChaCha20-Poly1305 and Blake3

## Limitations

- No native Windows version: Windows support is experimental, through the Windows Subsystem for Linux (WSL) or Cygwin[^3][^4]
- Doesn't allow two backups to write to one repository at once: only one process can have write access at a time[^5]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.20 out of 1.
Signals: backing 0.00, extensibility 0.20.

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Duplicati](https://talira.ai/catalog/duplicati-5j9nrz3s.md): Store securely encrypted backups on cloud storage services
- [Proxmox Backup Server](https://talira.ai/catalog/proxmox-backup-server-3f508fg2.md): Open-source enterprise backup for VMs, containers and physical hosts
- [rustic](https://talira.ai/catalog/rustic-1bxmcte6.md): Fast, encrypted and deduplicated backups, powered by Rust
- [Duplicacy](https://talira.ai/catalog/duplicacy-s62qdwbv.md): A new generation cross-platform cloud backup tool
- [Plakar](https://talira.ai/catalog/plakar-0byfja3t.md): Open source backup engine: encrypted, deduplicated, verifiable and scalable
- [restic](https://talira.ai/catalog/restic-zvg5aa8d.md): Fast, secure, efficient backup program

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^3]: https://borgbackup.readthedocs.io/en/stable/ (checked 19 Nov 2026)
[^4]: https://borgbackup.readthedocs.io/en/stable/installation.html (checked 19 Nov 2026)
[^5]: https://borgbackup.readthedocs.io/en/stable/faq.html (checked 19 Nov 2026)
[^6]: https://www.borgbackup.org/ (checked 19 Nov 2026)
[^7]: https://github.com/borgbackup/borg/blob/master/LICENSE (checked 19 Nov 2026)
