Softwr

Backup · head to head

Borg Backup vs HAProxy

Borg Backup logo

Borg Backup

Backup

Deduplicating archiver with compression and encryption

From
Free
Free plan
Yes
HAProxy logo

HAProxy

Cloud

High-performance TCP and HTTP load balancer

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 HAProxy lists high throughput.
  • Where Borg Backup falls short: linux, macOS and BSD only; Windows is not a supported platform.
  • Where HAProxy falls short: configuration syntax is dense and unforgiving, with a steep initial learning curve.

How do Borg Backup and HAProxy differ?

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

Attributes where Borg Backup and HAProxy differ
AttributeBorg BackupHAProxy
Pricing modelFreeOpen source, no licence fee
PlatformsLinux, macOSLinux, Self-hosted
CategoryBackupCloud
Founded20152000

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

Which features does each one have?

They share no listed features; 12 appear only for Borg Backup and 4 only for HAProxy. 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
  • Deduplication
  • Compression
  • Authenticated encryption
  • Pruning
  • Mount archives
  • SSH
  • BorgBase

Only in HAProxy

  • High throughput
  • Layer 4 and 7
  • Health checking
  • Rate limiting and ACLs

What is each one used for?

Borg Backup is most often brought in for deduplicated backups where daily full snapshots would otherwise be expensive; HAProxy for precise traffic control — rate limits, sticky sessions, complex routing rules. The jobs each tool is most often brought in to do.

Borg Backup

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

HAProxy

  • Load balancing at traffic levels where proxy efficiency shows up in the hardware billnot Borg Backup
  • Precise traffic control — rate limits, sticky sessions, complex routing rulesnot Borg Backup
  • TCP load balancing for databases and non-HTTP servicesnot Borg Backup

Where do Borg Backup and HAProxy fall short?

Borg Backup's most cited limit: linux, macOS and BSD only; Windows is not a supported platform. HAProxy's: configuration syntax is dense and unforgiving, with a steep initial learning curve. 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

HAProxy

  • Configuration syntax is dense and unforgiving, with a steep initial learning curve
  • No automatic certificate management, unlike newer servers that treat it as default behaviour
  • The built-in stats page is basic, so real observability needs exporters and dashboards
  • A dedicated load balancer is more machinery than small deployments need

How much do Borg Backup and HAProxy cost?

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

Borg Backup

Free
  • FreeFree
    • Deduplication
    • Compression
    • Encryption

HAProxy

Free
  • HAProxyFree
    • 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 deduplication.

Choose HAProxy if

  • You need high throughput.
  • You want to start without paying.
  • You work on Linux, Self-hosted.
  • You also want layer 4 and 7.

Questions people ask

Is Borg Backup or HAProxy better?
It depends on the job. Borg Backup fits deduplicated backups where daily full snapshots would otherwise be expensive; HAProxy fits load balancing at traffic levels where proxy efficiency shows up in the hardware bill. Borg Backup starts at Free and HAProxy at Free.
Which is cheaper, Borg Backup or HAProxy?
Borg Backup starts at Free and HAProxy at Free.
Does Borg Backup or HAProxy run on more platforms?
Borg Backup runs on Linux, macOS. HAProxy runs on Linux, Self-hosted.
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 HAProxy is typically brought in for.
What can Borg Backup do that HAProxy cannot?
Borg Backup covers Content-defined chunking, Deduplication, Compression, Authenticated encryption. HAProxy covers High throughput, Layer 4 and 7, Health checking, Rate limiting and ACLs.

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
HAProxy: Is HAProxy free?

Yes, the community version is open source. HAProxy Technologies sells HAProxy Enterprise separately.

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
HAProxy: HAProxy or Nginx?

HAProxy is a specialist load balancer with deeper balancing and health-check features. Nginx also serves static content and is more approachable, which is why it is more common as a general web server.

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
HAProxy: Does HAProxy handle TLS certificates automatically?

No. Certificate issuance and renewal are external, unlike Caddy where it is automatic.

Share

Related pages

Other head to heads