-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy path.conf
23 lines (19 loc) · 834 Bytes
/
.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# _ _ _____
# _ __ __ _ __| |_ _ _ __ ___ _ __ | |_ ___ ___|___ /
# | '_ \ / _` | / _` | | | | '_ ` _ \| '_ \ _____| __/ _ \ _____/ __| |_ \
# | |_) | (_| | | (_| | |_| | | | | | | |_) |_____| || (_) |_____\__ \___) |
# | .__/ \__, |___\__,_|\__,_|_| |_| |_| .__/ \__\___/ |___/____/
# |_| |___/_____| |_|
#
# Project at https://github.com/gabfl/pg_dump-to-s3
#
# Postgres credentials
PG_HOST="127.0.0.1"
PG_USER="postgres"
PG_PORT=5432
# List of databases to backup (comma separated)
PG_DATABASES="database1,database2,database3"
# Bucket and path within S3
S3_PATH="my_bucket/my_directory"
# Number of days until the backups are deleted from S3
DELETE_AFTER="7 days"