On jeudi, 22 janvier 2026 18.56:56 h heure normale d’Europe centrale Paul 
Gevers wrote:
> Hi,

HI Paul, thanks for your time and remarks, this help on our side, how we want 
to achieved our goals.

> 
> On 1/20/26 16:13, Bruno Friedmann @ bareos wrote:
> 
> > We have done all kind of research about the parameter
> > `dbc_config_allow_backup` as state in documenation, but without success.
> 
> 
> 
> This variable isn't about making backups, but backing up in the debconf 
> state machine. I think you're looking for a new feature, but at the same 
> time that what you are looking can be achieved by pre-seeding the 
> bareos/upgrade-backup debconf question.

Ok people like me and some colleague where not up to date on the whole 
debconf/dbconfig universe and get mislead be the man page.

> > We also tried using ENV var dbc_backup='false' but it look like this one
> > is always reset to true in code with the $RET
> 
> Indeed, it's the variable that holds the answer from the debconf 
> question I referred to above, which is given by the system 
> administrator. However, the question is asked with low priority, so by 
> default most admins don't see the question and provide the default answer.
> 
You're absolutely right, with the help of our deb guru, we have been able to 
figure out how to do this, by simply explaining (in our documentation) how to
disable it.

```
echo "bareos-database-common bareos-database-common/upgrade-backup boolean 
false" | debconf-set-selections -v
```

Will simply do the trick.

> > ps: To be considered at the same time use a configurable place instead
> > of hardcoded path in the backup part
> > 
> > dbc_config_backup_path='/var/cache/dbconfig-common/backups' by default
> > having this variable can mitigate the case, as user would be able to
> > indicate a location able to able the dump.
> 
> A kind request: please don't file two bugs in one bug report.

;-) was a suggestion, and if you find the idea to be useful I will simply open 
a new one, but if it has now chance to be fixed, then it can stay like it is.

> > fix doc and usage by standarizing dbc_config_allow_backup to be
> > dbc_config_allow_backup='false' and inside the code compared to true
> 
> Can you please suggest some text that improves the documentation? Maybe 
> add the word "debconf" before "state machine"?

Thanks for your proposal, adding the "debconf" would at least for myself ring 
a bell that's not concerning the module but the global state.

I'm not too confident in myself and my limited knowledge of the debconf system 
doesn't allow me to propose something that would make the sentence more easier 
to understand even with a quick look.

But still the non empty is a bit wired compared how to all the other variables 
are used ('true', 'false') might be a "ancient time" way of life ;-)

> Paul


-- 
  Bruno Friedmann          
  Bareos GmbH & Co. KG     Phone: +49 221-630693-95
  https://www.bareos.com

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to