PostgreSQL Compression, MSSQL Dump Fixes & Docker Metadata
✨ Features
- postgresql: Added per-job native PostgreSQL dump compression. Jobs with a PostgreSQL source now expose an "Algorithm" selector (Legacy Gzip-6, None, Gzip, LZ4, ZSTD) and a "Level" input under the Security tab. The selection maps directly to
pg_dump -Z, allowing e.g.-Z zstd:3or-Z lz4:1without modifying the source adapter config (#24)
🐛 Bug Fixes
- postgresql: Fixed hardcoded
-Z 6in the PostgreSQL dump adapter. Previously,pg_dumpalways ran with Gzip level 6 regardless of the job's compression setting, resulting in silent double-compression when pipeline Gzip or Brotli was enabled. The adapter now derives the-Zflag from the job'spgCompressionsetting (legacy jobs are unaffected) (#24) - mssql: Fixed
Dump failed: No database specified for backupwhen no databases were selected in the job. The MSSQL adapter now auto-discovers all user databases (matching the behavior of MySQL/PostgreSQL adapters) instead of aborting (#30) - backup: Fixed all database adapters (MySQL, PostgreSQL, MSSQL, etc.) only backing up one database when no explicit selection was made in the job config. The source config's default
databasefield was leaking through and overriding the intended "backup all" behavior (#30)
🔧 CI/CD
- docker: Added
lz4andzstdAlpine packages to the base image so thatpg_dump(postgresql18-client) can use LZ4 and ZSTD native compression at runtime - docker: Added OCI standard labels to Docker image (
title,description,url,source,version,revision,created,licenses,vendor) viadocker/metadata-action@v5for better registry compatibility and dependency bot integration (#27) - Thanks @Erwan-loot - codecov: Added Codecov integration -
codecov.yml,@vitest/coverage-v8,test:coveragescript, lcov reporter invitest.config.ts, and coverage upload step invalidate.ymlusing OIDC (no token secret required)
🐳 Docker
- Image:
skyfay/dbackup:v1.4.7 - Also tagged as:
latest,v1 - Platforms: linux/amd64, linux/arm64