Manu
97160c1d82
Update test badge
2021-08-05 12:03:16 +04:00
Lammert Hellinga
b52efea18e
Add if around exclude options to prevent yaml error. By @Kogelvis ( #72 )
2021-08-05 12:00:42 +04:00
Manu
cce04c3648
Use borgmatic_config_name for normal-sized cron job. Fixes #69 ( #70 )
2021-06-22 10:36:26 +04:00
Luc Stroobant
b99de011fc
Install borgmatic in virtualenv. By @stroobl. Fixes #60 ( #68 )
2021-06-21 21:58:51 +04:00
savoiringfaire
995c866c22
Don't specify full path in cron ( #67 )
2021-06-21 21:38:55 +04:00
Kevin
c94da43a80
Fix BorgBase repository creation ( #66 )
2021-05-09 09:27:34 +08:00
Manu
3bd0b3d497
Add Manjaro support (by @verbumfeit), CI fixes. ( #65 )
...
Co-authored-by: verbumfeit <verbumfeit@tuta.io>
2021-04-20 14:53:35 +08:00
tabic
7925d31198
Fix role badge. By @tabic ( #63 )
2021-03-25 22:42:26 +08:00
Manu
aa5f2d5d8d
Prettier default archive timestamps ( #61 )
2021-02-18 23:58:24 +08:00
Manu
bebe44d080
Rebased: cron name setable by @debauer ( #59 )
...
See #51
2021-02-17 10:16:34 +08:00
Luc Stroobant
a10b655e89
Quote exclude patterns correctly. By @stroobl ( #56 )
2021-01-17 13:31:46 +08:00
jobroe
a241c9378a
Allow to update borgbase repositories. By @stroobl ( #53 )
2021-01-15 18:55:05 +08:00
Manu
f6a01fc7f3
Leave enough time between backup and monthly check.
2021-01-15 09:30:53 +08:00
Luc Stroobant
9193c18128
Use inventory_hostname as random seed to keep same Cron time. By @stroobl ( #54 )
2021-01-12 09:58:47 +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
Juan Orti Alcaine
e29c4df98c
Update packages installed in Fedora ( #48 )
...
Remove Fedora 31 as it's EOL and use the borgbackup, borgmatic and
cython packages from Fedora's repositories.
2020-12-07 19:52:40 +08:00
K
613b565716
Add optional argument: remote_rate_limit. By @kenayagi ( #47 )
2020-12-02 19:56:50 +08:00
Samyak Jain
3e87b539d2
Removed duplicate variable in Readme. By @samyak-jain ( #45 )
2020-11-30 08:07:14 +08:00
Tom Wolfskämpf
30981f3d59
Prevent borgmatic_cron_checks_day from becoming 0. By @wolfskaempf ( #44 )
...
borgmatic_cron_checks_day could become 0 in the previous configuration, causing cron to reject the /etc/cron.d/borgmatic vile
2020-11-30 08:06:04 +08:00
Dick Visser
5c67c0d935
Install packages in one step. By @dnmvisser ( #43 )
2020-11-27 07:46:55 +08:00
Renaud Martinet
47e5cf41b4
Fix default config name in README. By @karouf ( #42 )
...
See default value here: https://github.com/borgbase/ansible-role-borgbackup/blob/master/defaults/main.yml#L4
2020-11-23 11:56:26 +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
Jonas
54c270acdc
Update package list for Fedora 32 ( #39 )
...
* Add specific package lists for Fedora.
The python packages have been renamed in Fedora 32 (python3-* -> python-*).
To further support Fedora 31, the RedHat vars have been copied for this case.
* Enable molecule tests for Fedora.
2020-09-22 18:32:44 +08:00
Gonéri Le Bouder
e8b992fc1d
enable EPEL only on RHEL and CentOS ( #37 )
...
Fedora has `ansible_os_family==RedHat`, but it does not use EPEL.
2020-07-21 17:21:00 +08:00
em0lar
51e89d6e24
Make cron fully times configureable. By @em0lar
2020-07-15 11:40:38 +08:00
Manu
10521fe838
Use Github actions for testing. ( #35 )
...
* Move linting to CI file, change badge.
2020-03-09 13:23:13 +08:00
Manu
12e8bca74c
Limit checks to repository data.
2020-02-25 23:39:54 +08:00
Manu
0bcece6447
Update Molecule file conventions to v3.
2020-02-25 22:08:29 +08:00
Manu
615f261a3d
Update Molecure lint config for v3.
2020-02-25 19:56:13 +08:00
Manu
b97d42e71c
Make less frequent checking the default and correctly run check only. ( #30 )
2020-02-18 16:10:02 +08:00
Manu
e5738e9114
CentOS 8 support ( #29 )
...
* Load vars and tasks by OS family instaed of package manager. Fix Dockerfile for CentOS 8.
* Config for CentOS 8 and others
* Make monthly repo checking the default
2020-02-18 14:35:20 +08:00
Manu
f66105f94b
Re-arrange and expand readme ( #28 )
2020-02-18 12:47:24 +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
Konstantin Gizdov
65d2953262
add missing python wheel package needed in CentOS 7 ( #23 )
2020-02-08 20:48:31 +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
Manu
0fd01bc13f
Install Cypthon before before borg. Fixes #19
2019-10-19 18:13:30 +08:00
Philipp Rintz
f9e1fa9161
Auto-creation of Borgbase.com repositories ( #7 )
2019-09-23 18:30:22 +02:00
Manuel Riel
38fa7915a0
Merge pull request #11 from ONE400/retention_policy_config
...
Added retention policy settings to config
2019-07-25 20:05:00 +08: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
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
Manuel Riel
880ec5b617
Update README.md
2018-12-16 16:57:43 +08:00