Actualiser backup.sh
CI / PHP Syntax Check (push) Has been cancelled
CI / JavaScript Lint (push) Has been cancelled
CI / Docker Build Test (push) Has been cancelled
CI / Validate Translation Files (push) Has been cancelled
CI / Auto-merge develop → main (push) Has been cancelled
CI / Create GitHub Release (push) Has been cancelled
CI / PHP Syntax Check (push) Has been cancelled
CI / JavaScript Lint (push) Has been cancelled
CI / Docker Build Test (push) Has been cancelled
CI / Validate Translation Files (push) Has been cancelled
CI / Auto-merge develop → main (push) Has been cancelled
CI / Create GitHub Release (push) Has been cancelled
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
# Retention follows BACKUP_RETENTION_DAYS from .env (default 3)
|
# Retention follows BACKUP_RETENTION_DAYS from .env (default 3)
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
INSTALL_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
INSTALL_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||||
BACKUP_DIR="${INSTALL_DIR}/data/backups"
|
BACKUP_DIR="${INSTALL_DIR}/data/backups"
|
||||||
ENV_FILE="${INSTALL_DIR}/.env"
|
ENV_FILE="${INSTALL_DIR}/.env"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user