Scripts: BorgBackup Scripter
Available on GitHub @ KnowledgeXFR/borgbackup-scripter
I created a shell script that eases the process of backing up your data via BorgBackup. A single installation can be used to support multiple repositories, both local and remote.
This script supports the create and prune commands. All other BorgBackup commands (like init) must be performed manually. Please see the official Borg Documentation for more information on these other BorgBackup commands.
Benefits
BorgBackup Scripter supports configurations for multiple repositories. Each repository supports:
- Local and remote repositories
- Settings via a configuration file (no need to learn and type out arguments), including:
- Caffeinate command (macOS)
- Custom archive date format
- Compression algorithm
- Prune settings (optional)
- Bash scripts ran before and after the archive creation process (optional)
- An exclusion list (optional)
- Email (HTML and plaintext) with details of the run sent after completion (optional)
Getting Started
Technical details, including installation and usage, can be found on the GitHub repository.