9 lines
188 B
Bash
Executable file
9 lines
188 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
export MAILCOW_BACKUP_LOCATION="$1"
|
|
|
|
if [ "$2" != "before" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
/opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh backup all --delete-days 1
|