From 06961c72b50ee4a2ae1b11b6c0aa63566bf18b6f Mon Sep 17 00:00:00 2001 From: skobkin Date: Wed, 6 Nov 2024 18:45:55 +0000 Subject: [PATCH] .env.dist update --- postgresql_backup/.env.dist | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/postgresql_backup/.env.dist b/postgresql_backup/.env.dist index 351d4a6..5a76b30 100644 --- a/postgresql_backup/.env.dist +++ b/postgresql_backup/.env.dist @@ -1,6 +1,19 @@ -# Database configuration -HOST="localhost" -PORT="5432" -USER="your_postgres_user" +# Backup path BACKUP_PATH="/path/to/backup/directory" -DUMP_FORMAT="custom" # Use "custom" for .dump or "sql" for SQL compressed with Gzip \ No newline at end of file + +# Servers configuration +# Add as many as needed + +# Database 1 configuration +DB1_HOST="localhost" +DB1_PORT="5432" +DB1_USER="user1" +DB1_NAME="database1" +DB1_DUMP_FORMAT="custom" # "custom" for .dump or "sql" for SQL compressed with Gzip + +# Database 2 configuration +#DB2_HOST="remote_host" +#DB2_PORT="5432" +#DB2_USER="user2" +#DB2_NAME="database2" +#DB2_DUMP_FORMAT="sql"