Skip to content

v5.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Nov 17:55
97d4650

Cloudflare D1 Backups, Pushover Notification & Security Fixes

✨ Features

  • Cloudflare D1: New source that backs up and restores the D1 databases of a Cloudflare account through its API, with an API token and nothing to install. A restore keeps the database and its ID and logs a Time Travel bookmark to go back to. (#202)
  • Pushover: New notification channel that sends push alerts through Pushover, with a priority for failures that bypasses quiet hours or repeats as an emergency until someone acknowledges it. Messages link to the run in DBackup when the instance has an address. (#142)

🐛 Bug Fixes

  • history: A long error of a failed run is cut short in the Status column of the History page instead of stretching the column. The whole error shows on hover and on the page of the run.
  • MSSQL: While a .bak travels from the server to DBackup, the run shows how much of it has arrived, the speed and the time left. Until now it stood at 100 percent by SQL Server for the whole transfer.
  • storage: A directory source on a read-only mount or with a read-only login no longer turns offline in the health check or fails Test connection. Both check a source for read access alone and write no test file there. (#200)
  • website: The home page and the roadmap name 5.0 as the latest release, and the New pill takes its version and title from the roadmap.

🔒 Security

  • credentials: A saved login is only sent to a new host by someone who may change every kind of connection that signs in with it, or reveal it. Someone who only manages destinations can no longer use the password of a database source on an FTP, SMB or WebDAV form, nor someone who only manages sources the SSH login of a destination. Thanks @nezirer (GHSA-w34r-cr9x-9jwf)
  • explorer: The table browser reads only the databases and tables the explorer lists, so sources:read no longer reaches system schemas like mysql.global_priv with the password hashes of the database accounts. PostgreSQL reads a table by its schema, never one of pg_catalog like pg_authid. Thanks @nezirer (GHSA-jqm8-vf23-56m9)

🎨 Improvements

  • backup: A backup takes the checksums of its archive while it writes it instead of reading the finished archive once more.

📝 Documentation

  • Cloudflare D1: New source guide with the token setup, the lock during an export and import, and the values the export of Cloudflare cannot carry.
  • credentials: The credential profiles guide explains who may apply a saved login to a connection form and the limit that holds for a profile no connection uses yet.
  • Pushover: New notification guide with the setup of the application and the user key, the priorities and the limits of the API.
  • wiki: Added a note on read-only directory sources to the file backups guide.

🧪 Tests

  • backup: A test checks that the checksums taken while writing match the archive on disk for plain, compressed and encrypted archives.
  • lab: The seed adds a job for the MongoDB of each native server, so pnpm lab:check --run also backs up MongoDB over SSH.
  • ssh: The SSH host key tests no longer fail now and then on an ed25519 key that ssh2 wrote short.
  • tests: The test setup cleans up the session store of better-auth at the end of every file. Its delayed cleanup could fire after jsdom was gone and fail a run whose tests all passed.
  • website: A lint guard fails when the shipped list of the website does not start with the latest release of the changelog or links a changelog heading that does not exist.

🐳 Docker

  • Image: skyfay/dbackup:v5.1.0
  • Also tagged as: latest, v5
  • CI Image: skyfay/dbackup:ci
  • Platforms: linux/amd64, linux/arm64