Borg vs restic
Editor take
Choose Borg for an append-only key over SSH and for a 1.x series that began in 2016. Choose restic for native S3, B2 and Azure targets and for Windows PCs.
Where they differ
Only what is true of one of them and not the other. Each app's weak spots are the other app's strengths.
Borg
Where Borg is stronger
- Append-only key over SSHA key can run borg serve --append-only, so a compromised client cannot delete old archives; restic needs rest-server, or rclone in front of the repository, for the same protection.1
- Compression you can choosezstd, lz4, zlib or lzma, picked on each borg create; restic compresses with zstd only.2
- A 1.x series since 2016Borg ships 1.4.5 as its stable release, with 2.0 still beta; restic is at 0.19.1 after more than a decade of 0.x releases.3
restic
Where restic is stronger
- Native S3, B2 and Azure targetsWrites to S3, Backblaze B2, Azure, Google Cloud, Swift and rclone remotes directly; Borg 1.4 has only a disk or an SSH host.4
- Runs natively on WindowsA Windows binary backs up a PC without a compatibility layer; Borg's docs list only WSL and Cygwin, both experimental.5
- Repositories other tools readBackrest and Zerobyte are front ends for the same repository format, so a Restic repository outlives either one; a Borg repository needs Borg.6
Borg vs restic: specs side by side
Every spec for both apps in one table, so you can check install options, hardware and client apps before you pick one.
| Spec | ||
|---|---|---|
| Price | Free | Free |
| Licence | BSD-3-Clause | BSD-2-Clause |
| Concurrent backups | Sequential / locked | Lock-free |
| Storage support | Local, SSH | Local, SFTP, S3, B2, REST, rclone |
| Deduplication | Yes (per repository) | Yes (per repository) |
| Docker | Yes | Yes |
| Linux package | Yes | Yes |
| Windows | – | Yes |
| macOS | Yes | Yes |
| Tech stack | Python | Go |
| Docker Containers | 1 (app only) | 1 (app only) |
| Architecture | x86 + ARM | x86 + ARM |
Common questions
Are Borg and restic repositories compatible?
No. Each tool has its own repository format, so neither can open the other backups. A migration means restoring from one and writing a fresh backup with the other, not pointing it at the same folder.
Which one has a FUSE mount?
Both. borg mount and restic mount each expose a snapshot as a folder, on Linux and macOS with FUSE installed. On macOS, Borg needs macFUSE and restic needs FUSE-T or FUSE for macOS.
Does restic run on Windows?
Yes, it has a Windows binary. Borg's install docs list only WSL and Cygwin for Windows, and call both experimental.
Which one can use cloud storage directly?
restic, which writes to S3, Backblaze B2, Azure, Google Cloud, Swift and rclone remotes. Borg 1.4, the stable release, has no S3 backend, so cloud storage has to be mounted as a filesystem first; the 2.0 beta adds S3, B2 and rclone.
Sources: Borg docs and restic docs.