Bareos: The Backup Suite Enterprises Use, Self-Hosted at Home
Job pools, storage daemons and catalogues, scaled down to one box

Contents
Most homelab backup advice settles on something like Restic or Kopia pointed at a bucket, and for a single machine that’s the right call. I ran that setup for years. Then I ended up responsible for backing up a small pile of machines — a couple of VMs, a NAS, a couple of laptops that only turn on some evenings — and I got tired of stitching together five separate cron jobs with five separate retention policies and no shared view of what actually succeeded last night. That’s the gap Bareos fills. It’s the open-source fork of Bacula, the backup suite that’s been running in actual enterprise data centres since the late 1990s, and it scales down to a homelab far better than its reputation suggests.
This isn’t a suggestion to replace a single-machine Restic job with Bareos. It’s for the point where you have multiple clients, care about a real retention schedule, and want one catalogue that answers “is everything actually backed up” without you having to check five log files.
Why Bother With the Enterprise Stuff
Restic and Kopia are deduplicating, encrypting, single-binary backup tools. You run the client, it talks to a repository, done. That model is excellent until you have more than one machine and want centralised scheduling, retention tiers, and a searchable record of every file in every backup ever taken. You can build that with scripts and a shared repository, but Bareos already has it, because it was built for organisations that needed exactly that twenty-five years ago.
The concepts that make Bareos worth learning:
- Job pools and retention tiers — a “Daily” pool that recycles after a week, a “Weekly” pool that keeps a month, a “Monthly” pool that keeps a year, all defined declaratively rather than scripted.
- A catalogue database — every file, in every backup, on every client, is indexed in PostgreSQL. Restoring “that one config file from three weeks ago” is a query, rather than a
tararchaeology dig. - Bare-metal restore — Bareos can restore an entire client’s filesystem to new hardware, rather than just individual files, which matters if a machine dies outright rather than just losing a disk.
- Multiple storage backends — disk, tape (yes, actual tape, if you’re that kind of person), or cloud, all through the same job definitions.
None of that is exotic if you’ve worked in an IT department. It is a genuine step up from “I have a cron job” if you haven’t.
The Architecture, Briefly
Bareos has four components, and understanding them up front saves a lot of confused reading later:
- Director — the brain. Reads the configuration, schedules jobs, talks to the catalogue.
- Storage Daemon — writes the actual backup data to disk (or tape).
- File Daemon — runs on each client you’re backing up, and is the only piece you install on a machine you’re protecting.
- Catalogue — a PostgreSQL database (MySQL is also supported but PostgreSQL is the documented default now) holding metadata about every job and file.
For a homelab, Director, Storage Daemon and catalogue typically live on the same box — call it your backup server — and each client you want protected runs a lightweight File Daemon.

Installing the Server Components
Bareos ships official repositories for Debian, Ubuntu, RHEL derivatives and openSUSE. On a Debian-based backup server:
| |
That last File Daemon line is there because the server itself is usually also a backup client — it’s convenient to back up its own configuration and any local data it holds.
Configuring Your First Client
Each client gets a File Daemon and a matching set of resources on the Director. Install the client package on the machine you want to protect:
| |
Then edit /etc/bareos/bareos-fd.d/director/bareos-dir.conf on the client to name the Director that’s allowed to talk to it, and add the matching Client, FileSet, Job and Schedule resources on the Director side. A minimal client definition on the Director looks like this:
| |
Every Client/Job/FileSet gets its own file under bareos-dir.d/, which is a genuinely nice pattern — you can add a new client by dropping in three small files rather than editing one sprawling config.
Pools, Schedules and Retention
This is where Bareos earns its keep over a single Restic job. A Schedule resource defines when jobs run and at what level:
| |
That single schedule gives you a full backup on the first Sunday of the month, differentials on the other Sundays, and incrementals every other night — the classic grandfather-father-son rotation, expressed declaratively instead of hand-rolled in a shell script. Pair it with a Pool resource that sets retention:
| |
Volumes older than the retention window get recycled automatically. You define the policy once; every future job obeys it without you touching cron again.
Restoring: The Part That Actually Matters
A backup you haven’t tested restoring from is only a belief — I’ve made that argument at length before, and Bareos is one of the few tools that makes routine restore testing genuinely painless because the catalogue already knows exactly which volume holds which file. The bconsole command-line tool drives restores interactively:
| |
Bareos assembles the file list, tells you which volumes it needs, and — assuming the Storage Daemon can reach them — pulls the restore through automatically. For a full bare-metal restore, the process is closer to reinstalling a base OS and then running a client-side restore of the whole filesystem tree, which is documented but genuinely more involved than a file-level restore; budget an afternoon the first time you rehearse it, rather than the ten minutes a single-file restore takes.
Securing the Backup Server Itself
A backup server is a high-value target — it holds a copy of everything, including secrets baked into config files. A few things worth doing before you point real clients at it:
- TLS between components. Bareos supports PSK-based TLS between Director, Storage Daemon and File Daemons via the same
Passwordused for authentication. It isn’t enabled by default in the packaged configs; turn it on withTLS Enable = yesandTLS Require = yesin each resource once you’ve confirmed plain connections work, so a compromised client can’t sniff catalogue traffic on the wire. - A dedicated, non-routable network for backup traffic, if your switch supports VLANs, keeps File Daemon traffic off the same broadcast domain as everything else — genericise this as
192.168.1.xstyle advice rather than mirroring your actual VLAN layout, because a backup network map is exactly the kind of thing worth keeping off a public write-up. - Encrypt the volumes at rest, either at the filesystem layer (LUKS under the Storage Daemon’s spool directory) or via Bareos’s own data encryption options, since a stolen backup disk is otherwise a stolen copy of every
/etcon your network.
None of this is unique to Bareos — it applies to any centralised backup tool — but it’s easy to skip when you’re focused on getting the first job to actually complete.
Troubleshooting Notes
Jobs stay queued and never run. Check bconsole’s status director output first — a stuck job usually means the Storage Daemon can’t be reached, or a previous job is still holding the same Storage resource. Bareos serialises access to a Storage resource per job by default; two jobs both wanting Storage = File at the same time will queue rather than run in parallel unless you’ve configured device concurrency.
“Fatal error: Unable to authenticate with File daemon.” This is almost always a password mismatch between the Director’s Client resource and the File Daemon’s own director stanza, or a firewall blocking port 9102 (the default File Daemon port). Passwords must match character for character; there’s no hashing negotiation to fall back on.
Catalogue grows faster than expected. Every file, in every job, is a row. A FileSet that includes /home on a machine with hundreds of thousands of small files will bloat the catalogue quickly. Scope FileSets tightly, and exclude caches and build artefacts explicitly with an Exclude block rather than backing up everything and pruning later.
The Web UI, If You’d Rather Not Live in bconsole
bconsole is the canonical interface and the one every tutorial assumes, but Bareos also ships Bareos WebUI, a PHP frontend that talks to the Director over the same protocol. It’s genuinely useful for the day-to-day question of “did last night’s jobs succeed” — a dashboard of job statuses, a searchable file browser for restores, and pool/volume usage graphs — without needing to remember bconsole syntax for routine checks. Install it with:
| |
I still use bconsole for anything unusual — restores with odd file selections, or diagnosing a stuck job — but the WebUI is where I actually look most mornings, because a five-second glance at a dashboard beats typing status director out of habit.
Bareos, Bacula and Where This Fits Against Simpler Tools
Bareos forked from Bacula in 2010 over licensing and governance disagreements, and the two have diverged since, though the configuration language and core architecture remain close enough that most Bacula documentation still applies. If you see a decade-old Bacula tutorial, it will mostly still work against Bareos with minor syntax differences.
Where this sits against the tools most homelabbers reach for first:
- Restic/Kopia — better for a single machine or a handful of independent repositories. No catalogue, no central scheduling, but genuinely simpler and encrypted by default. Bareos requires you to think about encryption separately (via FileSet options or storage-layer encryption); it isn’t on by default the way it is with Restic.
- Proxmox Backup Server — excellent if everything you’re protecting is a Proxmox VM or container, with deduplication and a slick UI, but it doesn’t reach into bare-metal Linux boxes or laptops the way a File Daemon does.
- Bareos — worth it specifically when you have heterogeneous clients (VMs, bare metal, laptops that aren’t always on) and want one retention policy and one catalogue answering for all of them.
They aren’t mutually exclusive. My own setup still runs Restic against a couple of application data directories for the encryption and simplicity, and lets Bareos own the broader “back up every /etc and /home on every machine on a real schedule” job. Bareos is the layer that gives me a single place to ask “what’s protected and for how long,” not a wholesale replacement for tools that already do their one job well.
Is It Worth It
For one machine, no — Restic remains the better tool: simpler, faster to learn, and encrypted by default. For a handful of clients where you want a single catalogue, real retention tiers, and a restore workflow you can actually rehearse and document, Bareos is worth the week it takes to become fluent in its configuration vocabulary. It’s more moving parts than most homelab tools, and the documentation reads like it was written for people who already know what a Storage Daemon is. But once the pools and schedules are in place, it runs itself far more reliably than a pile of independent cron jobs ever did for me, and when a client’s disk actually dies, having a catalogue that already knows exactly what was on it is worth every hour spent setting it up. Read the restore rehearsal notes and the case for treating documentation as part of the backup before you commit to it — Bareos rewards exactly that discipline and punishes skipping it.




