-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.conf
More file actions
36 lines (30 loc) · 1.42 KB
/
script.conf
File metadata and controls
36 lines (30 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh
# Configuration pour `script.bash`
# ==============================================================================
# URLS DE TÉLÉCHARGEMENT
# ==============================================================================
URL1="https://37.110.193.30:8888/test100.sql.zip"
URL2="https://downloads.mysql.com/docs/world-db.zip"
# ==============================================================================
# FICHIERS LOCAUX
# ==============================================================================
ZIP_FILE="db.zip"
SQL_FILE="test100.sql"
BACKUP_FILE="test100_backup.sql"
# ==============================================================================
# CONFIGURATION SFTP
# ==============================================================================
SFTP_USER="max"
SFTP_HOST="100.125.192.4"
SFTP_REMOTE_DIR="/home/max/partage_zip"
# ==============================================================================
# HISTORISATION
# ==============================================================================
# Activer l'historisation (conserver plusieurs versions sur le serveur distant)
HISTORISATION_ENABLED=true
# Durée de conservation (en jours) des archives sur le serveur distant
RETENTION_DAYS=30
# ==============================================================================
# CONFIGURATION EMAIL
# ==============================================================================
MAIL_TO="henrymaxime2004@gmail.com"