Skip to main content

Bacula Backups

====================================================================================

Backup Server Setup (via automation)

USEFUL LINKS: 
https://kb.ukfast.net/Backup_Server_Install 

 https://linuxinstaller-man4.devops.ukfast.co.uk/dashboard/ 

https://linuxinstaller-man5.devops.ukfast.co.uk/dashboard/ 

 https://awx.devops.ukfast.co.uk/#/home 

All steps here are done within TechDB - specifically on the SID page for the backup server, unless otherwise specified.

If this is a reinstall then you first need to schedule maintenance and task DC to replace the disks 

server type: "backup server" 
server subtype: "Bacula v9 Server" 
Status: Awaiting Installation 
Role: "Backup Server" 
OS type: Ubuntu 20.04 x86_64 

Add the OS > Software Installed > Select Ubuntu 20.04 x86_64 and Right Click > Add 

Also remove any OS that is already present (Only for reinstalls) 

 get networks to assign you an IP Address and fill in the Hostname (not needed for reinstall) 

 Hardware > Configuration > Model > This needs to be set to the chassis (Most will be R320 - won't need changing for a reinstall unless chassis has been swapped)

The server must have a rack switch AND a backup switch connection (backup switch MUST be Gigabit) 

 Set the vlan to the installer vlan for the relevant datacentre: [MAN4: 516, MAN5: 316] 

Click Save Edits 
Click Configure Switch   
Click Reset Server OS 
deselect firewall information - this is for shared backup servers, these are not Firewalled  

Select Save Edits  

Open the virtual console in DRAC 

 Click Install/Re-install OS to start automation, you can watch the steps in automation history and use DRAC too 
 Reboot server 
 

When server is booting hit f2 to go to system setup then System BIOS > Boot Settings > Change from BIOS to UEFI, can then exit this menu and server will reboot 
 While its booting hit f11 to go into the Boot Manager > UEFI Boot menu > NIC 1 
 After that then automation will do the rest for you (hopefully) 

====================================================================================

Bacula Client Setup

 

====================================================================================

Troubleshooting Bacula

--------------------------------------------------------------------------------------------------------------------------------------- 

Bacula Networking

--------------------------------------------------------------------------------------------------------------------------------------- 

BAC Address

Firstly, check the client server has a bacula IPv6 address. 

ip a  

Will look something like the following (note the 'BAC' present around the middle of this address)

2a02:22d0:bac:0:3617:ebff:fef1:1f8 

 If the server does not have a v6 address, we need to check the backup NIC config and then try to restart the backup NIC. 

IPv6 Network Restrictions

Ensure that the ip6tables service isn't running:

Systemctl status ip6tables 

Check the ruleset:

ip6tables –S

Add required rules for Bacula IPv6 networking over ports 9102 and 9103:

ip6tables -I INPUT -i eth1/em2 -j ACCEPT 
ip6tables -I OUTPUT -p tcp --dport 9102 -j ACCEPT 
ip6tables -I OUTPUT -p tcp --dport 9103 -j ACCEPT 
service ip6tables save && service ip6tables restart 

--------------------------------------------------------------------------------------------------------------------------------------- 

Bacula-fd Configuration