Softwr

Backup · head to head

Borg Backup vs Thanos

Borg Backup logo

Borg Backup

Backup

Deduplicating archiver with compression and encryption

From
Free
Free plan
Yes
Thanos logo

Thanos

Cloud

Highly available Prometheus with long-term object storage

From
Free
Free plan
Yes

The short version

  • Borg Backup is a deduplicating backup program.
  • Both are free.
  • Only Borg Backup lists content-defined chunking; only Thanos lists global query.
  • Where Borg Backup falls short: linux, macOS and BSD only; Windows is not a supported platform.
  • Where Thanos falls short: several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes.

How do Borg Backup and Thanos differ?

Borg Backup and Thanos differ on pricing model, platforms (Linux, macOS against Self-hosted, Linux) and category (Backup against Cloud). Only the attributes on which Borg Backup and Thanos actually diverge.

Attributes where Borg Backup and Thanos differ
AttributeBorg BackupThanos
Pricing modelFreeOpen source, no licence fee
PlatformsLinux, macOSSelf-hosted, Linux
CategoryBackupCloud

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Thanos.

Which features does each one have?

They share 1 listed feature; 11 appear only for Borg Backup and 3 only for Thanos. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Borg Backup

  • Content-defined chunking
  • Compression
  • Authenticated encryption
  • Pruning
  • Mount archives
  • SSH
  • BorgBase
  • rsync.net

Only in Thanos

  • Global query
  • Object storage retention
  • Downsampling

Both cover

  • Deduplication

What is each one used for?

Borg Backup is most often brought in for deduplicated backups where daily full snapshots would otherwise be expensive; Thanos for querying metrics across many clusters or regions from one place. The jobs each tool is most often brought in to do.

Borg Backup

  • Deduplicated backups where daily full snapshots would otherwise be expensivenot Thanos
  • Encrypted backup to a server you do not fully trust, since the server never sees plaintextnot Thanos
  • Browsing previous versions by mounting an archive over FUSEnot Thanos
  • Scripted server backups with no agent or daemon to runnot Thanos

Thanos

  • Querying metrics across many clusters or regions from one placenot Borg Backup
  • Retaining metrics for years without local disk growthnot Borg Backup
  • Removing the gap that appears when a single Prometheus instance restartsnot Borg Backup

Where do Borg Backup and Thanos fall short?

Borg Backup's most cited limit: linux, macOS and BSD only; Windows is not a supported platform. Thanos's: several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Borg Backup

  • Linux, macOS and BSD only; Windows is not a supported platform
  • Command-line only, with no graphical interface in the project itself
  • Version 2.0 is still in beta, so production use means staying on the 1.4 line
  • Restoring requires the Borg tooling, since archives are a deduplicated chunk store rather than plain files

Thanos

  • Several components — sidecar, store, querier, compactor, ruler — each with its own configuration and failure modes
  • The compactor is a common source of operational trouble and must not run twice against the same bucket
  • Query latency over object storage is meaningfully higher than local Prometheus
  • Object storage costs and API request charges become real at high volume

How much do Borg Backup and Thanos cost?

Borg Backup is free to use; Thanos is free to use. Plan by plan below, from each vendor's own pricing page.

Borg Backup

Free
  • FreeFree
    • Deduplication
    • Compression
    • Encryption

Thanos

Free
  • ThanosFree
    • Full functionality
    • No usage limits
    • Community support

Which should you pick?

Choose Borg Backup if

  • You need content-defined chunking.
  • You want to start without paying.
  • You work on Linux, macOS.
  • You also want compression.

Choose Thanos if

  • You need global query.
  • You want to start without paying.
  • You work on Self-hosted, Linux.
  • You also want object storage retention.

Questions people ask

Is Borg Backup or Thanos better?
It depends on the job. Borg Backup fits deduplicated backups where daily full snapshots would otherwise be expensive; Thanos fits querying metrics across many clusters or regions from one place. Borg Backup starts at Free and Thanos at Free.
Which is cheaper, Borg Backup or Thanos?
Borg Backup starts at Free and Thanos at Free.
Does Borg Backup or Thanos run on more platforms?
Borg Backup runs on Linux, macOS. Thanos runs on Self-hosted, Linux.
Can I use Borg Backup for free?
Both have a free tier, so you can try either at no cost before committing.
What is Borg Backup best used for?
Borg Backup is most often used for deduplicated backups where daily full snapshots would otherwise be expensive, encrypted backup to a server you do not fully trust, since the server never sees plaintext, browsing previous versions by mounting an archive over fuse, scripted server backups with no agent or daemon to run. Of those, deduplicated backups where daily full snapshots would otherwise be expensive and encrypted backup to a server you do not fully trust, since the server never sees plaintext are not what Thanos is typically brought in for.
What can Borg Backup do that Thanos cannot?
Borg Backup covers Content-defined chunking, Compression, Authenticated encryption, Pruning. Thanos covers Global query, Object storage retention, Downsampling. Both handle Deduplication.

Answered from the vendors’ own pages

Borg Backup: What is the cost of BorgBackup?

BorgBackup is completely free and open source under the BSD license with no mandatory costs for the core software.

Source
Thanos: Is Thanos free?

Yes, open source and CNCF-incubating. Costs are the object storage it uses.

Borg Backup: Are there paid services available for BorgBackup?

Yes, optional third-party services are available: BorgBase for specialized Borg repository hosting, Hetzner Storage Box with Borg support, and rsync.net cloud storage integration.

Source
Thanos: Does Thanos replace Prometheus?

No. It runs alongside existing Prometheus servers, adding global query, deduplication and long-term storage.

Borg Backup: How can I support the BorgBackup project?

BorgBackup accepts voluntary contributions through Open Collective, GitHub Sponsors, Liberapay, and PayPal, though donations are optional.

Source
Thanos: Thanos or VictoriaMetrics?

Thanos layers onto Prometheus using object storage and is the more established multi-cluster answer. VictoriaMetrics is a separate store aiming at lower resource use and fewer moving parts.

Share

Related pages

Other head to heads