Configuration reference

Every directive of the Director configuration: meaning, defaults, pitfalls and examples, with the Onesimus extensions.

The Onesimus Director reads the configuration of the Bareos 25 Director: the same resources, directives and syntax in the same files. Directives marked Onesimus exist only in the Onesimus Director. Most directives can also be changed from the console with configure or in the Onesimus GUI.

Syntax in brief: a resource is Type { ... }, a directive is Name = value; names are case-insensitive and spaces in them do not matter (Maximum Concurrent Jobs and MaximumConcurrentJobs are the same, the console writes maximumconcurrentjobs). Strings with spaces go in double quotes, # starts a comment, and @file includes another file.

ResourceDirectivesDescription
Director50The Director resource configures the Director daemon itself: its name, password, listen addresses, working directories and global limits.
Client42A Client resource describes a File Daemon the Director backs up: where to reach it, how to authenticate, and limits and quotas for its jobs.
Storage36A Storage resource tells the Director how to reach a Storage Daemon and which of its devices and media type to use.
Catalog18The Catalog resource describes the PostgreSQL database that holds the job, file and volume records.
Job84A Job resource describes one unit of work: what to back up (FileSet) from where (Client), to where (Pool, Storage) and when (Schedule), or a restore, verify, copy, migrate, consolidate or admin job.
JobDefs84A JobDefs resource holds defaults for Job resources: a Job with JobDefs = name takes every directive it does not set itself from it.
FileSet6A FileSet resource says what a backup job saves: the Include blocks list files and plugins with Options blocks for compression, signatures and patterns; Exclude blocks leave things out.
Schedule4A Schedule resource holds Run directives that say when the jobs that use it start, at which level and with which overrides.
Pool32A Pool resource groups volumes with the same rules: how long their data is kept, how big they get, how they are labeled and recycled.
Messages17A Messages resource routes the messages of jobs and daemons to destinations: the catalog (job log), mail, files, syslog or the console.
Counter6A Counter resource is a numbered variable, mainly used in Label Format of pools to number volumes.
Profile12A Profile resource is a named set of ACLs that Console and User resources refer to, so several consoles share one definition of what they may do.
Console29A Console resource is a named login to the Director with its own password and ACLs (or profiles).
User13A User resource gives ACLs (or profiles) to a user who logs in through a PAM console.

Director resource

The Director resource configures the Director daemon itself: its name, password, listen addresses, working directories and global limits.

Client resource

A Client resource describes a File Daemon the Director backs up: where to reach it, how to authenticate, and limits and quotas for its jobs.

Storage resource

A Storage resource tells the Director how to reach a Storage Daemon and which of its devices and media type to use.

Catalog resource

The Catalog resource describes the PostgreSQL database that holds the job, file and volume records.

Job resource

A Job resource describes one unit of work: what to back up (FileSet) from where (Client), to where (Pool, Storage) and when (Schedule), or a restore, verify, copy, migrate, consolidate or admin job.

JobDefs resource

A JobDefs resource holds defaults for Job resources: a Job with JobDefs = name takes every directive it does not set itself from it.

FileSet resource

A FileSet resource says what a backup job saves: the Include blocks list files and plugins with Options blocks for compression, signatures and patterns; Exclude blocks leave things out.

Schedule resource

A Schedule resource holds Run directives that say when the jobs that use it start, at which level and with which overrides.

Pool resource

A Pool resource groups volumes with the same rules: how long their data is kept, how big they get, how they are labeled and recycled.

Messages resource

A Messages resource routes the messages of jobs and daemons to destinations: the catalog (job log), mail, files, syslog or the console.

Counter resource

A Counter resource is a numbered variable, mainly used in Label Format of pools to number volumes.

Profile resource

A Profile resource is a named set of ACLs that Console and User resources refer to, so several consoles share one definition of what they may do.

Console resource

A Console resource is a named login to the Director with its own password and ACLs (or profiles).

User resource

A User resource gives ACLs (or profiles) to a user who logs in through a PAM console.