Commit Graph

23 Commits

Author SHA1 Message Date
Konstantin Gizdov
0b8bda212c fix inconsistent logic 2021-07-12 11:56:27 +03:00
Konstantin Gizdov
c6bacae87e enable configuration of archive name format, prune and check prefixes as per borgmatic docs 2021-07-12 11:56:27 +03:00
Konstantin Gizdov
2b5a5aea46 allow configuring of archive format 2021-07-12 11:56:21 +03:00
Manu
aa5f2d5d8d
Prettier default archive timestamps (#61) 2021-02-18 23:58:24 +08:00
Luc Stroobant
a10b655e89
Quote exclude patterns correctly. By @stroobl (#56) 2021-01-17 13:31:46 +08:00
K
e9caa74560
Add options for consistency checks and storage. By @kenayagi (#50)
* borg_remote_rate_limit config
* borg_remote_rate_limit optional argument
* Set default rate_limit to 0 (unlimited)
* additional options for checks and storage
2020-12-24 08:23:33 +08:00
K
613b565716
Add optional argument: remote_rate_limit. By @kenayagi (#47) 2020-12-02 19:56:50 +08:00
Philipp Rintz
ee6f93f71b
Support for multiple repositories. By @p-rintz (#41) 2020-11-18 11:41:57 +08:00
Lukas Leitsch
0a490a3a6f
Add hooks variable to config template. By @lukasleitsch (#40) 2020-11-03 16:43:33 +08:00
Manu
12e8bca74c Limit checks to repository data. 2020-02-25 23:39:54 +08:00
Manu
5c883a734b
Add testing with Molecule/Ansible-lint, undo #9 (#26)
* Add testing with Molecule/Ansible-lint and fix linting errors
* Undo PR #9 for now (sorry)
2020-02-18 00:21:21 +08:00
madhermit
2d8d666633
Update: made the lock_wait optional argument configurable (#24) 2020-02-17 20:41:12 +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
Hunter
bf7df0a181 Update: added retention policy settings to config 2019-07-19 21:52:28 +00: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
Manu
2d1c5c5300 Merge branch 'master' of https://github.com/borgbase/ansible-role-borgbackup 2019-02-28 18:40:31 +08:00
Manu
3e78fd069d Ensure setuptools is updated, avoid updating too many packages. 2019-02-28 18:40:24 +08:00
Varac
349b41c9b2
Fix ssh_command in config.yaml template 2018-11-19 22:35:40 +01:00
Manu
78c7d3a99b Add 4 new config options. (#2) 2018-10-29 11:50:18 +08:00
Manu
fecacf36d9 initial commit 2018-10-06 20:04:20 +08:00