c1fd4e5c80
This allows you to use this role to run a number of scripts/commands before and after backup using the hooks provided by borgmatic. See https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/#preparation-and-cleanup-hooks You can specify multiple commands like so: borgmatic_before_backup_command: - dump-a-database /to/file.sql - echo "`date` - Backup hook doing work!" |
||
---|---|---|
.. | ||
main.yml |