M27: make backup checksums portable
MobilityOps acceptance / backend (push) Canceled after 0s
MobilityOps acceptance / frontend (push) Canceled after 0s

This commit is contained in:
NuklearRabbit
2026-08-10 16:19:18 +02:00
parent b00d33af11
commit e1b700b10e
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ while true; do
--host=db --username="$POSTGRES_USER" "$POSTGRES_DB" > "$temporary" \
&& pg_restore --list "$temporary" > /dev/null; then
mv "$temporary" "$target"
sha256sum "$target" > "$target.sha256"
(cd "$destination" && sha256sum "$(basename "$target")" > "$(basename "$target").sha256")
if [ -n "$secondary" ]; then
cp "$target" "$target.sha256" "$secondary/"
fi