11 lines
244 B
Bash
11 lines
244 B
Bash
#!/usr/bin/env bash
|
|
set -Eeuo pipefail
|
|
|
|
if systemctl is-active --quiet raspiBackup.service; then
|
|
echo "FEHLER: raspiBackup läuft noch"
|
|
exit 1
|
|
fi
|
|
|
|
BACKUP_ORCHESTRATOR_CUTOVER_APPROVED=YES \
|
|
/usr/local/sbin/backup-orchestrator --run
|