replace delete_catalog backup

19 views
Skip to first unread message

kley...@gmail.com

unread,
Oct 28, 2021, 5:02:34 AM10/28/21
to bareos-users
Hi 

In order to save the Catalog dump abd Bootstrap of latest CatalogBackup job to external S3 storage I am trying to change the default RunAfterJob of CatalogBackup.conf
It is by default :
RunAfterJob  = "/usr/lib/bareos/scripts/delete_catalog_backup"
Thought I could simply replace it with 
RunAfterJob = "My script"
But no matter what I do the script /usr/lib/bareos/scripts/delete_catalog_backup is being ran and not my own script.

I've reloaded the config, restarted bareos-dir, even removed the /usr/lib/bareos/scripts/delete_catalog_backup script to see if that would produce at lleast an error. 
But it is as if this script is somehow not sourced from file while doing this type of backup but somehow hard-coded into this type of backup and irreplaceable?!
I'm confused ...  is this a feature?

kind regards,
Benny

kley...@gmail.com

unread,
Oct 28, 2021, 6:01:36 AM10/28/21
to bareos-users
Okay, figured it out ... is my own fault : have multiple Bareos Servers for POC purposes and the bconsole on the Bareos Server I was testing this was pointing to another Bareos Server, not to himself.
Hence my changes were not being picked up !

Reply all
Reply to author
Forward
0 new messages