Changes between Version 17 and Version 18 of Csle2022/Agenda/bacula


Ignore:
Timestamp:
Nov 12, 2022, 12:31:53 AM (2 years ago)
Author:
geethike
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Csle2022/Agenda/bacula

    v17 v18  
    173173
    174174You can create multiple !FileSets if you wish. Save and exit, when you are finished.
     175== Configure Storage Daemon ==
     176Our Bacula server is almost set up, but we still need to configure the Storage Daemon, so Bacula knows where to store backups.
     177
     178Open the SD configuration in your favorite text editor. We’ll use vi:
     179{{{
     180sudo vi /etc/bacula/bacula-sd.conf
     181}}}
     182'''Configure Storage Resource'''
     183
     184Find the Storage resource. This defines where the SD process will listen for connections. Add the SDAddress parameter, and assign it to the private FQDN (or private IP address) of your backup server:
     185{{{
     186Storage {                             # definition of myself
     187  Name = BackupServer-sd
     188  SDPort = 9103                  # Director's port
     189  WorkingDirectory = "/var/lib/bacula"
     190  Pid Directory = "/var/run/bacula"
     191  Maximum Concurrent Jobs = 20
     192  SDAddress = backup_server_private_FQDN / Private IP
     193}
     194}}}
     195'''Configure Storage Device '''
     196
     197Next, find the Device resource named “FileStorage” (search for “FileStorage”), and update the value of Archive Device to match your backups directory:
     198{{{
     199Device {
     200  Name = FileStorage
     201  Media Type = File
     202  Archive Device = /bacula/backup
     203  LabelMedia = yes;                   # lets Bacula label unlabeled media
     204  Random Access = Yes;
     205  AutomaticMount = yes;               # when device opened, read it
     206  RemovableMedia = no;
     207  AlwaysOpen = no;
     208}
     209}}}
     210
     211
    175212
    176213== Configure Storage Daemon Connection ==