Files
compose-backup/bin/compose-restore
2025-07-20 12:47:48 +02:00

9 lines
339 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# Absoluter Pfad zum Skriptverzeichnis
SCRIPT_DIR="$HOME/scripts/compose-backup/src"
# Aktuelles Arbeitsverzeichnis behalten (z.B. ~/docker/portainer)
WORKDIR="$(pwd)"
# Venv aktivieren
source "$SCRIPT_DIR/.venv/bin/activate"
# Python-Skript aufrufen im aktuellen Arbeitsverzeichnis
python "$SCRIPT_DIR/src/restore.py" "$@"