From 39a262a175938ef9ef054311dbc2234afdd40da4 Mon Sep 17 00:00:00 2001 From: Alistair Young Date: Sat, 31 Oct 2026 17:08:45 -0500 Subject: [PATCH] Release 0.3.1 - Restores re-attribute role grants made by a superuser whose name differs from the destination's bootstrap superuser (GRANTED BY memlord), instead of failing to restore them (#7). - restore-test warns when a set was made by a newer dbbackup (#6). Co-Authored-By: Claude Opus 5.5 --- deploy/k8s/kustomization.yaml | 2 +- docs/restore.md | 4 ++-- pyproject.toml | 2 +- src/dbbackup/__init__.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy/k8s/kustomization.yaml b/deploy/k8s/kustomization.yaml index bd7bb99..447b90d 100644 --- a/deploy/k8s/kustomization.yaml +++ b/deploy/k8s/kustomization.yaml @@ -23,7 +23,7 @@ configMapGenerator: images: - name: ghcr.io/arkane-systems/db-backup - newTag: "0.3.0" + newTag: "0.3.1" labels: - pairs: diff --git a/docs/restore.md b/docs/restore.md index b9a459d..5bf4989 100644 --- a/docs/restore.md +++ b/docs/restore.md @@ -69,7 +69,7 @@ spec: securityContext: {runAsNonRoot: true, runAsUser: 1004, runAsGroup: 1004} containers: - name: restore - image: ghcr.io/arkane-systems/db-backup:0.3.0 + image: ghcr.io/arkane-systems/db-backup:0.3.1 args: [restore, postgres-main, --host, new-postgres.example.lan, --username, postgres, --password-env, ADMIN_PASSWORD] env: - name: ADMIN_PASSWORD @@ -86,7 +86,7 @@ spec: ```bash docker run --rm -v /mnt/db-backups:/backups:ro -v $PWD/config.yaml:/etc/dbbackup/config.yaml:ro \ - -e ADMIN_PASSWORD ghcr.io/arkane-systems/db-backup:0.3.0 \ + -e ADMIN_PASSWORD ghcr.io/arkane-systems/db-backup:0.3.1 \ restore mariadb-main --host new-mariadb.example.lan --username root --password-env ADMIN_PASSWORD ``` diff --git a/pyproject.toml b/pyproject.toml index 446ed92..155caf1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "dbbackup" -version = "0.3.0" +version = "0.3.1" description = "Containerized logical backups of MariaDB, PostgreSQL and MongoDB servers, with GFS retention" readme = "README.md" license = "MIT" diff --git a/src/dbbackup/__init__.py b/src/dbbackup/__init__.py index 5ac089a..94acb52 100644 --- a/src/dbbackup/__init__.py +++ b/src/dbbackup/__init__.py @@ -1,3 +1,3 @@ """Logical backups of MariaDB, PostgreSQL and MongoDB servers, with GFS retention.""" -__version__ = "0.3.0" +__version__ = "0.3.1"