Restic vs BorgBackup for Small Teams: a Decision Guide
Some links on this page are affiliate links. If you sign up through them we may earn a commission at no extra cost to you. We only link to services we have actually used, and commission never decides what we recommend.
You have a handful of servers, a NAS or an object storage bucket, and no dedicated backup engineer. Both restic and BorgBackup will back up your Linux boxes and both are free. The difference that actually bites is where the repository lives and what happens when you prune it six months from now.
Quick verdict
For most small teams, pick restic. It is one static binary, it writes to cheap object storage with no server to babysit, and it works identically on a Linux box, a Mac laptop, and a Windows admin's machine. The tradeoff you accept is weaker POSIX metadata fidelity (no ACLs or xattrs) and a prune step that rewrites pack files and needs to be bounded. Pick BorgBackup instead if you already run a Linux host you can dedicate to backups and you want borg serve --append-only — the strongest client-compromise protection either tool offers — plus hardlink, ACL, and xattr preservation.
What you are actually choosing between
| Dimension | restic | BorgBackup |
|---|---|---|
| Cost shape | Cheapest tier: any S3-compatible bucket, B2, or rclone target; storage-only, no server | Mid: needs a host with disk and SSH, or a hosted SSH storage plan that supports borg |
| Ops burden | Low: single binary, no daemon, no server/client version matching; prune and check are your only real chores | Higher: borg must exist on both ends, client and server should stay on the same major line, and Borg 2 is a new repo format |
| Performance ceiling | Parallel by default, scales well on many small files and high-latency object storage | Fast on large files over LAN or SSH, but Borg 1.x is largely single-threaded, so extra cores do not buy much |
| Lock-in | Repo format is documented; the practical lock-in is your bucket vendor | Repo format is documented; the practical lock-in is keeping a borg-capable host around |
| Metadata fidelity | Files, times, permissions; no ACLs, xattrs, or hardlink identity | Hardlinks, ACLs, xattrs, flags, sparse files all preserved |
How to decide, case by case
Work through these in order. The first one that matches your situation is your answer.
1. You have no spare Linux host and do not want one. Choose restic. Point it at a bucket and you are done.
export RESTIC_REPOSITORY="s3:s3.example.net/myteam-backups"
export RESTIC_PASSWORD_FILE=/etc/restic/pass
restic init
restic backup /srv /etc --exclude-caches
restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 12 --prune
restic check --read-data-subset=5%
The --read-data-subset flag matters. A structural check does not prove your data decrypts; sampling a slice each night does, and it stays cheap.
2. You have a Linux box with spare disk and a real ransomware worry. Choose BorgBackup. Set the server side to append-only so a compromised client cannot delete history:
# backup server: ~backup/.ssh/authorized_keys
command="borg serve --append-only --restrict-to-path /srv/borg",restrict ssh-ed25519 AAAA...
With that in place, a client that gets rooted can add archives but cannot prune, compact, or delete them. You then prune from a separate, non-compromised account or by hand during a maintenance window. Restic can do something similar with a REST server in --append-only mode, but that means running a REST server — at which point you have the server you were trying to avoid.
3. You are backing up mixed fleets: two Linux VMs, three MacBooks, one Windows laptop. Choose restic. One binary per platform, no Python, no server-side component, no version negotiation. Borg on macOS and Windows is possible but you are now supporting three install paths instead of one.
4. You back up mail servers, file servers, or anything with hardlinks and ACLs. Choose BorgBackup. Restic will store the file contents and deduplicate the hardlinked copies so space is fine, but a restore produces separate files and drops ACLs and xattrs. If a restore has to reproduce a working Samba share or a Maildir with hardlinked messages, that is a real failure, not a cosmetic one.
5. Your repo will be large and you prune weekly. Lean BorgBackup. borg prune drops whole segments and borg compact rewrites only what is left. Restic's prune reads and repacks pack files that fall below a fullness threshold; you can cap the damage with --max-repack-size, but on a multi-terabyte repo prune is a scheduled event, not a background nicety. Run it on a timer, not interactively, and never during a backup — prune takes an exclusive lock.
6. You want offsite copies in two places. Both handle this, but differently. Restic can copy between two repos natively (restic copy --from-repo), which makes a bucket-to-bucket offsite copy a one-liner. Borg needs a second borg create to a second repo, or borg transfer in Borg 2. Slight edge to restic here.
The daily commands, side by side, for the two paths:
# restic -> object storage
restic backup /srv /etc && restic forget --keep-daily 7 --prune
# borg -> SSH host
borg create --stats ssh://backup@host/./repo::'{host}-{now}' /srv /etc
borg prune --keep-daily 7 --keep-weekly 4 ssh://backup@host/./repo && borg compact ssh://backup@host/./repo
Where this falls short
Neither tool is an image-level backup. Both are file-level. If you need to restore a bare-metal Windows server or a full disk with a bootloader in one step, you want a different product, or you want filesystem snapshots underneath. Do not bolt restic onto a running database and call it a backup — dump the database first, then back up the dump.
Borg's files cache is the most common source of "why is borg so slow today" tickets. If ctime changes on your files — a restore, a filesystem migration, some network filesystems — the cache invalidates and the next run re-reads everything. Budget for one slow run after any migration.
Restic's prune is the equivalent trap. It is not incremental in the way backups are; it rewrites. On a repo with a lot of churn, prune can take longer than the backup that created the data. Use --max-repack-size and accept slightly imperfect space reclamation.
Both tools need you to verify restores. A backup you have never restored is a hypothesis. Put a quarterly restore of one directory onto a calendar and actually do it.
Finally, if your team is one person who will not maintain a server and will not run prune on a schedule, neither tool saves you. Pick restic, put forget --prune in a systemd timer, and set up a dead-man's-switch check on the backup job's success notification.
FAQ
Is restic faster than BorgBackup?
It depends on the workload, not the tool. Restic parallelizes and wins on many small files and high-latency object storage. Borg wins on large files over a LAN or SSH link, where its single-threaded pipeline is not the bottleneck. Benchmark your own data before believing either claim.
Can BorgBackup write to S3?
Borg 1.x cannot write directly to object storage; it needs a filesystem it can reach over SSH or locally. Borg 2 reworks the storage layer, so check the current documentation for your version rather than assuming. If S3 is a hard requirement today, restic is the safer pick.
Which one protects better against ransomware?
BorgBackup, if you run borg serve --append-only on a host the attacker cannot reach. Restic's equivalent requires a REST server in append-only mode. Without append-only on either side, both are equally deletable by anyone who has the repo password and network access.
Do I need a dedicated backup server for restic?
No. That is the main reason to choose it. You need a storage target — an S3-compatible bucket, a Backblaze B2 bucket, an SFTP host, or anything rclone can reach — and nothing running on the far end.
Related reading: How to Test That a Backup Actually Restores, Not Just Runs, Offsite Backup Provider for a One Person SaaS: Picks
Bottom line
Default to restic for a small team: no server, cheap object storage, one binary on every OS, and native repo-to-repo copy for offsite. Switch to BorgBackup when you have a Linux host to spare and you care about append-only protection or POSIX metadata fidelity more than you care about operational simplicity.
Today: install restic on one machine, run restic init against a test bucket, back up a single directory, then restore it to a different path and diff the two. If that restore is clean and your team can run the same three commands, you have your answer.