-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathborg-settings.sh-example
executable file
·20 lines (15 loc) · 1.57 KB
/
borg-settings.sh-example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export BORGBASE_REPO_ID="" # The borgbase repo ID
export SSH_ROOT="" # The SSH account to use
export BORG_REPO="$SSH_ROOT:{hostname}" # The borg repository (by default, use the hostname of the local machine)
export BORG_PASSPHRASE="" # The passphrase on the board repository
export BORG_REMOTE_PATH="" # Any path required to run borg on the remote machine
export DIRECTORIES=(/srv /var/backups/mysql /etc /root /var/lib/dpkg /usr/local/bin /usr/local/sbin) # List of directories to back up
export MAILNAME="" # Who to send the cron job email to
export MONITOR_THRESHOLD=18000 # Age of last backup before warning email sent by borg-monitor.sh
export HOURLY=24 # How many hourly backups to retain
export DAILY=7 # How many daily backups to retain
export WEEKLY=4 # How many weekly backups to retain
export MONTHLY=12 # How many monthly backups to retain
export RATELIMIT=0 # Upload rate limit in kBytes/sec
export HEALTHCHECKS_BASEURL="https://hc-ping.com" # Base URL for healthchecks 'pings'
export HEALTHCHECKS_ID="d15bf895-403d-4dca-8a19-024f02df2fdf" # ID of healthcheck to ping