barcus / bareos

Docker image for Bareos
https://hub.docker.com/r/barcus
MIT License
118 stars 56 forks source link

Scripts not update in bareos-dir Alpine version #155

Open FlorentPoinsaut opened 2 years ago

FlorentPoinsaut commented 2 years ago

Hi! Because of volume mounted in /etc/bareos, scripts are not updated between two versions of Bareos.

Workaround: tar xf bareos-dir.tgz etc/bareos/scripts/

barcus commented 2 years ago

Hello,

To force update of /etc/bareos content you should remove /etc/bareos/bareos-config.control file on the mounted volume before starting the container

FlorentPoinsaut commented 2 years ago

Hello,

Thank you for you answer. But override all the /etc/bareos is a bit to much for me. I have set some params inside config files and with this solution I have to check all .before-control to see if it's different from new version.

Nevermind, I don't know if we have to find a solution or only have this fact in our head.