Best Practices
Backup of the .bmp, .sha Files and the /opt/bacula/etc/openstack.conf File
As the .bmp
and .sha
files generated in the /opt/bacula/working/openstack
directory are very important for the Incremental backups,
it is recommended to have a specific backup job to backup these files regularly, even if they are already included in the current OpenStack
backups, so they can be easily restored in the case of a disaster with the Bacula proxy server.
Additionally, the /opt/bacula/etc/openstack.conf
file, which is also important for the OpenStack backups, can be also included in the same backup job.
This backup job should be configured to run daily using Full level.
For example, below are the Job and Fileset configurations recommended to use for the backup
of the .bmp
and .sha
files in the /opt/bacula/working/openstack
directory, along with the /opt/bacula/etc/openstack.conf
file:
Job {
Name = "openstack_working_and_conf_files-job"
Type = "Backup"
Client = "bacula-proxy-vm-rhel9-fd"
Fileset = "openstack_working_and_conf_files-fileset"
JobDefs = "BackupsToDisk"
Messages = "Default"
Pool = "DiskBackup365d"
Schedule = "DailyFull"
Storage = "DiskAutochanger"
}
Fileset {
Name = "openstack_working_and_conf_files-fileset"
Include {
Options {
Compression = LZO
Signature = "Md5"
}
File = "/opt/bacula/working/openstack"
File = "/opt/bacula/etc/openstack.conf"
}
}
In the case of a partial or total disaster of the Bacula proxy server, it is possible to create a new Bacula proxy server,
install the Bacula File Daemon and the OpenStack Plugin, and recover the .bmp
and .sha
files, as well as the /opt/bacula/etc/openstack.conf
file
from the latest successful Full backup.
See also
Previous articles:
Next articles:
Go back to: OpenStack Plugin.