Files
backupbot/backupbot.env

24 lines
645 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# === BackupBot Environment Configuration ===
# 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