stafwag Blog

staf wagemakers blog

Bacula on FreeBSD (Part 4)

In the session we’ll continue with my new bacula backup setup

Bacula Components

  • Bacula Director (bacula-dir)
    The Bacula Director is daemon that runs in the backgroud that control all backup operations.

  • Bacula Console (bconsole)
    The Bacula console is an administrator program that allows an system administrator to control the Bacula director.

  • Bacula File
    The Bacula File is a backup client install on the backup client.

  • Bacula Storage (bacula-sd)
    The backup media.

  • Catalog
    The Catalog is the index of the backups. Bacula supports three types of index databases mySQL ( mariaDB), PostgreSQL and SQLite. We will use postgresql (see bacula on freebsd part 2)

  • Bacula monitor
    A Bacula monitor service is a program that allows the system administrator to cerify the status of the bacula Directors, Bacula File Daemons and Bacula Storage Daemons.

Bacula Configuration

bacula-dir.conf

bacula-dir is the configuration file for the Bacula Director (bacula-dir)

The Director Resource

The Director resource defines the attributes for the Bacula Directors running on the network. In the current implementation only 1 director can be running on the network.

You’ll find my bacula Director configuration below.

1
2
3
4
5
6
7
8
9
10
Director {                            # define myself
  Name = MyBaculaDirector
  DIRport = 9101                # where we listen for UA connections
  QueryFile = "/usr/local/share/bacula/query.sql"
  WorkingDirectory = "/var/db/bacula"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 20
  Password = "********"         # Console password
  Messages = Daemon
}

Links

Comments