Add optional desktop notifications

When backing up a desktop system it is handy to have regular and
immediate feedback about backups. This features a notification of backup
stats summary, including the added size to the repository, so you can
have a quick follow-up about what are you uploading to the repository.

This may be very useful if you upload by accident a big file or directory
which should be in your exclusions, so it warns you and gives the chance
to fix the exclusions and remove the undesired snapshot later.
This commit is contained in:
Gerard Bosch
2022-02-09 18:19:48 +01:00
parent 03d9399686
commit 3f000ce137
2 changed files with 37 additions and 2 deletions

View File

@@ -29,3 +29,8 @@ export RESTIC_BACKUP_EXTRA_ARGS=
# Verbosity level from 0-3. 0 means no --verbose.
# Override this value in a profile if needed.
export RESTIC_VERBOSITY_LEVEL=0
# (optional) Desktop notifications
export RESTIC_NOTIFY_BACKUP_STATS="false"
export RESTIC_BACKUP_NOTIFICATION_FILE=""