Changes between Version 30 and Version 31 of Csle2022/Agenda/bacula
- Timestamp:
- Dec 1, 2022, 4:27:21 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Csle2022/Agenda/bacula
v30 v31 23 23 }}} 24 24 25 '''Install postgresql Database''' 25 ''' Set the IP addresses ''' 26 27 In case if bridging adapter setting is not working with your Virtual box, please add '''Host-Only adapter''' for both '''Backup Server''' and '''Client-Host.''' Then set the IP addresses as below. 28 29 For the '''Backup Server''' 30 {{{ 31 sudo vim /etc/netplan/00-installer-config.yaml 32 }}} 33 {{{ 34 network: 35 ethernets: 36 enp0s3: 37 dhcp4: true 38 enp0s8: 39 dhcp4: false 40 addresses: 41 - 192.168.56.105/24 42 version: 2 43 }}} 44 {{{ 45 sudo netplan apply 46 }}} 47 48 For the '''Client-Host''' 49 {{{ 50 sudo vim /etc/netplan/00-installer-config.yaml 51 }}} 52 {{{ 53 network: 54 ethernets: 55 enp0s3: 56 dhcp4: true 57 enp0s8: 58 dhcp4: false 59 addresses: 60 - 192.168.56.106/24 61 version: 2 62 }}} 63 {{{ 64 sudo netplan apply 65 }}} 66 Now check the connectivity between Server and client and it should success. 67 {{{ 68 ping 192.168.56.106 69 }}} 70 71 '''Install postgresql Database in Backup Server''' 26 72 {{{ 27 73 sudo apt-get update -y … … 31 77 }}} 32 78 33 '''Install Bacula '''79 '''Install Bacula in Backup Server''' 34 80 {{{ 35 81 sudo apt-get install bacula -y 36 82 }}} 37 While installing Bacula, you will be asked to configure Postfix.Pick "No configuration" under 'GeneralType of Mail Configuration.38 39 If 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.83 While installing Bacula, you will be asked to configure '''Postfix.'''Pick '''"No configuration"''' under '''General''' Type of Mail Configuration. 84 85 If 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.''' 40 86 41 87 == Configure Bacula Director== … … 58 104 }}} 59 105 106 == Now we start configuring Client Side == 60 107 == Install Bacula Client in Client Machine == 61 108 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”.