How to create a Backup Unit Report (status subscriptions)?

Overview

If you have (or want) a service contract for Bareos, the Backup Unit Report can help you keep track of the subscriptions in use. It will compute how many Bareos backup units are needed including optional component like database, virtual machine and filer units.
This article describes how to generate a Backup Unit Report and what do do with it.

Bareos WebUI (Bareos >= 22)

See the procedure described on documentation page

Bconsole (Bareos >= 21)

See detailed bconsole usage on documentation page.

Script (Bareos < 21)

For any previous version, the usage of a dedicated tool called status-subscription.sh is needed. Please do only use it, when running Bareos version < 21.
You can get the tool with the following procedure:

Download the script to your Bareos director, make it executable, and run it as root.

curl -O /var/tmp/status-subscription.sh https://support.bareos.com/tools/status-subscription.sh
chmod 750 /var/tmp/status-subscription.sh
sudo /var/tmp/status-subscription.sh
The report file will be generated as file /var/tmp/subscriptions-report.txt.

Configured Backup Units

The number of configured subscriptions is controlled by the Subscriptions configuration directive. It is only used for information purposes.

Contact your Bareos Sales Representative

The report generated with both approaches is identical (at least very similar).
Transfer the resulting report file (bareos-backup-unit-report.json or /var/tmp/subscriptions-report.txt) as email attachment to your Bareos representative (your Bareos partner or sales@bareos.com if you have ordered directly from the Bareos company).

Tags