The best Linux backup software in 2026
restic is the best backup tool for most Linux servers: one binary, encryption that's always on, deduplication, and native S3, B2, Azure, GCS and SFTP support. On our test server it backed up 30.7 MiB in under a second and restored cleanly. BorgBackup is best when you back up to another Linux server over SSH, and Kopia when you want per-path policies and a GUI on the same snapshot model.
On Proxmox VE, use Proxmox Backup Server. For many machines and tape, use Bareos. Databases need a dump or a database-aware tool as well; see below.
Our top picks
- resticBest for encrypted, deduplicated server backups to almost any storage
- BorgBackupBest for fast deduplicated backups to another server over SSH
- KopiaBest for snapshots with policies, a GUI and cloud storage
Compare at a glance
| Tool | Best for | Pricing | Open source | Deployment | Tested by us |
|---|---|---|---|---|---|
| restic | encrypted, deduplicated server backups to almost any storage | Free | Yes | Self-hosted CLI | Yes |
| BorgBackup | fast deduplicated backups to another server over SSH | Free | Yes | Self-hosted CLI | Yes |
| Kopia | snapshots with policies, a GUI and cloud storage | Free | Yes | Self-hosted CLI and desktop app, with an optional repository server | Yes |
| Proxmox Backup Server | Proxmox VE virtual machines and containers | Free to use; optional subscriptions per backup server per year: Community €560, Basic €1,120, Standard €2,240, Premium €4,480 | Yes | Self-hosted backup server | Docs only |
| Bareos | centrally scheduled backups of many machines, including tape | No license fees; subscription from €480 per year (€48 per unit, 10-unit minimum); support from €1,080 per year | Yes | Self-hosted (director, storage and file daemons, PostgreSQL catalog) | Docs only |
| Veeam Agent for Linux | image-level backup and bare-metal restore | FREE edition at no cost; paid editions: no public price (quote) | No | Self-hosted agent (DEB and RPM packages) | Docs only |
| Duplicati | a web UI and a long list of cloud destinations | Client free; Console free for 2 machines, Pro $2 per machine per month billed annually, Enterprise from $3 per machine per month (10-machine minimum) | Yes | Self-hosted client with a web UI; optional Duplicati Console (SaaS) | Docs only |
| rsnapshot | simple local snapshots you can browse with ls | Free | Yes | Self-hosted | Yes |
| duplicity | GnuPG-encrypted backups to many backends | Free | Yes | Self-hosted CLI | Docs only |
| Bacula | existing Bacula installations and Bacula Enterprise customers | Community edition free; Bacula Enterprise: no public price (priced by endpoints and support level) | Yes | Self-hosted | Docs only |
The full ranking
restic
Best for: encrypted, deduplicated server backups to almost any storage
restic is our top pick for most Linux servers. It's one static binary with encryption that's always on, deduplication and compression, and it supports local disks, SFTP, its own REST server, S3-compatible storage, Backblaze B2, Azure and Google Cloud Storage natively, plus anything rclone can reach. On our Debian 12 test server, version 0.19.1 backed up /etc and /usr/share/doc (30.7 MiB) in under a second, stored it in 20 MB, restored a single file and passed restic check. Scheduling and retention are up to you, typically a systemd timer plus a heartbeat monitor so you hear when a run doesn't happen.
- Pricing
- Free (checked November 15, 2026, source)
- License
- Open source (BSD-2-Clause)
- Deployment
- Self-hosted CLI
- Runs on
- Single static binary for Linux and other systems
Pros
- Encryption always on, plus deduplication and compression
- Many native backends, plus rclone
- Single static binary; fast in our test
Cons
- No built-in scheduler or GUI
- Lose the repository password and the backups can't be read; restic warns about this at setup
Tested by us: restic 0.19.1 on Debian 12.15, 14 Nov 2026 (UTC): checksum-verified official binary; two backups of /etc and /usr/share/doc to a local repository, a single-file restore and restic check. Removed afterwards.
BorgBackup
Best for: fast deduplicated backups to another server over SSH
BorgBackup is restic's closest rival and the better fit when your backup target is another Linux machine reached over SSH with Borg installed. It deduplicates with variable-length chunks, compresses with lz4, zstd, zlib or lzma, encrypts with AES-256 and checks integrity with HMAC-SHA256, and archives can be mounted to browse and restore. On our Debian 12 test server, two archives of the same 32 MB took 18.9 MB after deduplication, the second finished in 0.23 seconds, and borg check passed. Debian 12 packages Borg 1.2.4, while the current stable release is 1.4.5. For object storage such as S3, restic or Kopia fit better.
- Pricing
- Free (checked November 15, 2026, source)
- License
- Open source (BSD-3-Clause)
- Deployment
- Self-hosted CLI
- Runs on
- Linux, macOS and FreeBSD (single-file binaries); OpenBSD and NetBSD without binaries
Pros
- Very efficient deduplication and compression
- Authenticated encryption
- Archives can be mounted to browse and restore
Cons
- Remote backups need an SSH host running Borg
- Distro packages can lag behind (Debian 12 ships 1.2.4; upstream is 1.4.5)
Tested by us: BorgBackup 1.2.4 (Debian package) on Debian 12.15, 14 Nov 2026 (UTC): an encrypted local repository, two archives with zstd compression, a single-file extract and borg check. Removed afterwards.
Kopia
Best for: snapshots with policies, a GUI and cloud storage
Kopia covers the same ground as restic and adds policies and a GUI. You set schedules, exclusions, compression and retention per path, host or user; KopiaUI gives you a desktop interface; and an optional repository server manages many machines. It supports S3, B2, Azure, GCS, SFTP and WebDAV, encrypts with AES-256 or ChaCha20, and adds Reed-Solomon error correction against bit rot. On our Debian 12 test server, version 0.23.1 snapshotted the same 30.7 MiB in about 0.6 seconds and stored 22 MB. One surprise: the global policy had compression disabled until we set it, so turn it on if you want it.
- Pricing
- Free (checked November 15, 2026, source)
- License
- Open source (Apache-2.0)
- Deployment
- Self-hosted CLI and desktop app, with an optional repository server
- Runs on
- Linux and other systems; command line plus the KopiaUI desktop app
Pros
- Per-path policies for schedules, compression and retention
- GUI, plus an optional server for many machines
- Encryption and error correction
Cons
- Compression was off by default in our test
- More concepts to learn than restic
Tested by us: Kopia 0.23.1 on Debian 12.15, 14 Nov 2026 (UTC): checksum-verified official release; a filesystem repository, two rounds of snapshots, a single-file restore and snapshot verify. Removed afterwards.
Proxmox Backup Server
Best for: Proxmox VE virtual machines and containers
Proxmox Backup Server is built for Proxmox VE. It backs up VMs and containers incrementally, with deduplication, Zstandard compression and client-side AES-256-GCM encryption. It isn't Proxmox-only: proxmox-backup-client can back up any Linux amd64 machine to it. The software is AGPL-3.0 and free to use, and subscriptions per backup server, from €560 a year, add support and access to the enterprise repository. If you run Proxmox VE, it's the obvious choice. For a few standalone servers, restic or Borg is less to run, because you don't need a dedicated backup server.
- Pricing
- Free to use; optional subscriptions per backup server per year: Community €560, Basic €1,120, Standard €2,240, Premium €4,480 (checked November 15, 2026, source)
- License
- Open source (AGPL-3.0)
- Deployment
- Self-hosted backup server
- Runs on
- Backs up Proxmox VE VMs and containers, and Linux amd64 hosts through proxmox-backup-client
Pros
- Built into Proxmox VE workflows
- Deduplicated, compressed, client-side-encrypted backups
- Free to use under AGPL-3.0
Cons
- A dedicated backup server to run
- Best value only if you use Proxmox VE
Not tested by us yet: based on the vendor's documentation.
Bareos
Best for: centrally scheduled backups of many machines, including tape
Bareos is the heavyweight open-source option. A Director schedules and supervises jobs, a File Daemon on each client sends data, Storage Daemons write it to disk or tape, and a PostgreSQL catalog tracks every file so you can find it at restore time. It's a fork of Bacula 5.2 that grew from a branch of community contributions started in 2010, is licensed AGPL-3.0, and has packages for Linux, FreeBSD, macOS and Windows. Bareos charges no license fees; maintained binaries and plugins come with a subscription from €480 a year. Choose it for tens or hundreds of machines; for one server it's far more than you need.
- Pricing
- No license fees; subscription from €480 per year (€48 per unit, 10-unit minimum); support from €1,080 per year (checked November 15, 2026, source)
- License
- Open source (AGPL-3.0)
- Deployment
- Self-hosted (director, storage and file daemons, PostgreSQL catalog)
- Runs on
- Packages for Linux, FreeBSD, macOS and Windows (varies by component); PostgreSQL catalog
Pros
- Central scheduling, catalog and restore for many clients
- Disk and tape
- No license fees (AGPL-3.0)
Cons
- Several daemons plus PostgreSQL to run
- Maintained binaries and plugins need a subscription
Not tested by us yet: based on the vendor's documentation.
Veeam Agent for Linux
Best for: image-level backup and bare-metal restore
Veeam Agent for Linux backs up from inside the machine at system, volume or file level, and restores bare metal from bootable media. Incremental backups use a changed-block-tracking kernel module, which Veeam distributes as source code, and the agent comes as DEB and RPM packages for distribution default kernels from 2.6.32 onward. The FREE edition costs nothing, and paid editions are sold by quote. Pick it when you need to rebuild a whole server quickly, or when your organization already runs Veeam. The kernel module ties incremental backups to your kernel version, so test it after kernel updates.
- Pricing
- FREE edition at no cost; paid editions: no public price (quote) (checked November 15, 2026, source)
- License
- Proprietary (free edition available)
- Deployment
- Self-hosted agent (DEB and RPM packages)
- Runs on
- Linux with the distribution's default kernel, 2.6.32 and later
Pros
- Whole-system images and bare-metal restore
- FREE edition
- Fits existing Veeam setups
Cons
- Proprietary
- Relies on a kernel module for changed block tracking
- Paid editions have no public price
Not tested by us yet: based on the vendor's documentation.
Duplicati
Best for: a web UI and a long list of cloud destinations
Duplicati is the friendliest open-source option: a web interface, AES-256 encryption before data leaves the machine, and a long list of destinations, from S3, Azure, Backblaze and Wasabi to Dropbox, OneDrive, SFTP, WebDAV, SMB and local disks. It runs on Windows, macOS and Linux and is MIT-licensed, with some parts under other licenses. The optional Duplicati Console is free for 2 machines and $2 per machine per month on Pro, billed annually. On a headless server, restic or Kopia are simpler to script; Duplicati suits people who prefer a browser to a terminal.
- Pricing
- Client free; Console free for 2 machines, Pro $2 per machine per month billed annually, Enterprise from $3 per machine per month (10-machine minimum) (checked November 15, 2026, source)
- License
- Open source (MIT, with some parts under other licenses)
- Deployment
- Self-hosted client with a web UI; optional Duplicati Console (SaaS)
- Runs on
- Windows, macOS and Linux
Pros
- Web interface
- Very wide range of destinations
- Free client, with an optional console
Cons
- Central console beyond 2 machines is paid
- Less natural for scripted, headless setups than restic or Kopia
Not tested by us yet: based on the vendor's documentation.
rsnapshot
Best for: simple local snapshots you can browse with ls
rsnapshot is the simplest tool here: a Perl script that runs rsync and uses hard links, so each snapshot looks like a full copy while unchanged files take no extra space. On our Debian 12 test server, two snapshots of /etc used 5.1 MB together instead of about 8 MB, and an unchanged file had two hard links. Restoring is a plain copy. It doesn't encrypt or compress, so it's best for local or LAN targets rather than cloud storage. Note that it needs rsync, which our Debian image didn't have until the rsnapshot package pulled it in.
- Pricing
- Free (checked November 15, 2026, source)
- License
- Open source (GPL-2.0)
- Deployment
- Self-hosted
- Runs on
- Linux and other Unix-like systems with Perl and rsync
Pros
- Snapshots are plain directories
- Hard links save space
- Tiny, with few moving parts
Cons
- No encryption or compression
- Best for local or LAN targets
Tested by us: rsnapshot 1.4.5 (Debian package) on Debian 12.15, 14 Nov 2026 (UTC): two snapshots of /etc with a one-level retention config; checked sizes and hard links. Removed afterwards, with the rsync package it pulled in.
duplicity
Best for: GnuPG-encrypted backups to many backends
duplicity writes encrypted tar-format volumes, using GnuPG to encrypt or sign them and librsync so incremental backups record only the changed parts of files. It supports about two dozen backends, including S3, Backblaze B2, Google Drive, Azure, SSH, rsync and WebDAV, and version 3.2.2 came out on October 28, 2026, so it's actively maintained. Its design is full backups plus incrementals rather than deduplicated snapshots, which makes retention more work to plan. Choose it if you already rely on GnuPG keys; for new setups, restic and Kopia are simpler to keep tidy.
- Pricing
- Free (checked November 15, 2026, source)
- License
- Open source (GPL)
- Deployment
- Self-hosted CLI
- Runs on
- Linux command line (uses GnuPG and librsync)
Pros
- Uses GnuPG keys you may already manage
- About two dozen backends
- Actively released (3.2.2, October 2026)
Cons
- No deduplication across backups
- Full-plus-incremental design needs more retention planning
Not tested by us yet: based on the vendor's documentation.
Bacula
Best for: existing Bacula installations and Bacula Enterprise customers
Bacula is the original that Bareos forked from: a modular network backup system that scales from one computer to large networks. The community edition is open source under AGPL-3.0, with exceptions that allow linking with OpenSSL and Microsoft's VSS libraries and a trademark rule that significantly changed forks must take another name, with version 15.0.3 the latest release, and Bacula Systems sells Bacula Enterprise with support and extra features, priced by endpoints and support level with no public price list. If you're starting fresh with this director-and-daemons design, compare Bareos first, because its packages and prices are published. If you already run Bacula and it works, there's little reason to move.
- Pricing
- Community edition free; Bacula Enterprise: no public price (priced by endpoints and support level) (checked November 15, 2026, source)
- License
- Community edition: open source (AGPL-3.0 with OpenSSL and Microsoft VSS linking exceptions; significantly changed forks must be renamed); Bacula Enterprise: proprietary
- Deployment
- Self-hosted
- Runs on
- Self-hosted backup server and clients
Pros
- Mature, modular design
- Community edition free and open source
- Commercial support from Bacula Systems
Cons
- Complex for small setups
- Bacula Enterprise has no public price
Not tested by us yet: based on the vendor's documentation.
How we picked
A backup is only as good as its restore, so we ranked tools on what makes restores dependable:
- Restores and verification: can you restore one file quickly, and can the tool check its own repository?
- Encryption on the server, before data leaves it.
- Efficiency: deduplication and compression, which decide your storage bill.
- Destinations: local disk, SSH, object storage, tape.
- Effort and cost: what you install and run, and prices from each vendor's own page, checked on November 15, 2026.
We ran restic, BorgBackup, Kopia and rsnapshot on a Debian 12.15 test server on November 14, 2026 (UTC), then removed them. The other six are ranked from documentation and pricing pages listed under Sources. Nobody paid to be listed.
What we measured on our test server
Each tool backed up the same small data set twice to a local repository on a 2 vCPU, 2 GB server. The times show per-run overhead on a small data set, not throughput on large ones.
| Tool | Version and source | Data | First run | Second run | Repository after two runs | Restore and check |
|---|---|---|---|---|---|---|
| restic | 0.19.1, official binary | /etc and /usr/share/doc, 30.7 MiB | 0.95 s | 0.68 s | 20 MB (compression on by default) | One file restored; restic check found no errors |
| Kopia | 0.23.1, official release | Same | 0.58 s | 0.29 s | 22 MB (compression off by default) | One file restored; snapshot verify read 3,064 objects |
| BorgBackup | 1.2.4, Debian package | Same | 0.72 s | 0.23 s | 19 MB (we chose zstd level 3) | One file extracted; borg check passed |
| rsnapshot | 1.4.5, Debian package | /etc, about 4 MB | Not timed | Not timed | 5.1 MB for two snapshots | Plain files; unchanged files hard-linked |
All three deduplicating tools stored two full backups for less than the size of one, because the second run found almost nothing new. Kopia's repository was the largest only because its compression was off: Kopia applies compression through policies, and the global policy we got had none set.
What should you look for in Linux backup software?
Start from the restore. Pick a tool that can restore a single file in seconds and check its own repository, then actually test a restore on a schedule. Encrypt on the server with a key you store somewhere else, because a backup bucket is a tempting target. Keep at least one copy off the server and away from its provider, so one account problem or data-center incident can't take both. Protect against ransomware and mistakes with versions: deduplicating tools such as restic, Borg and Kopia keep months of history cheaply, while a plain rsync mirror copies damage as faithfully as data. Make retention explicit (for example 7 daily, 4 weekly and 12 monthly) so storage doesn't grow forever. Finally, watch the job, not just the tool: a heartbeat monitor that alerts when last night's backup didn't report in catches a backup that has silently stopped running, which no error message will ever tell you about.
Back up databases with a database-aware tool
File-level tools can't safely copy a running database's files. PostgreSQL's documentation says the server must be shut down to get a usable copy of its data directory, unless the file system can take a consistent snapshot, and even then the copy restores like a crash. Use the database's own tools and back up their output:
- Logical dumps:
pg_dumpfor one database orpg_dumpallfor the whole cluster, run before your restic or Borg job so the dump file is in the backup. - Physical backups with point-in-time recovery: a base backup plus archived WAL lets you restore to any moment after the base backup. pgBackRest (MIT license) automates this with full, differential and incremental backups, parallel processing, encryption, and repositories on S3, Azure, GCS or SFTP.
MySQL and MariaDB have equivalent dump and hot-backup tools; the rule is the same: let the database produce a consistent copy, then back that up.
File-level, image-level or VM-level backups?
File-level tools (restic, Borg, Kopia, rsnapshot, duplicity, Duplicati) back up files and directories. They're efficient and make single-file restores easy, but to rebuild a server you reinstall the OS and restore on top. Image-level tools (Veeam Agent for Linux) capture whole volumes and can restore bare metal from bootable media. VM-level backups (Proxmox Backup Server, or your hypervisor's tools) capture entire virtual machines from outside. Many teams combine a VM or provider snapshot for fast full rebuilds with a file-level, off-site, encrypted backup for everything else.
Do you need backup software if your host takes snapshots?
Usually, yes. Provider snapshots are convenient for rolling back a bad upgrade, but they normally live with the same provider and account as the server, and they capture a running database the way a crash would. A file-level backup to storage you control elsewhere, with its own credentials, covers the cases snapshots don't: a closed account, a provider outage, or an attacker with access to your control panel.
How we checked this: Debian 12.15 test server (2 vCPU, 2 GB RAM) on 14 Nov 2026 (UTC): restic 0.19.1 and Kopia 0.23.1 from checksum-verified official releases, and BorgBackup 1.2.4 and rsnapshot 1.4.5 from Debian's packages. Each made two backups of the same data to a local repository, restored a file and ran its integrity check where it has one; everything was removed afterwards. Proxmox Backup Server, Bareos, Bacula, Veeam Agent for Linux, Duplicati and duplicity are researched from vendor documentation and pricing pages checked on 15 Nov 2026, not run on our servers. Anything we didn't run ourselves comes from the official documentation listed under Sources.
Check which CVEs are really open on your server
HostCrust Patch Proof compares every installed package with your distribution's own security data. It counts fixes your distro backported and checks the kernel that is actually running, not just the one on disk. Read-only, no root, free.
FAQ
What is the best backup software for Linux servers?
For most servers, restic: encrypted, deduplicated backups from one binary to local disks, SFTP or object storage such as S3 and B2. BorgBackup is the best alternative when you back up to another server over SSH, and Kopia when you want policies and a GUI.
Should I use restic or Borg?
Use restic if your backups go to object storage (S3, B2, Azure, GCS) or several kinds of storage. Use Borg if they go to another Linux machine over SSH and you want very efficient deduplication and compression. In our test, both backed up the same data in under a second and passed their integrity checks.
Is rsync a backup?
On its own, rsync makes a copy, not a history: if a file is deleted or encrypted by ransomware, the next sync can copy that damage over your only backup. rsnapshot adds history by keeping rotating snapshots with hard links. restic, Borg and Kopia keep many versions efficiently.
How do I back up a PostgreSQL database on Linux?
Don't rely on copying the data directory of a running server: the PostgreSQL docs say the server must be shut down for a usable file-level copy, unless you use a consistent file-system snapshot. Use pg_dump or pg_dumpall for logical dumps, then back up the dump files, or use pgBackRest for full, differential and incremental backups with WAL archiving.
What is the best free backup software for Linux?
Most tools here are free: restic, BorgBackup, Kopia, rsnapshot, duplicity and Duplicati's client, plus Bareos, Bacula's community edition and Proxmox Backup Server, which sell optional subscriptions. Veeam Agent for Linux has a FREE edition.
Sources
- restic on GitHub (BSD-2-Clause)
- restic docs: preparing a new repository (backends)
- BorgBackup documentation
- Kopia features
- Proxmox Backup Server introduction
- Proxmox Backup Server pricing
- Bareos pricing
- Bareos docs: what is Bareos
- Bacula community site
- Bacula 15.0.3 license terms (AGPL-3.0 with OpenSSL and VSS exceptions, trademark rule), as packaged by Debian
- Bacula Systems subscriptions
- Veeam Agent for Linux FREE
- Duplicati pricing
- Duplicati on GitHub (platforms, license)
- duplicity
- rsnapshot on GitHub
- PostgreSQL docs: file system level backup
- PostgreSQL docs: continuous archiving and point-in-time recovery
- pgBackRest