Ben
4740ebb5d3
Added option to run backup script immediately
2023-08-31 08:53:46 -04:00
Usman Iqbal
a291a09cce
Add Azure Blob Storage support, based on restic documentation
2023-08-23 20:55:32 +01:00
Jeremy Hettenhouser
ba17cc6657
Update delete_legacy_cron_entry.yml
...
Fixed (SCHEDULE) (OLD) check tainting the play recap as well as the assumption that cron_delete.failed will be defined.
Signed-off-by: Jeremy Hettenhouser <jhettenh@gmail.com>
2023-03-21 20:18:23 -04:00
Jeremy Hettenhouser
c62e2a4027
Update delete_legacy_cron_entry.yml
...
ignore_errors:true on the old version test. While the failure will not halt execution, it will color the summary output red for every host which executes the restic role even if most of them are set to use systemd
Signed-off-by: Jeremy Hettenhouser <jhettenh@gmail.com>
2023-03-21 19:39:40 -04:00
Sergey Shipilov
af1f6dcc35
fix path and configure
2023-02-25 20:29:44 +01:00
Varac
6bed15cfcd
Properly respect restic_do_not_cleanup_cron
2022-11-29 10:12:11 +01:00
Thibault Soubiran
ce8ab66454
Fix preperation typo
2022-11-05 21:51:25 +01:00
e3732c72c3
update linting
2022-10-06 14:52:27 +02:00
acef0d2dbc
change ansible to use FQCN and lowercase restic_systemd_timer_default_OnCalendar
2022-04-01 11:07:52 +02:00
5607345762
delete cronjobs when they should be deleted
2022-01-18 18:01:39 +01:00
390c780b24
Skip linting for selected tasks
2022-01-10 14:31:25 +01:00
75e78c5876
Adding task name prefix to task
2022-01-10 14:19:53 +01:00
9b8962cc5f
in case of systemd timers are used, remove possible installed cronjobs
2022-01-10 12:05:14 +01:00
770598ffca
rename some tasks
2022-01-07 20:13:57 +01:00
25ee60fb5a
start making this role compatible with ansible 5
2022-01-07 20:13:43 +01:00
b0c24fed30
add missing sudo permissions
2021-10-13 23:35:37 +02:00
67294c1489
improve restic self-update handling
2021-08-03 23:16:34 +02:00
d238ef67d2
Review changes and fix some issues
2021-08-02 14:13:30 +02:00
e0f3f5c87c
improve scheduling of backups via cron or timers
...
improves the handling and differentiation of cronjobs and systemd timers.
Rename the ``restic_create_cron`` variable to``restic_create_schedule``.
Now new: ``restic_schedule_type: "systemd"``.
RESOLVE #22
2021-08-02 01:09:02 +02:00
1870c78534
restart restic timer if something changed
2021-07-07 11:20:37 +02:00
94aae0e3b9
improve error message
2021-07-05 16:18:46 +02:00
f385bfcb73
Start improving systemd
2021-06-15 19:48:23 +02:00
ff80731b11
simplify versionscheck
2021-05-08 23:37:29 +02:00
b9406d0185
using cronjob as fallback
2021-04-29 16:33:31 +02:00
0a3637f1d4
update restic systemd init
2021-04-29 15:13:19 +02:00
93b9de9826
implement systemd timer
2021-04-29 14:58:12 +02:00
372c7ce57b
add basic versionscheck and split role into better parts
2021-04-29 13:48:02 +02:00
e297345a34
change how to ged os specific vars
2021-03-23 16:16:20 +01:00
Matthias Leutenegger
790dae3ef4
change: backups can be defined as dicts ( #28 )
...
* convert
* use loop
* clean
* combine
* change: reformat dict
* fix
* fix2
* update readme
2020-11-13 10:01:05 +01:00
Luca Zorzi
dabf0420d7
fix: error when trying to re-initialize b2 repository ( #22 )
...
* Fixed error when trying to re-initialize b2 repository
* Added changelog entry
2020-11-12 18:42:56 +01:00
Luca Zorzi
308b068f20
Added support for Backblaze B2 ( #18 )
...
authored-by: Luca Zorzi <luca@lucazorzi.net>
2020-09-08 10:17:46 +02:00
Matthias Leutenegger
921f4197f8
ADD: Check that restic has been installed ( #16 )
...
* ADD: Check that restic has been installed
* FIX: lint
* Update CHANGELOG.md
* FIX: multiline
2020-08-30 22:04:11 +02:00
Matthias Leutenegger
bcca20727f
FIX: lint
2020-06-02 19:47:37 +02:00
Matthias Leutenegger
8a0a4d91c4
FIX: region
2020-06-02 19:45:52 +02:00
Matthias Leutenegger
f500327f59
FIX: init
2020-06-02 15:58:43 +02:00
Matthias Leutenegger
9260b88a97
Update Linux.yml
2020-06-02 14:09:43 +02:00
Matthias Leutenegger
05b1758e82
Update configure.yml
2020-06-02 14:00:05 +02:00
Matthias Leutenegger
145f424846
Update configure.yml
2020-06-02 13:56:37 +02:00
Dick Visser
c7a404b61c
fix crontab entries
2020-04-06 15:33:07 +02:00
Matthias Leutenegger
fa2404cbb2
Credential files are ctually created
2019-09-11 11:32:07 +02:00
Matthias Leutenegger
24bfc275d0
add restic_url
to defaults
2019-08-17 09:25:37 +02:00
Matthias Leutenegger
ac0e1509ce
Adds nolog
2019-08-15 14:52:43 +02:00
Matthias Leutenegger
6257b6ae1c
lint
2019-08-15 14:51:42 +02:00
Matthias Leutenegger
3d89fa80c6
adds cronjobs for Linux, closes #3
2019-08-15 14:47:55 +02:00
Matthias Leutenegger
06b7ab9b36
restructure
2019-08-15 13:07:53 +02:00
Matthias Leutenegger
d1c5da9f31
do not compare to literal True/False
2019-08-15 10:00:45 +02:00
Matthias Leutenegger
1f12e41b86
do not compare empty string
2019-08-15 09:59:53 +02:00
Matthias Leutenegger
9f9ce6ca61
fixed line lengths
2019-08-15 08:36:57 +02:00
Matthias Leutenegger
2aa5a9df6f
fixed tabs
2019-08-14 17:02:16 +02:00
Matthias Leutenegger
5ba0cd16f4
fixed some linting problems
2019-08-14 16:59:32 +02:00