22 lines
628 B
Bash
22 lines
628 B
Bash
#!/usr/bin/env bash
|
|
#BORG_RSH="ssh -i /path/to/another/rsa_key/.ssh/backup-key"
|
|
BORGWRAPPER_BACKUP_NAME="backup-name"
|
|
BORGWRAPPER_BACKUP_REPOSITORY="ssh://user@remoteHost:Port/./"
|
|
BORGWRAPPER_BACKUP_FILES=(\
|
|
'/etc/' \
|
|
'$HOME/' \
|
|
)
|
|
BORGWRAPPER_BACKUP_ENCRYPTION="repokey-blake2"
|
|
BORGWRAPPER_BACKUP_PASSWORD="secretPassword"
|
|
BORGWRAPPER_BORG_CREATE_PARAMS="create -v -s -p --exclude-from /path/to/.borgwrapper.exclude"
|
|
BORGWRAPPER_BACKUP_LOG=true
|
|
BORGWRAPPER_BACKUP_NOTIFY_VIA_MAIL=true
|
|
BORGWRAPPER_BACKUP_NOTIFY_MAIL_ADDRESS="alias@domain.tld"
|
|
|
|
borgwrapper_pre_backup() {
|
|
return;
|
|
}
|
|
|
|
borgwrapper_post_backup() {
|
|
return;
|
|
}
|