Contains launchd definitions, execution and validation wrapper scripts, produces loggable output, and notifies on failure. Work around Full Disk Access limitations on Catalina and Big Sur with go-bash-wrapper
- Install borgbackup and borgmatic via brew or pip and ensure executables are available in your search path.
- Optionally install terminal-notifier if you want desktop notification on error.
- Configure your borg repo if you have not already.
- Configure borgmatic to your liking.
- Ensure borgmatic executes successfully from command line.
- Copy .sh files into a directory in your PATH, such as ~/bin.
- Copy .plist files into ~/Library/LaunchAgents.
- Load ("install") launchd service with "launchctl load "
- Immediately execute service (to test) with "launchctl start "
Consider using the app, "LaunchControl" for easily reviewing and modifying launchd service configuration.