PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
TypeScript backupbackupsdatabasedatabase-backupdevopsdockergolangkubernetesmariadbmongodbmysqlpgpostgrespostgresqls3self-hostedsystem-administrationtoolsweb-ui
1. Backend groups and shards
- 1.1 In
backend/Justfile, maketest-group-packagesaccept<group>-<shard>-of-<count>names and the newwal-usecasesgroup, and drop the WAL usecases package fromother. Verify inbackend/under bash thatdiff <(go list ./internal/... | sort) <(for g in physical-1-of-3 logical wal-usecases-1-of-3 other; do just test-group-packages "$g"; done | sort)prints nothing and thatjust test-group-packages bogusexits non-zero. - 1.2 Add
test-group-teststobackend/Justfileandbackend/test-shard-weights.txt, as design.md describes. Verify that the patterns ofwal-usecases-1-of-3through-3-of-3together list every top-level test of that package exactly once, that the same holds forphysical, thatjust test-group-tests logicalprints nothing, thatjust test-group-tests physical-3-of-2exits non-zero, and thatjust --fmt --check --unstablepasses inbackend/. - 1.3 In
.github/workflows/ci-release.yml, turntest-backendinto the eight-leg matrix withotheron the 8 vCPU profile and the other legs on the 4 vCPU profile, and pass the shard pattern togo testthrough${run_pattern:+-run "$run_pattern"}. Verify thatactionlint .github/workflows/ci-release.ymlreports nothing but runner-label warnings, and that running the step's commands forphysical-1-of-3under bash passes its one test inpg17and reports no tests to run inpg18.
2. Filesystem suite groups
- 2.1 In
e2e/docker-storage/run.sh, sort the cases into thepermissions,network,upgradesandlifecyclegroups and acceptCASE_GROUP, keepingCASE=<case>for one case. Verify that the four groups together list the same 23 cases as before with no duplicates, and that an unknownCASE_GROUPexits with status 2. - 2.2 In
.github/workflows/ci-release.yml, addbuild-storage-image, which builds the candidate once and uploads it as an artifact, and turntest-filesystemsinto a matrix of the four groups that downloads and loads it. Verify thatactionlint .github/workflows/ci-release.ymlreports nothing but runner-label warnings.