diff --git a/scripts/server_backup.sh b/scripts/server_backup.sh index 9c6b2cf..f2f7c8e 100644 --- a/scripts/server_backup.sh +++ b/scripts/server_backup.sh @@ -14,7 +14,7 @@ crontab -r # Backup the specified folder echo "Backing up folder: $BACKUP_FOLDER" -TIMESTAMP=$(date +"%Y%m%d_%H%M%S") +TIMESTAMP=$(date +"%Y-%m-%d-%H%M%S") BACKUP_FILE="$BACKUP_DESTINATION/sdtdserver-$TIMESTAMP.tar.gz" tar -czvf $BACKUP_FILE $BACKUP_FOLDER