BFH Linux System Administration
What I have to do, to use bareos bfh services
To become an active bareos profile, you have to open/create a OTRS Ticket:
With some service details configure the bareos client like below:
Queue: Linux
Service: Bareos
Protocols: Bareos Native or NMDP (Bareos Native if unsure)
Name/Project:
FQDN / Fully Qualified Domain Name: (for exmaple bareos-t01.itslab.bfh.ch --> FQDN for Testserver, bareos.bfh.ch --> Original FQDN)
Size of Backup Repo:
Schedule plan: For example (Mo 08:00, Mo 15:00, Di 12:00, Mi 21:00, So 00:00 etc.)
Activate bareos client config:
Copy the Bareos client config from user home to /etc/bareos/bareos-dir.d/client
/jobs
/console
# Run these shell commands on the bareos director service/daemon server to activate the new config files (to add the new user)
# Or make a new git commit
$ cp /home/$USER/$FQDN/*-$FQDN.conf /etc/bareos/bareos-dir.d/jobs/.
$ cp /home/$USER/$FQDN/$FQDN.conf /etc/bareos/bareos-dir.d/client/.
$ cp /home/$USER/$FQDN/$USER.conf /etc/bareos/bareos-dir.d/console/.
$ chown -R bareos:bareos /etc/bareos
$ bconsole << EOF
reload
EOF
Check bareos director config, but how? –> run a backup job, and check if job was Terminated successfully
--> log in via website GUI https://bareos.bfh.ch/
---> Go to jobs -> then actions
----> Start the backup job, with the FQDN of your System
Control if the full backup data works:
Go to the restore section on bareos website, choose the backup data and the restore client
and start the job, when you have finished selecting some files to restore.
Bare Metal Restore with Bareos => Bareos Bare Metal Restore ==> B-BMR
With B-BMR you can restore your Bareos Client configuration from a repository, the paritition table is also safed there
RTFM until to END, follow the manual (step by step) Or Ask the system administration team
We recommend to run a backup of the bareos server and the bareos catalogue DB After you can update and upgrade your bareos services daemons
On the bareos.bfh.ch server
$ sudo apt update
$ sudo apt upgrade bareos-*
With bareos-* you will upgrade all installed bareos-daemons
You can see this list by execute this command: $(dpkg -l | grep bareos-*)