Tuesday, June 6, 2017

Purge and remove backup files in Bareos / Bacula

Bareos / Bacula are very powerfull backup solutions for enterprises

When using backup to disk, one of the more nasty maintenance tasks, is removing old backup files.
To help you with this, you can use this script to remove expired backup files, and also backup files which contain error-only backups.

It is based on the code from Kjetil and has been modified to also woth with bareos 15 and mysql databases.

Patches and enhancements are welcome on the github platform.