Add psqlconfig.env
This commit is contained in:
commit
f747843f5b
38
psqlconfig.env
Normal file
38
psqlconfig.env
Normal file
@ -0,0 +1,38 @@
|
||||
# Parametri Per Script Backup Databases Postgres SQL Server
|
||||
# Autore: Mattia Tadini
|
||||
# Nome File: psqlconfig.env
|
||||
# Revisione: 1.0
|
||||
|
||||
# POSTGRES Server Configuration
|
||||
USER="postgres"
|
||||
PASSWORD="postgres"
|
||||
HOST="localhost"
|
||||
BACKUP_DIR="/zucchetti/backupdb/bkfiles"
|
||||
PGDUMP="pg_dump"
|
||||
PSQL="psql"
|
||||
PORT="5432"
|
||||
SERVER_NAME="PSQL14" # Identificativo del server fisico
|
||||
COMPRESSION_LEVEL=9 # Livello di compressione (1-9)
|
||||
|
||||
# Retention Configuration
|
||||
RETENTION=1 # Retention per i backup locali in giorni
|
||||
REMOTE_RETENTION=2 # Retention per i backup remoti in giorni
|
||||
|
||||
# Log Configuration
|
||||
LOG_FILE="/zucchetti/backupdb/backup_log.txt"
|
||||
ERROR_LOG_FILE="/zucchetti/backupdb/backup_err.txt"
|
||||
|
||||
# FTP Configuration
|
||||
FTP_SERVER="terni.poloinformatico.it"
|
||||
FTP_USER="backupmssqldb"
|
||||
FTP_PASSWORD="!Li'D/i%2&*QkvK!"
|
||||
REMOTE_DIR="/BackupDB"
|
||||
|
||||
# SMTP Configuration
|
||||
SMTP_SERVER="smtp://relay.poloinformatico.it:587"
|
||||
SMTP_USER="brass@relay.poloinformatico.it"
|
||||
SMTP_PASS="DMKqP9vUYn8s"
|
||||
|
||||
# Modalità Backup
|
||||
DO_LOCAL_BACKUP=1 # 1 per eseguire il backup locale, 0 per disabilitarlo
|
||||
DO_FTP_BACKUP=1 # 1 per eseguire il backup FTP, 0 per disabilitarlo
|
||||
Loading…
Reference in New Issue
Block a user