debian: dbconfig allow major upgrade without backup dump#2506
debian: dbconfig allow major upgrade without backup dump#2506BareosBot merged 3 commits intobareos:masterfrom
Conversation
7ea9598 to
7b45ed3
Compare
|
Prepare documentation update for a warning |
7b45ed3 to
a8ba4ff
Compare
|
To quickly test with the help of our containers and your personal subscription login using podman run registry.bareos.com/debian-13-x86_64-repotest |
|
@arogge being one of the issue finder, would the proposed instructions full-fill your requirements ? |
|
@bruno-at-bareos not all of the settings in |
|
I'm not sure if an additional hint in the doc about how to get asked all the debconf questions is helpful. It would something like: or and then continue with the normal installation. However, this isn't Bareos specific, but a common Debian mechanism. |
Absolutely, that would help anyone starting a new server to have sane defaults. |
Even if it is a "common" debian things, finding that specific parameter is not easy as it should, and as it bring lot of confort for a Bareos beginner, I would like to see it in doc. I'm doing the additional changes. Thanks for the suggestion. |
|
I added some more changes. Feel free, to squash them.
TODOS:
|
93162b0 to
a90b161
Compare
|
@joergsteffens I've done the rename of the title of the pr (might still be changed to also dbconfig: apply our defaults on initial installation like pr 2552 ?) Waiting final build to check binaries. Thanks a lot for the suggestions and the new defaults. |
With last changes we still needs adaptation to make it work.
|
I tried to reproduce that, but on my Debian 13 test environment it runs as expected. Also: after: Could you verify, that your test environment is correct? |
|
@joergsteffens after using the right PR binaries, all tests conclude to a correct upgrade path, where 26 doesn't do anymore dump before upgrade and settings correctly set So we are green for a merge. |
- Remove reference to UCS, as Bareos no longer provides specific packages for UCS. - Remove the hint about dpkg-reconfigure bareos-database-common, as at least with current versions of dbconfig-common (2.0.25), it only allows to reinstall the database, and not to change its configuration. - Show matching debconf settings. - Added instruction how to show default values. - Add low level export for dbconfig Fix bareos/internal#207 Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
56cb17c to
2431b89
Compare
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThese changes implement Debian dbconfig major upgrade support without backup dumps, adding configuration helper functions for database method selection and migration handling, fixing argument quoting in the Bareos database package installer, and updating documentation to reflect Debian/Ubuntu-only support. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
doc: cleanup CatalogMaintenance
dbconfig: apply our defaults on initial installation
Fix https://github.com/bareos/internal/issues/207
Please check
If you have any questions or problems, please give a comment in the PR.
Helpful documentation and best practices
Checklist for the reviewer of the PR (will be processed by the Bareos team)
Make sure you check/merge the PR using
devtools/pr-toolto have some simple automated checks run and a proper changelog record added.General
Source code quality