Fix cluster backup auto-confirm and confirmation Init

- Skip confirmation dialog in auto-confirm mode for cluster backup
- Call confirm.Init() to trigger auto-confirm message
This commit is contained in:
2025-12-12 13:19:27 +01:00
parent d710578c48
commit 9dfb5e37cf
2 changed files with 31 additions and 1 deletions

25
.dbbackup.conf Normal file
View File

@@ -0,0 +1,25 @@
# dbbackup configuration
# This file is auto-generated. Edit with care.
[database]
type = postgres
host = 172.20.0.3
port = 5432
user = postgres
database = postgres
ssl_mode = prefer
[backup]
backup_dir = /root/source/dbbackup/tmp
compression = 6
jobs = 4
dump_jobs = 2
[performance]
cpu_workload = balanced
max_cores = 8
[security]
retention_days = 30
min_backups = 5
max_retries = 3