Update: BorgBackup Scripter 1.2.0
Available on GitHub @ KnowledgeXFR/borgbackup-scripter
BorgBackup Scripter now supports selecting the type of email body format you would like sent. The options are:
- Plaintext
- HTML
- Plaintext and HTML
Updating
In addition to replacing the borgbackup-scripter.sh file, you will also need to update your repo file(s) to support the new EMAIL_BODY variable. Please see the examples below to understand what needs replaced in your repo file(s).
Previously
# ------------------------------------------------------------------------------
# Email Address
# ------------------------------------------------------------------------------
# Optional: Comment out if you do not want an email sent
# STDOUT will be used when EMAIL_ADDR is commented out
# ------------------------------------------------------------------------------
EMAIL_ADDR=name@example.com
Version 1.2.0
# ------------------------------------------------------------------------------
# Email Information
# ------------------------------------------------------------------------------
# Email body options:
# T = Plaintext (text/text)
# H = HTML (text/html)
# B = Plaintext and HTML (multipart/alternative)
# Optional: Comment out one or both of these if you do not want an email sent
# STDOUT will be used when one or both are commented out
# ------------------------------------------------------------------------------
EMAIL_ADDR=name@example.com
EMAIL_BODY=B