Director Resource Types

Director resource types may be the following:

Note

Everything revolves around a job and is tied to a job in one way or another.

  • Director – to define the Director’s name and its access password used for authenticating the Console program. Only a single Director resource definition may appear in the Director’s configuration file. If you have either /dev/random or bc on your machine, Bacula will generate a random password during the configuration process, otherwise it will be left blank.

  • Job – to define the backup/restore Jobs and to tie together the Client, FileSet and Schedule resources to be used for each Job. Normally, you will have Jobs of different names corresponding to each client (i.e., one Job per client, but a different one with a different name for each client).

  • JobDefs– optional resource for providing defaults for Job resources.

  • Schedule – to define when a Job is to be automatically run by Bacula’s internal scheduler. You may have any number of Schedules, but each job will reference only one.

  • FileSet – to define the set of files to be backed up with each job. You may have any number of FileSets but each Job will reference only one.

  • Client – to define what Client is to be backed up. You will generally have multiple Client definitions. Each Job will reference only a single client.

  • Storage – to define on what physical device the Volumes should be mounted. You may have one or more Storage definitions.

  • Pool – to define the pool of Volumes that can be used for a particular Job. If there is a large number of clients or volumes, you may want to have multiple Pools. Pools allow you to restrict a Job (or a Client) to use only a particular set of Volumes.

  • Catalog – to define in what database to keep the list of files and the Volume names where they are backed up. Most people only use a single catalog. However, if you want to scale the Director to many clients, multiple catalogs can be helpful. Multiple catalogs require a bit more management because in general you must know what catalog contains what data. Currently, all Pools are defined in each catalog. This restriction will be removed in a later release.

  • Messages – to define where to error and information messages are to be sent or logged. You may define multiple different message resources and hence direct particular classes of messages to different users or locations (files, etc.).

  • Console – to define how the administrator or user can interact with the Director.

  • Counter – to define a counter variable that can be accessed by variable expansion used for creating Volume labels.

See an example of a Director configuration file:

Go back to the Technical Reference for Director.