All checks were successful
Build and Push Docker Image / build (push) Successful in 49s
23 lines
599 B
Bash
23 lines
599 B
Bash
# Used by backup_scheduler.sh and web frontend
|
||
# Do not store sensitive credentials in world-readable locations unless necessary
|
||
|
||
# Timezone for scheduling backups (affects 3 AM backup)
|
||
TZ=America/Los_Angeles
|
||
|
||
# Directory to store backup SQL files
|
||
BACKUP_DIR=/backups/postgres
|
||
|
||
# Log file path
|
||
LOG_FILE=/config/log/pgbackup.log
|
||
|
||
# Number of retry attempts on failure
|
||
MAX_RETRIES=3
|
||
|
||
# Gotify notification configuration (optional)
|
||
GOTIFY_URL=http://gotify.example.com
|
||
GOTIFY_TOKEN=your_gotify_token_here
|
||
|
||
# Backup time (24-hour format) – defaults to 03:00 local time
|
||
BACKUP_HOUR=03
|
||
BACKUP_MINUTE=00
|