Changes between Version 11 and Version 12 of Csle2022/Agenda/bacula


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Csle2022/Agenda/bacula

    v11 v12  
    2727
    2828If prompted for ''''Configure database for bacula-director-postgresql with dbconfig-common?'''' Enter "Yes." For ''''Password of the database's administrative user,'''set the password as 1234.
     29
     30== Configure Bacula Director==
     31Bacula 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.
     32
     33We’ll start with the Bacula Director.
     34
     35Open the Bacula Director configuration file in your favorite text editor. We’ll use vi:
     36{{{
     37sudo vi /etc/bacula/bacula-dir.conf
     38}}}
     39
     40This is the main configuration file of Bacula and we will modify this file later according our Lab setup.
    2941
    3042== Create Backup Directory and assign permission==
     
    121133}}}
    122134
    123 == Configure Bacula Director==
    124 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.
     135== Add !FileSets (Bacula Server) ==
     136A Bacula !FileSet defines a set of files or directories to include or exclude files from a backup selection, and are used by backup jobs on the Bacula Server.
     137With the default Bacula Server components, you already have a !FileSet called “Full Set”. If you want to run Backup jobs that include almost every file on your Backup Clients, you can use that !FileSet in your jobs. You may find, however, that you often don’t want or need to have backups of everything on a server, and that a subset of data will suffice.
    125138
    126 We’ll start with the Bacula Director.
     139Being more selective in which files are included in a !FileSet will decrease the amount of disk space and time, required by your Backup Server, to run a backup job. It can also make restoration simpler, as you won’t need to sift through the “Full Set” to find which files you want to restore.
    127140
    128 Open the Bacula Director configuration file in your favorite text editor. We’ll use vi:
     141We will create new !FileSet resources, so that you can be more selective in what you back up.
     142
     143On your '''Bacula Server''', open '''bacula-dir.conf, '''
    129144{{{
    130145sudo vi /etc/bacula/bacula-dir.conf