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"