Onesimus vs. Bareos

Onesimus grew out of Bareos and stays compatible with it: the Onesimus Director odir reads the Bareos 25 configuration, uses the Bareos PostgreSQL catalog and speaks the Bareos protocols to bconsole, file daemons and storage daemons. This page lists only differences that can be checked in the source code. Where Bareos is ahead, it says so.

Status: Onesimus is not yet as established as Bareos. Bareos is a mature project with many years of production use and commercial support. If you need something from the last section of this page, stay with Bareos, or keep bareos-dir installed as your way back (see Migrating from Bareos). Where Onesimus runs today and what has not been tested yet: operations report.

What the Onesimus Director adds

FeatureBareos Director 25Onesimus Director
Change and delete resources from the consoleconfigure knows add and exportadds configure update (change directives), configure delete (only unreferenced resources) and the raw text of a resource with .config read type=… name=… on the console or ReadResource over gRPC (configure read gives only a short summary)
API for programsconsole protocol; JSON output with .api 2additionally a typed gRPC API with TLS: one RPC per command with structured Protobuf answers, the same ACLs as the console
Live eventsjob messages are read by polling (messages, list joblog)gRPC push events: job status, job messages, file and storage daemon connects, each filtered by the console’s ACLs
Live job log in the GUI—yes, from the push events (the GUI polls when it talks to Bareos)
ACLs per console without editing filesACLs live in the configuration filescatalog ACLs per console with .acl list/set/delete/clear/copy; the effective right is file ACL and catalog ACL, and a console can only narrow its own rights
Purge many volumes at onceno command; purge volume pool=… opens a selectionpurge volume all pool=<p>|allpools [volstatus=…] dryrun|yes: dryrun previews and changes nothing, yes purges each volume with the same checks as a single purge volume
Console grammar— (.help).grammar returns every command the console may run with its keywords and value sources; it drives completion in oconsole, the man pages and the command reference
Browsing backup contentsBVFS (.bvfs_*) with cache tablesBVFS unchanged, plus OVFS (.ovfs_*): a PostgreSQL extension; without it the Director computes the same result itself
Service discovery—announces itself via mDNS/DNS-SD (_onesimus-dir._tcp), which the GUI uses to find Directors
AI assistants—oconsole --mcp serves the Director as MCP tools; the assistant is a console of its own (<name>-mcp, profile assistant: read and configuration); the Director always refuses it ACL changes and direct SQL, and no tool returns backup contents

Where Onesimus behaves differently on purpose

These are decisions, not gaps. Each keeps the configuration readable by bareos-dir; there are no extra directives in bareos-dir.d that would block the way back.

TopicBareos Director 25Onesimus Director
Process modelone thread per jobone process per job that talks to a daemon: a crashing job does not take the Director down
Latest backup of a clientprotected only by prune jobs/AutoPrune, only for configured jobsthe latest successful Full chain of every client and FileSet is never pruned or purged, and the volumes holding it are not recycled, truncated or deleted
Waiting for a volume without Max Wait Timewaits forever600 s, then the job is cancelled; set ONESIMUS_DEFAULT_MEDIA_WAIT or Max Wait Time to change it
Failed batch insert of file recordsjob ends T, files are missing from the catalogjob ends with a fatal error: no silently missing files in the restore tree
Purge of jobs and filesno transaction, errors ignoredone transaction, errors are reported
Secrets in command linesRunScript commands appear in full in the job log and in showpasswords, tokens and URL credentials are replaced by *** in every message and in show
configure add consolecreates a console with any ACL directivesonly with profiles that do not allow more than the creating console has; configure add profile/user is refused
Catalog schemaBareos tables onlyBareos tables stay untouched in public; Onesimus views, functions and the catalog ACL table live in their own schema onesimus, which never blocks a Bareos schema upgrade; only odir’s version table bareos_schema_version stays in public

What Bareos has that Onesimus does not have yet

AreaBareosOnesimus today
Device types of the storage daemonFile, Tape, autochangers, FIFO, S3/object storage and moreosd writes to File devices only; tape and S3 are planned. bareos-sd keeps working with odir.
Storage daemon featuresrecycling, relabel, spooling, autochanger commands, SD-to-SD copynot in osd yet
NDMPsupportednot supported
PluginsDirector and file daemon plugins, including Python pluginsno Director plugins and no Python plugins; file daemon plugins are being built as signed Rust/WebAssembly components
Packages and platformsofficial packages for many distributions, Windows and macOS clientsDebian packages built from source for the Rust daemons; the GUI runs on Linux, Windows and macOS
Maturity and supportmany years in production, commercial supportyoung project, not yet as established

Something missing or wrong on this page? Open an issue on GitHub.