Borg Cron Helper Versions Save

Helper shell scripts for BorgBackup to automate backups and make your life easier… 😉

1.1.0

6 years ago

The most obvious new feature is this: GNOME desktop notification: BorgBackup "example-backup" – BorgBackup has been successful

You now get notifications for your backups, so using this helper on desktops is finally fun!

But that's not the whole UI integration added using the small tool zenity. You can configure it to:

  • Ask for the passphrase interactively
  • Ask user before retrying backup
  • Work even if the user is root and you want to get notifications to a less privileged user (needs some system integration, see setup guide)
  • more information in the Readme

Under the hood, we, however, also improved the reliability and code quality. We now use 30 unit test to satisfy that the code quality stays high. It actually helped to find some issues with some edge cases (using zsh as a shell or an old borg version). Additionally exit codes are now properly handled. This allows integration of this script in many (automation) systems.

Of course, the script also supports the upcoming version of borg v1.1.0.

Breaking changes:

  • Exit codes are now properly done, i.e. when something fails you will get 1, 2, etc.
  • Introduced $PRUNE_PREFIX as a config value. It is required for pruning from now on.

1.0.1

6 years ago

Note: I have updated my expired pgp key. The fingerprint stayed the same, but you may need to update it.

1.0

6 years ago