mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2024-11-19 19:07:42 +01:00
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 |