-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbackup.env.example
More file actions
17 lines (17 loc) · 805 Bytes
/
Copy pathbackup.env.example
File metadata and controls
17 lines (17 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copy to /opt/erpnext_docker_scripts/.configs/backup.env on the prod host.
# Overrides for scripts/erpnext-s3-backup.sh. All values are optional; the
# defaults below match the current setup.
RCLONE_REMOTE=s3backup
S3_BUCKET=backup-erp-adomio-com
S3_PREFIX=db
# Include public + private attachment tarballs (streamed straight to S3).
BACKUP_FILES=1
# Retention is handled by an S3 lifecycle rule (write-only IAM user). Only set
# ENABLE_S3_PRUNE=1 if the user is granted s3:DeleteObject.
ENABLE_S3_PRUNE=0
RETENTION_DAYS=30
# Failure alerting (erpnext-backup-alert@.service). Both optional:
# ALERT_WEBHOOK POST a JSON {"text": "..."} here on failure (Slack/Discord/etc.)
# ALERT_EMAIL mail the failure + log tail here (needs a working MTA on host)
ALERT_WEBHOOK=
ALERT_EMAIL=mitgravur@gmail.com