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.

Editor

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
PriceFreeFree
LicenceBSD-3-ClauseBSD-2-Clause
Concurrent backupsSequential / lockedLock-free
Storage supportLocal, SSHLocal, SFTP, S3, B2, REST, rclone
DeduplicationYes (per repository)Yes (per repository)
DockerYesYes
Linux packageYesYes
Windows–Yes
macOSYesYes
Tech stackPythonGo
Docker Containers1 (app only)1 (app only)
Architecturex86 + ARMx86 + ARM

Common questions

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.

Sources: Borg docs and restic docs.

Updated