= Bacula Lab = In this lab, you will backup and restore files using a Bacula. == Steps to Install Bacula == Step 1: Install postgresql Database {{{ sudo apt-get update -y sudo apt install postgresql }}} Step 2: Install Bacula {{{ sudo apt-get install bacula -y }}} While installing Bacula, you will be asked to configure Postfix.Pick "No configuration" under 'General Type of Mail Configuration. 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. == Create Backup Directory and assign permission== {{{ sudo mkdir -p /bacula/backup sudo chown -R bacula:bacula /bacula sudo chmod -R 700 /bacula }}}