This commit is contained in:
Erreur32 2024-07-12 13:29:18 +02:00
parent 0949a440de
commit 85e47b76e6

View file

@ -50,16 +50,20 @@
# --help Display this help # --help Display this help
# Variables to edit (required) ################################
# Variables to Edit (required) #
################################
NGINX_IP="127.0.0.1" NGINX_IP="127.0.0.1"
# Existing nginx user # Existing nginx user
API_USER="user@nginx" API_USER="user@nginx"
API_PASS="pass nginx" API_PASS="pass nginx"
#################### #################################
# Edit (optionnal) # # Variables to Edit (optionnal) #
#################### #################################
BACKUP_DIR="./backups" BACKUP_DIR="./backups"
DATE=$(date +"%Y%m%d%H%M%S") DATE=$(date +"%Y%m%d%H%M%S")
BACKUP_FILE="$BACKUP_DIR/backup_${NGINX_IP//./_}_$DATE.json" BACKUP_FILE="$BACKUP_DIR/backup_${NGINX_IP//./_}_$DATE.json"