-
v3.42.2
released this
2026-01-07 19:53:20 +00:00 | 44 commits to main since this release🚨 CRITICAL BUGFIX RELEASE - WorkDir Was Completely Broken
This release fixes a showstopper bug where WorkDir configuration was ignored in 9 critical locations, causing restore failures on systems with small root filesystems.
🔥 The Problem
Your colleague couldn't restore backups because even with WorkDir configured, the application hardcoded
/tmpeverywhere. The WorkDir setting was completely useless. This made large restores fail with "no space left on device" even when the configured WorkDir had plenty of space.✅ All Fixed Now
Every single temp operation now respects WorkDir:
- ✅ Restore extraction (line 632) - Was using BackupDir instead of WorkDir!
- ✅ CLI restore/diagnose - Hardcoded /tmp
- ✅ Migration operations - Hardcoded /tmp
- ✅ Swap files - Hardcoded /tmp
- ✅ Debug logs - Hardcoded /tmp
- ✅ TUI directory browser - Hardcoded /tmp
- ✅ Backup fallback - Hardcoded /tmp
- ✅ Display messages - Showed /tmp even with WorkDir set
- ✅ Migration engine - Hardcoded /tmp
🎯 New Helper Method
Config.GetEffectiveWorkDir() // Returns WorkDir or falls back to system temp⚙️ How to Use
Config file:
[backup] work_dir = /u01/dba/tmpEnvironment variable:
export WORK_DIR=/u01/dba/tmp dbbackup restore cluster backup.tar.gz --confirmTUI Settings:
Just rundbbackupand configure Work Directory in settings menu.📦 Download & Install
# Linux chmod +x dbbackup_linux_amd64 ./dbbackup_linux_amd64 --version # macOS chmod +x dbbackup_darwin_arm64 ./dbbackup_darwin_arm64 --version🔗 Technical Details
Commit: 2291510
Build: v3.42.2 | 2026-01-07 | Tested & Working
Downloads