Hi, 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.
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.
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.
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"?
Paul
OpenPGP_signature.asc
Description: OpenPGP digital signature

