Bareos on Docker vs Kubernetes vs VMs

Choosing where to run Bareos decides how its catalog stays available, how storage is sized and how upgrades happen. This page shows which model fits which team, and what to confirm before the build starts.

On this page

Bareos on Docker, Kubernetes or VMs: which model fits which team

Virtual machines suit teams with standard Linux operations and a stable set of backup hosts. Kubernetes suits teams that already run a cluster and operate a PostgreSQL operator day to day. Settle the host model before you fix the catalog and storage design, because the Bareos Catalog runs on PostgreSQL and must be running for the Catalog service to work. The high availability layer for that database therefore depends on the host model. On VMs, a team with Linux operations experience can run the Director, Storage Daemons and the Catalog database with a conventional tool such as Patroni, which keeps its configuration in a distributed store such as etcd or Consul. On Kubernetes, CloudNativePG manages the database volumes and uses the Kubernetes API server for failover, but your team then owns how Storage Daemon volumes persist and how backup media attach to pods.

Docker on a single host fits a small estate, a lab or a proof of concept, where one machine can run the Director, a Storage Daemon and the Catalog, and where rebuilding that host is an acceptable recovery path. It does not remove the single point of failure, and your backups are only as recoverable as the host that holds the Catalog. The deciding question is packaging and support. Bareos documents File Daemons as installed on each client, so containerizing a client changes what the File Daemon can see on the host. Deduplicating storage formats such as ZFS, VDO or btrfs also depend on host-level filesystem control. Because Bareos subscriptions provide tested packages for major Linux distributions and are a prerequisite for support, confirm with Bareos whether official container images exist and whether they fall under the same support terms before you design around containers.

Confirm these items first, because each one can change the host model. Ask Bareos whether it publishes container images and whether a subscription covers them, since its Bareos subscription page describes subscription repositories as separate from the public community download repository. Confirm which plugins you need for vSphere, Hyper-V or Proxmox and whether each one runs on your target host model. Check which PostgreSQL high availability tool your operations team already runs, because that tool decides whether the Catalog is managed with VM tooling or with a Kubernetes operator. Finally, confirm your storage target, whether disk, tape or S3-compatible object storage, and who controls the host filesystem beneath it. Bareos 25.1.1 was published on September 3, 2026, so test your chosen model against the exact release you plan to deploy.

How the three deployment models compare on availability, upgrades and effort

This table compares how Bareos behaves on Docker, Kubernetes and virtual machines across scenario fit, component placement, catalog availability, storage, upgrades, skills and cost. Read each row as a set of questions to confirm with Bareos or your implementer, since several container details are still open. The main takeaway is that the PostgreSQL catalog and File Daemon placement shape much of the effort, whichever model you choose.

FactorBareos on containers (Docker or Kubernetes)Bareos on VMs
Scenario fitTeams already operating container platforms with persistent storage and in-house container skillsTeams running hypervisor estates, physical hosts or mixed Linux and Windows fleets with existing backup hardware
Where components runDirector, Storage Daemons, Catalog and bconsole as containers; confirm where each File Daemon runsDirector, Storage Daemons and Catalog on Linux VMs; File Daemons installed on each client
Catalog high availabilityThe Catalog needs PostgreSQL running; confirm which operator-managed PostgreSQL layout Bareos supportsThe Catalog needs PostgreSQL running; Patroni is one HA option to evaluate, with the layout confirmed by the implementer
Storage targetsDisk, tape or S3-compatible object storage; confirm how tape devices and volumes are exposed to podsDisk, tape or S3-compatible object storage; deduplication-friendly filesystems such as ZFS, VDO or btrfs are host choices
Upgrade pathUpgrades follow image changes; confirm the image source, version pinning and rollback stepsUpgrades follow package repositories; subscription repositories keep full version history, per Bareos
Operating skillsKubernetes or container operations, storage classes, PostgreSQL and Bareos administrationLinux administration, PostgreSQL and Bareos administration, plus hypervisor knowledge for backing up VMs
Cost driversCluster capacity, persistent volumes, image maintenance time and any subscription quoteHost and VM capacity, storage hardware, administration time and any subscription quote
Cost of switching laterMoving the Catalog and volumes to or from containers needs a tested plan; confirm the supported stepsMoving the Catalog and volumes to containers needs a tested plan; confirm the supported steps

How the Director, Storage Daemons and File Daemons map onto each model

Bareos splits into a Director, Storage Daemons, File Daemons, a PostgreSQL catalog and two user interfaces. Each piece holds different state and has different placement options, so the server side and the client side can be containerized or virtualized on separate schedules.

Director scheduling and configuration

The Director schedules backup, restore, verify and archive jobs and holds the configuration that tells every other daemon what to do. On Docker or Kubernetes it runs as one long-lived workload with a stable network name, because File Daemons and consoles must reach it consistently. On VMs it is a single service with local config files. Persist the configuration directory and the Director's working state, and confirm with the Bareos documentation which state files must survive a restart. Test a Director rebuild before you need one.

Bareos documentation

Storage Daemon and backup media

Storage Daemons write backup data to media, so they need the most careful placement decision. A containerized Storage Daemon needs a persistent volume or mounted disk for backup data, and tape drives need device passthrough that your platform team must test on the chosen Kubernetes or Docker host. On VMs, attach the disk or tape device directly. Whatever the model, the volume data is the state that must persist, and a failed node should not take the only copy with it. Ask how backup volumes are labeled and reattached after a node moves.

File Daemon on every client

The File Daemon installs on each client you back up, including Windows, FreeBSD and macOS hosts that your container platform may not cover. Containerizing the Director or Storage Daemon does not move these agents, so the client side is a separate decision with its own patching and compatibility checks. Plan the rollout across VMs, bare metal and workstations, and track each client's version against the Director. Confirm which client platforms your team will support before you choose the server model.

Bareos README

Catalog database on PostgreSQL

The Catalog holds file indexes and volume records, and PostgreSQL must be running for it to work. Its state is the index of what was backed up and where, so losing it without a copy makes restores slower and harder even when the media survives. On Kubernetes, decide whether the database runs under a PostgreSQL operator or a managed service, and on VMs whether it shares a host with the Director. Back up the Catalog on its own schedule, rehearse restoring it, and ask who owns PostgreSQL patching.

Bconsole and bareos-webui access

bconsole is the text console and bareos-webui is the web interface, and both talk to the Director. Where they run decides which network paths and credentials you must manage. A containerized web UI needs an ingress, TLS and access control in front of it, while bconsole on a VM can stay on a jump host. Use role-based ACLs for commands and objects to limit what each operator can do. Confirm how each interface authenticates in your environment before you expose either one to a wider team.

Disk, tape and object storage targets

Bareos writes to disk, tape or S3-compatible object storage, and each target changes the placement question. Disk and object storage can run beside any model, while tape needs drive access that must be tested on each host type. Object storage moves backup data off the host but adds an external dependency, so confirm endpoint, bucket and credential handling before the design is final. Bareos's disk format is built for deduplicating storage such as ZFS, VDO or btrfs, so check the disk layout with your storage team.

Bareos README

How the Bareos components and the catalog connect in each model

The diagram starts at the Director, which schedules backup, restore, verify and archive jobs. Each File Daemon installed on a client receives its instructions from the Director and sends backup data to a Storage Daemon, which writes it to disk, tape or S3-compatible storage. The Catalog, a PostgreSQL database, holds the file indexes and volume records the Director depends on, so PostgreSQL must be running for any job to proceed. In this generic layout, the File Daemon may run on a VM, in a container or in a cluster pod, while the Director and Storage Daemon may sit in any of those places. Check which hops cross the trust boundary and where the Catalog is reachable from.

Generic layout of Bareos components, with the backup network as the trust boundary.

How Bareos on Kubernetes and on VMs keep the PostgreSQL catalog available

The Bareos catalog runs on PostgreSQL, and the Catalog service cannot run without a reachable database. The database is the first availability decision in any Bareos design, whichever platform hosts the Director, Storage Daemons and File Daemons. On VMs, Patroni manages PostgreSQL high availability and needs a distributed configuration store, which can be etcd, ZooKeeper, Consul or Kubernetes. Your team owns that store, including its quorum, monitoring and failure tests. Confirm which store your platform team already operates before you choose Patroni, because it becomes one more system to patch and back up.

On Kubernetes, CloudNativePG manages PostgreSQL through the Kubernetes API server, so failover does not depend on a separate configuration store. The operator manages PersistentVolumeClaim objects directly, without StatefulSets, so storage behavior for the catalog follows the operator's logic. Check the storage class, snapshot support and backup target in your cluster before you rely on it. Then rehearse a primary failure on a staging cluster and record how long the Catalog service takes to reconnect. Confirm your distribution and storage backend against the current CloudNativePG documentation before you commit.

A catalog failover does not by itself resume backup jobs. After a switchover, verify that the Director reconnects to the new primary, that scheduled jobs start, and that a test restore reads catalog data correctly. Patroni and CloudNativePG keep PostgreSQL available, but the Director and Storage Daemons are separate Bareos components with their own failure modes. Ask Bareos to confirm in writing whether, and how, the Director and Storage Daemons can be made redundant in your topology. Also ask what happens to a job that is running during a failover, and write both answers into the runbook before go-live.

How sizing and storage for Bareos on VMs differ from containers

On a single Docker host, the Director, Storage Daemon and Catalog usually share one machine's CPU, memory and disk, so the host sets the ceiling for every sizing driver. File Daemons still run on each client, and the Catalog depends on PostgreSQL being up, so the host's storage layout matters as much as the container image.

  • Number of clients: Client count drives Director scheduling and catalog entries, and all of those jobs land on one host's I/O budget.
  • Catalog growth: The PostgreSQL catalog grows with file indexes, so keep its data path on storage with headroom and a tested backup of its own.
  • Job concurrency: Concurrent jobs compete for one host's CPU, memory and disk throughput, so your concurrency limits must match what the host can absorb.
  • Storage target and throughput: Volumes usually sit on bind mounts to local disk, a NAS or S3-compatible storage, and throughput is set by that path. Bareos writes to disk, tape or S3-compatible object storage in a format suited to deduplicating storage such as ZFS, VDO or btrfs.
  • Where volumes persist: Volumes persist only where you map them on the host, so a container rebuild without those mounts can lose backups.

Check the host's disk layout, its I/O headroom at peak concurrency, and whether a container rebuild keeps the catalog and volumes intact.

Upgrades, backups and monitoring for Bareos on Kubernetes and VMs

This table compares how Bareos upgrades, packages, catalog backups, monitoring and staffing change between containers and virtual machines. Read each row as the work your team takes on in that model. The main takeaway is that the Bareos software is the same in both, while packaging, subscription repositories and host-level operations change the effort.

AreaContainersVMs
Current release lineBareos 25.1.1 was published September 3, 2026, with 24.0.11 and 23.1.8 maintenance releases. Confirm which image tags your registry carries for these versions.Bareos 25.1.1 was published September 3, 2026, with 24.0.11 and 23.1.8 maintenance releases. Confirm which package versions your distribution repository offers.
Upgrade pathPin a new image tag and roll Director, Storage and File Daemon containers in the order the release notes specify. Confirm the order before you start.Upgrade packages on each host, starting with the Director and catalog host. Snapshot each host first so rollback is possible.
How packages or images reach each environmentPull images from a registry you control and mirror the exact build you tested, so every node runs the same version.Install from the community repository or a subscription repository for your distribution. The two repositories are separate, so confirm which one your hosts use.
Subscription and supportSubscription repositories are separate from the community repository. Confirm with Bareos whether a subscription covers the container build you use.Subscriptions provide tested packages for major Linux distributions, Windows and macOS. A subscription is a prerequisite for support.
Catalog and configuration backupThe catalog runs on PostgreSQL, which must be running. Back up the database and Bareos configuration to storage outside the cluster.Dump or base-backup the PostgreSQL catalog and copy the Bareos configuration directory off the host. Test a restore on a separate machine.
State and persistent storageCatalog and volume state lives in persistent volumes. Use storage classes that support snapshots and confirm the restore path before relying on them.State lives on host disks. Plan disk capacity for catalog growth and volume files, and monitor free space on each host.
MonitoringTrack Director job status, catalog availability and storage usage from the cluster. Confirm how your metrics exporter exposes Bareos job state.Check job status with bconsole or bareos-webui, plus host disk and PostgreSQL health. Forward results to your existing alerting system.
Skills each model needsContainer runtime administration, Kubernetes storage and networking, PostgreSQL operations and Bareos configuration.Linux administration, package management, PostgreSQL operations and Bareos configuration. Host patching and disk management carry more weight.

Steps to choose a model and confirm it before the build

Six steps move the Docker, Kubernetes or VM decision onto evidence before any build starts. Each step names who decides and the document or test result it leaves behind, so the platform choice rests on the client inventory, Bareos support terms, a tested catalog design and a measured restore.

  1. Inventory clients and their operating systems

    List every system Bareos must protect, with its operating system, version, hypervisor, and whether it runs as a VM, a container host or bare metal. Bareos File Daemons install on each client, and the Bareos README lists Linux, Windows, FreeBSD and macOS, so mark any client outside those systems for a decision. The platform lead and the backup owner approve the list. Done means a client inventory that every later step references, with no host left unassigned.

  2. Confirm Bareos container image and support terms

    Ask Bareos in writing whether it publishes supported container images and what its support covers. Bareos states that subscriptions provide tested packages for major Linux distributions, Windows and macOS, that a subscription is a prerequisite for support, and that prices are by quote. Ask whether subscription repositories cover container builds and how they differ from the public community repository. The procurement lead holds the answer. Done means a written statement on image source, support scope and any gaps for Docker or Kubernetes.

  3. Choose catalog high availability and PostgreSQL tooling

    Choose the high availability approach for the Bareos Catalog and the PostgreSQL tooling that supports it. The Catalog runs on PostgreSQL, which must be running for the Catalog service, so plan its availability before the Director is deployed. Options differ by platform: Patroni on VMs can use ZooKeeper, etcd, Consul or Kubernetes as its configuration store, while CloudNativePG is a Kubernetes operator. The database lead decides with the platform team. Done means a documented failover design and a tested switchover on the chosen platform.

  4. Size storage targets from a test restore

    Size storage targets from a test restore of representative data. Bareos stores backups on disk, tape or S3-compatible object storage, and it is designed to work with deduplicating storage such as ZFS, VDO or btrfs. The storage engineer runs the restore with the backup owner and records data volume, restore time and the deduplication ratio achieved on the chosen filesystem. Done means measured figures for each target type, which then drive the Storage Daemon layout and the capacity request.

  5. Define upgrade and rollback windows

    Set upgrade and rollback windows before go-live. Bareos 25.1.1 was published on September 3, 2026, together with maintenance releases 24.0.11 and 23.1.8, so the release line you pick determines which fixes you receive. The change owner sets the upgrade order for the Director, Storage Daemons, File Daemons and Catalog, and tests the rollback on a staging copy. Ask Bareos which release lines the subscription covers. Done means a written runbook with a rollback that has been tested.

  6. Agree scope in writing with the implementer

    Agree the scope in writing with the implementer before work begins. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing first, and a quote follows from that written scope. The CIO or CISO signs with procurement, listing the clients, platform model, Catalog high availability design, restore tests, retest and handover documents. Done means a signed scope that names the output of each step, so the platform chosen here is the one the build delivers.

What buyers ask before choosing a Bareos deployment model

What drives the cost of running Bareos on Docker, Kubernetes or VMs?

The platform mostly changes who builds and maintains the layers under Bareos. The software is open source under AGPL-3.0, so most cost sits in labor and infrastructure. One-time work includes the design of Directors, Storage Daemons and File Daemons, installation, catalog and storage layout, job configuration and a first restore test. Recurring work includes operating system and container patching, Bareos upgrades, monitoring, capacity growth and periodic restore tests. On VMs, the team owns the guest operating system and the PostgreSQL catalog. On Docker, it also owns image builds and the host. On Kubernetes, it owns the cluster, persistent volumes and any operators, which adds effort if no platform team exists. Staff time, cloud or hardware costs and any subscription or partner fees are separate lines. Ask any vendor or partner for a written quote that splits one-time and recurring items.

Can our team run Bareos without an outside implementation partner?

Often yes, if the team already has Linux, PostgreSQL and backup operations skills. Bareos is licensed under AGPLv3 without open-core restrictions, so the software itself does not require a license purchase. The gaps usually appear in the first restore test, catalog recovery and upgrade planning, where a missed step can leave restores incomplete. Subscription repositories are separate from the public community repository, and a subscription is a prerequisite for Bareos support, so decide whether you need that support before you start. A partner is useful when the team lacks time or experience, when scope includes plugins for hypervisors or databases, or when evidence must be prepared for an assessment. DeployOpen works on a fixed scope agreed in writing, and your team still signs off on retention and restore decisions. Confirm the support and repository terms directly with Bareos.

How long does a Bareos deployment take, and what sets the time?

Time depends mainly on scope and environment, and no fixed duration applies to every team. The main factors are the number of clients and operating systems to protect, the number of hypervisor, database and application plugins in scope, the storage targets (disk, tape or S3-compatible object storage), and whether the catalog runs on an existing PostgreSQL service or a new instance. Network and firewall approvals, change windows and identity integration add waiting time that the backup software does not control. Kubernetes adds time when the cluster, storage classes and persistent volume backups must be built first. If the team already runs hypervisors, VM installs often involve fewer new components. Ask any partner for a written schedule tied to the agreed scope, and ask your own team which approvals and maintenance windows apply.

What does a Bareos deployment need from our internal staff?

Any model needs a named owner, a Linux administrator with PostgreSQL experience, and people who run restore tests. Plan for these skills and roles:

  • Linux and network administration for the Director, Storage Daemons and File Daemons on each client.
  • PostgreSQL administration for the Catalog, including backup, failover and upgrade steps.
  • Container or Kubernetes skills if you choose Docker or Kubernetes, covering images, volumes and cluster upgrades.
  • Storage administration for disk, tape or object targets and any deduplicating filesystem.
  • A backup owner who approves retention, restore objectives and change windows.

Staff time is recurring, because patching, alert handling and restore exercises all need someone. Check this list against your current team before choosing a model. Restore tests should involve the people who will perform recovery during an incident, not only the people who installed the system.

Is Kubernetes required for Bareos resilience, or does the catalog decide it?

No, Kubernetes is not required. Resilience comes from the catalog design, the storage design and where the Director and Storage Daemons run, and each of those can be built on VMs, Docker or Kubernetes. The Bareos Catalog runs on PostgreSQL and needs PostgreSQL running to work, so the database needs its own high availability plan with a tested failover. Storage design decides whether a single disk, tape library or object storage target is a single point of failure, and whether copies exist off site. Kubernetes can help with restarts and scheduling, but it adds cluster failure modes and persistent volume dependencies. The backup server should not depend on the same failure domain as the systems it protects. Document where the catalog, Storage Daemons and copies live, then test a restore after a simulated loss of one component.

Does a Bareos subscription change which deployment model to choose?

Usually not directly, but a subscription can affect packaging, support scope and plugin access, so check those before choosing. Subscriptions provide tested packages for major Linux distributions, Windows and macOS through subscription repositories with complete version history, and they include subscription-only plugins. A subscription is also a prerequisite for Bareos support. If you plan to build container images or hosts from specific packages, confirm in writing which package sources the subscription covers. Bareos subscription prices are by quote, so ask for a written quote that lists repositories, plugins and support level for each deployment model you are weighing. Bareos subscription page lists the subscription terms. DeployOpen does not publish a price list, and its quote follows from the written scope, separate from any Bareos subscription.

How DeployOpen scopes, builds and supports a Bareos deployment

DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For Bareos on Docker, Kubernetes or virtual machines, the work starts with a written scope that names the Director, Storage Daemons, File Daemons and Catalog for your environment. The same team then builds, tests and documents the chosen runtime before handing it over.

How we scope

  • The written scope names the runtime you choose: Docker, Kubernetes or virtual machines, with the reasons for it.
  • It lists which Bareos components run where, including Director, Storage Daemons, File Daemons and the PostgreSQL-backed Catalog.
  • Engagements are fixed-scope, so deliverables, timelines and any plugin or storage targets are agreed in writing before work starts.

How we build

  • Build the runtime with pinned Bareos packages and configuration kept under version control for review.
  • Test the Catalog, Director, Storage and File Daemon paths with restore runs before any job is treated as ready.
  • Plugin coverage for Proxmox, VMware vSphere or Hyper-V is checked against your hypervisor version before rollout.

How we hand over

  • Handover documents the runtime layout, backup schedules, restore procedures and the access model for your operators.
  • Restore drills are walked through with your team so recovery steps are rehearsed before an incident happens.
  • Subscription packages and repositories, where chosen, are documented separately from the public community download repository.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Bareos subscriptions are a prerequisite for Bareos support, so confirm entitlements and request a quote from Bareos GmbH.
  • Continuous testing covers security testing of the deployed backup system, including its admin access and credential handling.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.