Bacula Fine Tuning
CommunityBest Practices
Please refer to the Bacula manuals, available at https://www.bacula.org.
We recommend a PostgreSQL backend to run Bacula.
Design a backup strategy in case of disaster recovery (more information is available in the chapter “Critical Items to Implement Before Production” in the Main Manual)
For example, backup your catalog and store the
.bsr
(bootstrap) file in a safe location.For example, backup your DIR and SD configuration files (if you are using Baculum, please backup its
conf.d/
folder).
As a best practice, document your backup design to provide a good overview and enhance the understanding of your backup infrastructure. Please test your tape library infrastructure following the instructions in the chapter named “btape” in the Utility Manual
PostgreSQL Catalog
On Debian, to change the catalog password, please run the commands:
#su- postgres
$psql
postgres=# alter user bacula with password 'your_new_password';
postgres=# \q
Then you must put the new password in /opt/bacula/etc/bacula-dir.conf
as shown below:
Catalog {
Name = MyCatalog
dbname = "bacula"; dbuser = "bacula"; dbpassword = "your_new_password"
}
Restart the bacula-dir service:
/etc/init.d/bacula-dir restart
#or, on more recent versions,
#systemctl restart bacula-dir.service
See also
Previous articles:
Next articles:
Go back to: Bacula Community Installation.