• dbbackup v.3.40.0
    Some checks failed
    CI/CD / Test (push) Failing after 4s
    CI/CD / Generate SBOM (push) Has been skipped
    CI/CD / Lint (push) Failing after 4s
    CI/CD / Build (darwin-amd64) (push) Has been skipped
    CI/CD / Build (linux-amd64) (push) Has been skipped
    CI/CD / Build (darwin-arm64) (push) Has been skipped
    CI/CD / Build (linux-arm64) (push) Has been skipped
    CI/CD / Release (push) Has been skipped
    CI/CD / Build & Push Docker Image (push) Has been skipped
    CI/CD / Mirror to GitHub (push) Has been skipped

    renz released this 2026-01-06 12:40:17 +00:00 | 82 commits to main since this release

    Release 2026-01-06

    Summary

    This release focuses on backup diagnosis and large archive handling for production environments with large databases (100GB+).

    New Features

    TUI: Diagnose Backup File

    • New menu option in interactive mode to analyze backup files
    • Visual pass/fail indicators for backup integrity
    • Cluster archive deep analysis inspects all contained dumps

    Work Directory for Large Operations

    • Configure custom temp directory via TUI Settings or .dbbackup.conf
    • Press w in Restore Preview to toggle work directory
    • Required when tmp has insufficient space for large archive extraction
    • Example: 70GB compressed archive requires ~280GB extraction space

    Improved Cluster Diagnosis

    • Better error messages for truncated or corrupted archives
    • Fast pre-check via archive listing without full extraction
    • Disk space detection before extraction attempt
    • Shows archive contents even when extraction fails

    Detailed Error Reporting

    • --save-debug-log <path> saves JSON report on failure
    • Error classification with actionable recommendations
    • Ring buffer capture prevents OOM on high-error restores

    Configuration

    New option in .dbbackup.conf:

    [backup]
    backup_dir = /u01/dba/dumps
    work_dir = /u01/dba/tmp # Custom temp directory for large operations
    

    Platforms

    • Linux x64, ARM64, ARMv7
    • macOS Intel, Apple Silicon
    • Windows x64, ARM64
    • FreeBSD, OpenBSD, NetBSD x64

    Upgrade

    cp dbbackup_linux_amd64 /usr/local/bin/dbbackup
    chmod +x /usr/local/bin/dbbackup
    

    Full Changelog

    See CHANGELOG.md for complete details.

    Downloads