This commit is contained in:
@@ -1,22 +1,8 @@
|
|||||||
# 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
|
TZ=America/Los_Angeles
|
||||||
|
|
||||||
# Directory to store backup SQL files
|
|
||||||
BACKUP_DIR=/backups/postgres
|
BACKUP_DIR=/backups/postgres
|
||||||
|
|
||||||
# Log file path
|
|
||||||
LOG_FILE=/config/log/pgbackup.log
|
LOG_FILE=/config/log/pgbackup.log
|
||||||
|
|
||||||
# Number of retry attempts on failure
|
|
||||||
MAX_RETRIES=3
|
MAX_RETRIES=3
|
||||||
|
|
||||||
# Gotify notification configuration (optional)
|
|
||||||
GOTIFY_URL=http://gotify.example.com
|
GOTIFY_URL=http://gotify.example.com
|
||||||
GOTIFY_TOKEN=your_gotify_token_here
|
GOTIFY_TOKEN=your_gotify_token_here
|
||||||
|
|
||||||
# Backup time (24-hour format) – defaults to 03:00 local time
|
|
||||||
BACKUP_HOUR=03
|
BACKUP_HOUR=03
|
||||||
BACKUP_MINUTE=00
|
BACKUP_MINUTE=00
|
||||||
|
|||||||
Reference in New Issue
Block a user