Changes between Version 3 and Version 4 of Csle2022/Agenda/bacula


Ignore:
Timestamp:
Nov 7, 2022, 10:34:20 AM (2 years ago)
Author:
geethike
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Csle2022/Agenda/bacula

    v3 v4  
    11= Bacula Lab =
    22
    3 In this lab, you will backup and restore files using a Bacula.
     3In this lab, you will backup and restore files using a Bacula. For this practical we need 2 Machines, Bacula Server and a Bacula Client. Download '''Bacula_VM''' from below link. We will use Existing Machine from previous sessions of this workshop as client.
    44
    5 == Steps to Install Bacula ==
    6 Step 1: Install postgresql Database
     5== Install Bacula Server in Bacula_VM ==
     6A 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'''
    717{{{
    818sudo apt-get update -y
     
    1020}}}
    1121
    12 Step 2: Install Bacula
     22'''Install Bacula'''
    1323{{{
    1424sudo apt-get install bacula -y
     
    2535}}}
    2636
     37== Install Bacula Client in Client Machine ==
     38A 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{{{
     42sudo apt-get update
     43sudo apt-get install bacula-client
     44}}}
     45
     46== Configure Bacula Director==
     47Bacula 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
     49We’ll start with the Bacula Director.
     50
     51Open the Bacula Director configuration file in your favorite text editor. We’ll use vi:
     52{{{
     53sudo vi /etc/bacula/bacula-dir.conf
     54}}}