Prepare MariaDB restore tests and recover backup disk space safely

This commit is contained in:
admin committed 2026-09-12 20:36:18 +02:00
1 parent f0c761213d
commit b0416461bc
23 files changed
+918 -129

No files matched your search

+4 -3
View File
@@ -48,12 +48,13 @@ MAIL_INCLUDE_LOG_TAIL_LINES=200
MAIL_SENDMAIL_BIN="/usr/sbin/sendmail"
MAIL_SEND_TIMEOUT=30
# Monthly offsite restore rehearsal. Prepare a LOCAL MariaDB image matching the
# production major/minor version before enabling. No automatic image downloads.
# Monthly offsite restore rehearsal. The updater --enable-restore-test prepares
# a matching LOCAL MariaDB image; monthly jobs never download images.
ENABLE_RESTORE_TEST="false"
RESTORE_TEST_DB_IMAGE=""
# Components are processed sequentially; fail/clean up if a component will not fit.
RESTORE_TEST_MAX_WORK_GB=4
# 0: adaptive to free space; a positive value adds a fixed scratch limit.
RESTORE_TEST_MAX_WORK_GB=0
RESTORE_TEST_MIN_FREE_GB=2
RESTORE_TEST_MAX_AGE_HOURS=72
RESTORE_TEST_TIMEOUT=39600