Restic vs Borg
in practice

Updated November 2026

Two serious tools, two philosophies. Restic for backends and Windows. Borg for compression and append-only SSH.

Restic and Borg are both deduplicating, encrypted, snapshot-based backup tools, and the practical difference is where each can store data. Restic writes to local disk, SFTP, REST, S3, Backblaze B2, Azure, Google Cloud and more, so a plain object-storage bucket works as a target. Borg requires either a local filesystem or a remote host running the Borg binary over SSH, which is why hosted Borg providers exist and hosted Restic targets are simply REST or SFTP endpoints.

Borg generally produces smaller repositories because it compresses by default and uses a content-defined chunker tuned for that. Restic is written in Go, ships as a single static binary with no dependencies, and runs natively on Linux, macOS, Windows and FreeBSD, where Borg is Python and effectively Unix-only. Choose Borg for maximum compression to a server you control, Restic for portability and storage-backend freedom.

On this page

Restic and Borg, side by side

 ResticBorg
LicenseBSDSame on both
Written inGo, single static binaryPython, with C extensions
PlatformsLinux, macOS, Windows, FreeBSDLinux, macOS, BSD (Windows via WSL)
Storage targetsLocal, SFTP, REST, S3, B2, Azure, GCS, rcloneLocal disk, or SSH to a host running Borg
CompressionOptional (zstd since 0.14)On by default
DeduplicationContent-defined chunkingSame on both
Append-only modeVia repository permissionsNative server-side flag

Borg usually produces smaller repositories. Restic goes more places: if the destination is object storage or a managed endpoint, Restic is the one that can talk to it.

Compression and deduplication

Borg typically compresses text-heavy data such as source code, logs and configs better. Restic has used zstd by default since 0.14, so the gap is smaller than it was.

On binary, media and already-compressed files neither tool helps much, and compression is skipped automatically. Deduplication is roughly comparable: Borg's variable-length chunking can win on some workloads, while Restic's chunking is predictable across all data types.

Backend support

Backend support is restic's biggest advantage. It natively talks to SFTP, S3-compatible storage, Backblaze B2, Azure Blob, Google Cloud Storage and anything rclone can reach.

Borg natively supports local disks and SSH/SFTP only, and needs rclone as a wrapper for cloud backends. If you need S3 or B2, or several cloud targets, restic is the cleaner choice.

Security model

Both tools encrypt everything client-side before upload, so neither the storage provider nor an attacker who compromises the storage can read your data without the key.

Borg's SSH append-only mode stops an attacker who controls your backup client from deleting existing backups. Restic's rest-server offers similar protection through its own append-only mode.

Which to use in 2026

For new setups in 2026, restic is the practical default: broader backend support, better Windows handling and a simpler mental model. If you already run Borg and it works, there is no reason to switch.

Migration is painful, and the tools are comparable in reliability for Linux server backups. The right tool is the one you will actually maintain and test restores on.

Restic in 2026: what has changed

Restic has been the faster-moving project. Releases 0.16 through 0.18 brought better large-repository performance and an improved copy command for moving between backends. Upgrading is a drop-in binary replace with no dependency chain.

Borg 2.0 has been in development for several years, with a new archive format and better performance, but moving from Borg 1.x takes manual steps. Existing Borg users should plan for that.

Hosted backup services: restic vs Borg

Hosted services follow the tool split. BorgBase is the main managed option for Borg, with EU and US regions and strong Borg tooling. ServerCrate is built for restic over HTTPS: a private ZFS-backed vault per user, flat pricing and no egress fees.

We also offer hosted Borg repositories with append-only keys, and we publish a scheduled end-to-end restore drill as proof that restores work. See the BorgBase vs ServerCrate comparison for the details.

Both tools work with a hosted repository.
We host restic vaults and Borg repositories, both encrypted on your machine before upload: Starter $3/mo for 250 GB, or $30 a year with yearly billing. 30-day money-back on every paid plan. Prefer Borg? A Borg-250 repository is the same price, $30 a year.
Choose Starter, 250 GB

First-run setup commands, side by side

What you type for a first backup, with the binary installed (apt, pacman or the static binary) and an SFTP destination:

Restic: three commands to first backup

Shell
export RESTIC_REPOSITORY=sftp:user@host:/path/to/repo
export RESTIC_PASSWORD=your-password
restic init
restic backup /etc /home /var/www

That's the whole setup: restic init creates the encrypted repository and restic backup creates a snapshot. No config file, no extra tooling.

Borg: four commands, plus SSH config

Shell
# Configure SSH key auth with the remote first
export BORG_REPO=ssh://user@host/path/to/repo
export BORG_PASSPHRASE=your-password
borg init --encryption=repokey-blake2 $BORG_REPO
borg create $BORG_REPO::'{hostname}-{now}' /etc /home /var/www

Borg needs SSH key auth on the server side, because password SSH does not play well with Borg's SSH multiplexing. After that the workflow is similar, with a different repository format.

Retention policy syntax, compared

Both tools use the same retention concepts with slightly different flags. A typical homelab policy of 7 daily, 4 weekly and 12 monthly snapshots looks like this in each:

Restic retention

Shell
restic forget \
  --keep-daily 7 \
  --keep-weekly 4 \
  --keep-monthly 12 \
  --prune

Borg retention

Shell
borg prune -v --list $BORG_REPO \
  --keep-daily 7 \
  --keep-weekly 4 \
  --keep-monthly 12

Nearly identical. The Restic retention policy guide covers yearly retention, tag-based pruning and common mistakes.

Single-file restore: how each tool handles it

Both tools let you browse a snapshot and pull out single files, with different commands:

Restic: mount and cp

Shell
mkdir /mnt/backup
restic mount /mnt/backup
# browse the tree, find your file
cp /mnt/backup/snapshots/latest/home/user/file.txt /tmp/
fusermount -u /mnt/backup

Borg: extract with path filter

Shell
borg list $BORG_REPO
borg extract $BORG_REPO::snapshot-name home/user/file.txt

Restic's mount feels natural if you are used to Unix file operations; Borg's extract is faster when you know the path. More in the Restic restore guide, and verify your restic backups before you need one.

Performance benchmarks: the practical reality

Both tools are fast enough that network upload speed is almost always the bottleneck. In practice they tie on backup and restore throughput, and differ only on integrity checks:

Initial Backup (500 GB)
Tied
Both move data as fast as your connection allows. You are bandwidth-bound.
Incremental Backup
Tied
Both tools dedup incrementals well. Borg may edge slightly on text-heavy workloads due to compression.
Restore Speed
Tied
Network-bound for single files. Large restores depend on access pattern and chunk cache.
Repository Check
Restic wins
Restic's check --read-data tends to be faster for integrity audits, especially over remote SFTP.

When Borg is genuinely better

Borg wins on compression of text-heavy data, on its native append-only SSH model, and whenever a healthy Borg setup already exists.

  • Compression-heavy workloads.Source code, log archives, configs. Borg's tuning historically gives 5 to 15% better compression on text-dominated datasets.
  • SSH append-only security model.Borg's native --append-only mode means a compromised backup client cannot delete existing snapshots. Restic needs rest-server for this.
  • You already have a working Borg setup.Migration pain is real, and no tool-level advantage justifies rebuilding a healthy Borg repository.

When Restic is genuinely better

Restic wins on platform coverage, cloud backends, ease of learning and managed hosting options.

  • Multi-platform environments (includes Windows).Borg on Windows needs WSL. Restic has a native Windows binary.
  • Cloud backend variety.Restic natively supports S3, Backblaze B2, Azure Blob, GCS, SFTP and rclone. Borg is SFTP-first; cloud needs rclone as a wrapper.
  • Simpler mental model for new users.Fewer concepts, clearer docs, simpler failure modes.
  • Managed hosting options.Restic hosts like ServerCrate give you connection strings to paste, not SSH keys to provision and rotate.

Who should not use ServerCrate

ServerCrate is the wrong fit in two cases.

  • If you need 99.999% SLA.We're a small team in one Los Angeles facility. rsync.net offers stricter contractual SLAs.
  • If you need EU data residency.Today we're US-only; BorgBase has Frankfurt and Helsinki options.

Next step: connect your first machine

The setup guide takes a new vault from signup to a first encrypted backup and a test restore, with the commands for Linux, macOS and Windows. On a Linux server the one-line installer does it in a single command.

Starter fits most single servers and small homelabs.
Starter $3/mo for 250 GB, or $30 a year with yearly billing. 30-day money-back on every paid plan. Or start with 10 GB free, no card.
Choose Starter, 250 GB

Restic vs Borg FAQ

Restic. The setup is simpler, the documentation is clearer, and the mental model (repository, snapshot, password) is easier to reason about. Borg has more knobs which means more to learn and more to go wrong.
Usually they tie: network upload speed is the bottleneck, not the tool. Borg edges Restic on compression-heavy text data by 5 to 15 percent. Restic edges Borg on parallel uploads and on integrity checks over remote SFTP.
Not natively. Borg requires a POSIX environment, so Windows users need WSL and accept rough edges around path handling and permissions. Restic has a native Windows binary that works without WSL.
Borg, on text-heavy data such as source code, configs, and logs. The gap has narrowed since Restic adopted zstd as the default in 0.14. On binary or already-compressed data, neither tool helps much; both skip compression automatically.
Not directly. The repository formats are incompatible. The practical path is to start a fresh Restic backup, keep the old Borg repository read-only until its retention window expires, then decommission. There is no automated migration tool.

Further reading

If you are still weighing options, the wider field is covered in Restic alternatives compared, and Restic vs Tarsnap covers the other tool people most often migrate away from.

If you settle on Restic, this comparison of restic repository hosts covers price per TB, egress and append-only for nine options.

Keep going

Start with restic today.

Private vault ready in seconds. Works with any restic setup.

Cancel anytime. 10 GB free tier never expires. No egress fees.