5 | | == Steps to Install Bacula == |
6 | | Step 1: Install postgresql Database |
| 5 | == Install Bacula Server in Bacula_VM == |
| 6 | A Bacula server, which we will also refer to as the “backup server”, has these components: |
| 7 | |
| 8 | '''Bacula Director (DIR):''' Software that controls the backup and restore operations that are performed by the File and Storage daemons [[BR]] |
| 9 | |
| 10 | '''Storage Daemon (SD):''' Software that performs reads and writes on the storage devices used for backups[[BR]] |
| 11 | |
| 12 | '''Catalog:''' Services that maintain a database of files that are backed up. The database is stored in an SQL database such as MySQL or PostgreSQL[[BR]] |
| 13 | |
| 14 | '''Bacula Console:''' A command-line interface that allows the backup administrator to interact with, and control, Bacula Director |
| 15 | |
| 16 | '''Install postgresql Database''' |
| 37 | == Install Bacula Client in Client Machine == |
| 38 | A Bacula client, i.e. a server that will be backed up, runs the '''File Daemon (FD)''' component. The File Daemon is software that provides the Bacula server (the Director, specifically) access to the data that will be backed up. We will also refer to these servers as “backup clients” or “clients”. |
| 39 | |
| 40 | '''Install and Configure Bacula Client''' |
| 41 | {{{ |
| 42 | sudo apt-get update |
| 43 | sudo apt-get install bacula-client |
| 44 | }}} |
| 45 | |
| 46 | == Configure Bacula Director== |
| 47 | Bacula has several components that must be configured independently in order to function correctly. The configuration files can all be found in the '''/etc/bacula''' directory. |
| 48 | |
| 49 | We’ll start with the Bacula Director. |
| 50 | |
| 51 | Open the Bacula Director configuration file in your favorite text editor. We’ll use vi: |
| 52 | {{{ |
| 53 | sudo vi /etc/bacula/bacula-dir.conf |
| 54 | }}} |