borg-backup.sh: add alert e-mail messages..

This commit is contained in:
2024-07-08 14:39:52 +02:00
parent 93c1310cfc
commit 47dc51b783
2 changed files with 122 additions and 34 deletions

View File

@ -139,7 +139,6 @@
#PSQL_SYSTEM_USER="postgres"
# DB_BACKUP_DIR
#
# Directory in which current database dumps are stored (and transferred to the repository)
@ -167,3 +166,37 @@
#
#BACKUP_DIRECTORIES="/etc /home /root /var/spool/cron"
# ---
# Alert Parameters
# ---
# ADMIN_EMAIL
#
# Send Informations about the backup prozess to this e-mail address
#
# Defaults to:
#
# ADMIN_EMAIL="root"
#
#ADMIN_EMAIL="root"
# FROM_ADDRESS
#
# Defaults to:
#
# "borg-backup@$(hostname -f)"
#
#FROM_ADDRESS=""
# COMPANY
#
# DEFAULTS to
# Defaults to:
#
# COMPANY="O.OPEN"
#
#COMPANY="O.OPEN"