Bacula Enterprise
Learn how to use Bacula Enterprise to store data on the ScPrime distributed datacenter using the XNS Relayer
Overview
Bacula Enterprise is an open-source, enterprise-level computer backup system for heterogeneous networks. Bacula Enterprise can copy backups to S3 protocol destinations, so it makes a good match for XNS storage.
Read this guide for how to configure Bacula Enterprise to store data with XNS.
Prerequisites
- A working instance of Bacula Enterprise
- A working instance of the XNS Relayer
- Configured XNS Relayer Endpoint Access Key and Endpoint Secret Key
Considerations
- Bacula Enterprise requires a valid SSL certificate to use the XNS Relayer as an HTTPS endpoint. Please configure the XNS Relayer with a valid SSL certificate or change the Endpoint Certificate Type to not require SSL. These settings can be accessed in the Relayer UI by going to Configuration > General Configuration and editing the Select Endpoint Certificate Type setting to ‘No SSL’.
Application Version Used in Guide
Bacula Enterprise 16.0.0-5
Guide Revision Date
2023-03-22
Setup Guide
Step 1: Add a Storage Device
Open Bacula Enterprise. On bottom right of the page, click the plus sign (+) to expand its options. Then click Add Storage Device.
Step 2: Select Storage Daemon
Click the radio button for Select a Storage Daemon and add newly created Devices into it. Select the Storage Daemon that you wish to add the XNS Relayer to and select Cloud for the device type. Click Next.
Step 3: Configure Storage Daemon Connection
Select S3Autochanger to use existing internal Bacula connection settings. Click Next.
Step 4: Configure Storage Resource Settings
Configure the Storage Resource Settings per your environment.
If you are using a valid SSL certificate with the XNS Relayer, you can test the connection to the XNS Relayer by clicking the cycle button. Please note that this test will throw an error if the XNS Relayer is configured to not use SSL or if it has an invalid SSL certificate.
Click Next when complete.
Media Type | [Your Media Type Name] | This is the name of the media type being used. |
Driver | S3 | ‘S3’ is used for S3 protocol compatible services. |
Hostname | [Your IP]:[MinIO Port] | The location of the XNS Relayer.
n.b., HTTPS is assumed. Further guidance will be given for how to use HTTP. |
Access Key | [Endpoint Access Key (Username)] | This is defined in the XNS Relayer General Configuration. |
Secret Key | [Endpoint Secret Key (Password)] | This is defined in the XNS Relayer General Configuration. |
Region | This can be left blank. | |
Bucket Name | [Your Bucket Name] | This is the name of the bucket for where Bacula will save backups. |
Upload to the cloud during the job | Check | This option directs Bacula to start uploading when the job is in progress. |
Step 5: Name the Storage Resource
Name your Storage Resource and click Next.
Please note that the bucket error message is displayed because this guide example is not using SSL.
Step 6: Navigate to Cloud Storage Resources
The Storage Resource has been initially set up, however additional configuration is required as the setup wizard does not make all necessary options available. Click on Configuration, then Storage Daemon, and then Clouds.
Step 7: Select Cloud
Click on the Cloud resource associated with XNS Relayer.
Step 8: Change Cloud Resource Settings
Uri Style must be changed to work with XNS Relayer as of this version of Bacula Enterprise. Additionally, if SSL is not being used, HTTP must be configured. After making the changes, click Save.
Once these changes have been committed and the Storage Daemon has been reloaded, the XNS Relayer will be able to be selected as a destination for backup and restore jobs.
Uri Style | Path | Bacula works with XNS Relayer using the Path URI Style as of this version of Bacula Enterprise. |
Protocol | HTTP | If you are not using SSL protocol, HTTP must be selected. |