backups/config_example

35 lines
757 B
Text
Raw Permalink Normal View History

2025-01-09 16:16:08 +00:00
# Logging:
SERVER_NAME="Example Server"
# Credentials
S3_BUCKET="s3:s3.example.com"
AWS_ACCESS_KEY_ID="000000000000"
AWS_SECRET_ACCESS_KEY="00000000000000"
RESTIC_PASSWORD="Password"
# Backup Settings:
BACKUP_LIST="/etc/ /backups/ /home/ /root/"
BACKUP_EXCLUDE=(/home/bad_user/ /home/example_user/cache/)
MAX_SPEED_KILOBYTES_SECOND=2500
# Database Exports:
DATABASES=( database1 database2 )
# Retaining Backups:
# For GDPR, set monthly and yearly to 0, daily to 30.
HOURLY=48
DAILY=30
MONTHLY=12
YEARLY=5
# SMTP Settings:
ENABLE_EMAILS=0
SMTP_SERVER="smtp.example.com:587"
SMTP_USER="example@example.com"
SMTP_FROM="noreply@example.com"
SMTP_PASSWORD="password"
SMTP_RECIPIENT="example@example.com"
# Troubleshooting:
DEBUGGING=0
TEST_ERROR_HANDLING=0