• v3.42.2
    All checks were successful
    CI/CD / Test (push) Successful in 1m16s
    CI/CD / Lint (push) Successful in 1m23s
    CI/CD / Build & Release (push) Successful in 3m17s

    renz 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 /tmp everywhere. 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:

    1. Restore extraction (line 632) - Was using BackupDir instead of WorkDir!
    2. CLI restore/diagnose - Hardcoded /tmp
    3. Migration operations - Hardcoded /tmp
    4. Swap files - Hardcoded /tmp
    5. Debug logs - Hardcoded /tmp
    6. TUI directory browser - Hardcoded /tmp
    7. Backup fallback - Hardcoded /tmp
    8. Display messages - Showed /tmp even with WorkDir set
    9. 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/tmp
    

    Environment variable:

    export WORK_DIR=/u01/dba/tmp
    dbbackup restore cluster backup.tar.gz --confirm
    

    TUI Settings:
    Just run dbbackup and 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