Commit Graph

21 Commits

Author SHA1 Message Date
madhermit
2d8d666633
Update: made the lock_wait optional argument configurable (#24) 2020-02-17 20:41:12 +08:00
Marien Fressinaud
85211377b6
Add a ssh_key_file optional argument (#21)
I already had an existing SSH key, with a different name. I wanted to be
able to use this one instead of creating another key, potentially used
for another server.
2020-01-29 15:29:33 +08:00
Marien Fressinaud
fddfbbdc0b Allow to specify borg remote-path argument (#20)
I'm using a server where both Borg 0.x and 1.x are installed. The `borg`
command use the version 0.x but I need the version 1.x. This option
allows me to override the borg remote path with `borg1`.
2020-01-15 07:59:22 +08:00
madhermit
c1fd4e5c80 Added before and after Borgmatic hooks for errors (#10)
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!"
2019-10-24 13:07:37 +08:00
madhermit
0fcbef29a9 Allow per-app configurations (#9)
This PR allows for multiple per application borgmatic configurations as per this article: https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/
2019-10-24 13:05:19 +08:00
Philipp Rintz
f9e1fa9161 Auto-creation of Borgbase.com repositories (#7) 2019-09-23 18:30:22 +02:00
Hunter
bf7df0a181 Update: added retention policy settings to config 2019-07-19 21:52:28 +00:00
Manu
e809ec597d Add support for RPM-based distros (CentOS, RHEL, Fedora) 2019-05-27 18:12:13 +08:00
Manu
e30ce279c4 Improve Borgmatic cron-job names. 2019-05-15 12:44:10 +08:00
Manu
6787e98f08 Add option to check large repos only on Sunday. 2019-05-01 10:39:07 +08:00
Manuel Riel
880ec5b617
Update README.md 2018-12-16 16:57:43 +08:00
Manuel Riel
ae36f200d3
Update README.md 2018-12-16 16:57:17 +08:00
Manu
ecc4ccce78
Update README.md 2018-10-29 11:52:47 +08:00
Manu
c751beec80
Update README.md 2018-10-29 11:52:03 +08:00
Manu
78c7d3a99b Add 4 new config options. (#2) 2018-10-29 11:50:18 +08:00
Manu
667897daad Allow flexible name for Borgmatic config file. (#1) 2018-10-29 11:27:25 +08:00
Manu
0aad2dde68 Expand desc. 2018-10-12 14:19:01 +08:00
Manu
a1b97c42a8 Expand desc. 2018-10-12 14:16:28 +08:00
Manu
a7e8fbfb5e Add meta-folder for Ansible Galaxy. 2018-10-12 14:10:42 +08:00
Manu
252ccea891
Update README.md 2018-10-07 01:15:14 +08:00
Manu
fecacf36d9 initial commit 2018-10-06 20:04:20 +08:00