Commit graph

45 commits

Author SHA1 Message Date
Varac
fd854570cf
Fix exclude-caches directive
It's called --exclude-caches, not --exclude-cache
see https://restic.readthedocs.io/en/latest/040_backup.html#excluding-files
2022-09-12 09:16:24 +02:00
Sebastian Gumprich
9f710b8a0f add a monitoring call possibility 2022-07-12 21:25:34 +02:00
L3D
1121ff2511
improve README
thanks to  @warwick-lill for the hint
CLOSE https://github.com/roles-ansible/ansible_role_restic/issues/64
2022-04-01 11:00:22 +02:00
L3D
d30e30fcae
optional cache directory 2022-01-18 17:20:02 +01:00
L3D
d072148312
explain restic_do_not_cleanup_cron variable 2022-01-10 14:25:50 +01:00
Christoph
097a0c64c4 Update Backup Variables and Example in README.md
* update variables - `src` is only mandatory unless `stdin` is used as backup source
* add `pg_dump` as an example for a backup job with a `stdin` source and `stdin_command`
2021-10-26 16:36:13 +02:00
Sebastian Gumprich
a0c52127d5 add option to log to journald 2021-10-19 16:38:17 +02:00
L3D
67294c1489
improve restic self-update handling 2021-08-03 23:16:34 +02:00
L3D
1b6c55473c
New restic version 0.12.1
Restic release [0.12.1](https://github.com/restic/restic/releases/tag/v0.12.1) is available \o/
2021-08-03 22:04:20 +02:00
L3D
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
L3D
94aae0e3b9
improve error message 2021-07-05 16:18:46 +02:00
L3D
9b8d0fe599
adding mail on error feature 2021-07-05 14:51:27 +02:00
L3D
f385bfcb73
Start improving systemd 2021-06-15 19:48:23 +02:00
L3D
41e2a4d355
Fix wrong vars in README 2021-04-29 23:07:44 +02:00
L3D
ecf2b1ac9f
modernize README and increment version to 0.12 2021-04-29 23:05:08 +02:00
L3D
0aeeb9434e
Change license link in README and change Author
The License link in the README is not reachable. So I added a MIT License to the Repo itself, changed the Link and added the Copyright Persons specified in the README.

I also updated the Author to be myself in the Galaxy meta file.
2021-03-23 16:22:10 +01:00
Luca Zorzi
7cd26ca0f4
add: support for basic logging of backup result (#21)
* Added support for basic logging of backup result

* Added changelog entry

* Added full output logging

* Changed logging date format to include the time as well as the date

* Fixed error on backup script creation if enable_logging was not specified for a backup job

* Improved backup script by removing duplicate code

* Added variable restic_log_dir to the readme
2020-12-13 16:53:24 +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
Matthias Leutenegger
649f6aae0c
change: bump default restic version to 0.11.0 (#27)
* change: update default restic version

* add: test the backups to run
2020-11-12 23:00:23 +01:00
Matthias Leutenegger
5d1b9dc53c
add: github workflows (#25)
* add: galaxy action

* fix var name

* run galaxy on very commit

* add: molecule action

* add: matrix

* remove travis

* add editor config

* beautify

* add linter

* ansible dir

* add: tests

* package ecosystem

* fix filename

* fix
2020-11-12 16:12:04 +01:00
Andreas Wagner
dcc357c6fa
add example for backup syntax (#24)
Co-authored-by: whysthatso <whysthatso@gmx.de>
2020-11-12 14:40:15 +01:00
L3D
95861d54d6
Change default restic version to 0.10.0 (#20)
https://github.com/restic/restic/releases/tag/v0.10.0
2020-10-02 16:12:44 +02: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
977ed115fb FIX: link 2020-06-05 09:04:03 +02:00
Matthias Leutenegger
ea143592b9 ADD: exclude option 2020-06-05 09:01:36 +02:00
alt4
7a58f17857
Add aws_default_region to README 2020-05-25 01:37:40 +02:00
Matthias Leutenegger
273fe0d22c CHANGE Update restic 2020-04-07 09:32:16 +02:00
Matthias Leutenegger
8b0c016e7d ADD: S3 compatibility 2019-12-17 14:19:25 +01:00
Matthias Leutenegger
a70b578320 add dl count 2019-09-11 16:27:17 +02:00
Matthias Leutenegger
6fd05902e2 add prune option 2019-09-11 16:06:18 +02:00
Matthias Leutenegger
0053f18814 add credential file 2019-09-11 11:31:51 +02:00
Matthias Leutenegger
d97bbf8fce some fixing of the tag keeping 2019-09-11 11:29:36 +02:00
Matthias Leutenegger
8225a86c0b update 2019-08-15 15:46:31 +02:00
Matthias Leutenegger
3d89fa80c6 adds cronjobs for Linux, closes #3 2019-08-15 14:47:55 +02:00
Matthias Leutenegger
e5511b7b97 adds installation command 2019-08-15 14:26:25 +02:00
Matthias Leutenegger
1f12e41b86 do not compare empty string 2019-08-15 09:59:53 +02:00
Matthias Leutenegger
8780e47d80 added alpha info on readme 2019-08-14 16:49:48 +02:00
Matthias Leutenegger
5d2865ea28 correct naming 2019-08-14 16:33:52 +02:00
Matthias Leutenegger
5410061337 better describe automatic snapshot creation 2019-08-14 16:29:27 +02:00
Matthias Leutenegger
6721b67d46 Adds backup script to execute manual Backup 2019-08-14 16:00:22 +02:00
Matthias Leutenegger
11e050f9af adds init 2019-08-13 13:32:28 +02:00
Matthias Leutenegger
224910ff27 added new defaults 2019-08-13 13:28:31 +02:00
Matthias Leutenegger
58f87376b8 mention original role 2019-08-13 11:27:13 +02:00
Matthias Leutenegger
8a64f98a48 fix tables 2019-08-12 17:14:33 +02:00
Matthias Leutenegger
83ffd1e903 first commit 2019-08-12 17:08:26 +02:00