Notifications by e-mail
The recipients and the SMTP server (host, port, STARTTLS / TLS / none, user, password, sender) are entered by the installer or on the admin page's Notifications page, and stored in admin.json. The page also sends a test e-mail.
E-mails are sent:
- for a failed backup (one per failed run) and the first success after it,
- for the daily check,
- by the auto-updater when it installed a new version or failed.
The SMTP password is only sent over TLS (a login with security none is refused) and never shown on the page or in a log. Without recipients nothing is sent.
Daily check
Once a day (the first time an hour after the service starts) the service asks GitHub about the token in use. A token GitHub refuses, or one that expires within two weeks, is e-mailed to the notification recipients every day it lasts, and one more e-mail says when it is fine again. Backups themselves report their own failures as they happen.
DAILY_CHECK=off turns the check off.
This page mirrors the World Backup to Git wiki on GitHub.