chore(ops): harden deployment and runtime setup

This commit is contained in:
Schubert Ferenc 2026-07-03 22:59:08 +02:00
parent 1d7e7c41c9
commit c35bd5877e
30 changed files with 534 additions and 61 deletions

17
scripts/restore.sh Executable file
View file

@ -0,0 +1,17 @@
#!/usr/bin/env sh
set -eu
if [ "${1:-}" = "" ]; then
echo "Usage: scripts/restore.sh <backup.tar.gz>" >&2
exit 1
fi
BACKUP_FILE="$1"
if [ ! -f "$BACKUP_FILE" ]; then
echo "Backup nicht gefunden: $BACKUP_FILE" >&2
exit 1
fi
tar -xzf "$BACKUP_FILE"
echo "Restore abgeschlossen: $BACKUP_FILE"