scripts/postgresql_backup/.env.dist

23 lines
427 B
Plaintext

# Backup path
BACKUP_PATH="/path/to/backup/directory"
# Compression levels
ZSTD_LEVEL=5
GZIP_LEVEL=7
# Servers configuration
# Add as many as needed
# Database 1 configuration
DB1_HOST="localhost"
DB1_PORT="5432"
DB1_USER="user1"
# "custom" for .dump or "sql" for SQL compressed with Gzip
DB1_DUMP_FORMAT="custom"
# Database 2 configuration
#DB2_HOST="remote_host"
#DB2_PORT="5432"
#DB2_USER="user2"
#DB2_DUMP_FORMAT="sql"