Commit graph

58 commits

Author SHA1 Message Date
L3D
9673572abe
adding restic rest server to docs
See #118 

Signed-off-by: L3D <l3d@c3woc.de>
2024-02-26 20:42:07 +01:00
beechesII
14126768fd added new variable restic_backup_script_shell, to make shell to use for backup script configurable 2024-02-08 11:39:05 +01:00
L3D
4b5477dd70
Merge branch 'main' into pre_backup_cmd
Signed-off-by: L3D <l3d@c3woc.de>
2024-01-26 15:45:44 +01:00
Felix Andersen
d844d911b7 README update 2024-01-04 18:47:04 +00:00
Felix Andersen
09af54284a template change and README clarification 2024-01-04 17:52:05 +00:00
Flo
dc3991d19b
docs: fix command for role installation
Signed-off-by: Flo <3964000+FL337@users.noreply.github.com>
2023-11-30 17:41:56 +01:00
Ben
4740ebb5d3 Added option to run backup script immediately 2023-08-31 08:53:46 -04:00
Usman Iqbal
b2c597722f Add some more specific examples for remotes that are supported 2023-08-23 20:57:10 +01:00
Usman Iqbal
a291a09cce Add Azure Blob Storage support, based on restic documentation 2023-08-23 20:55:32 +01:00
jochen
f283f55288 Add option to limit maximum number of CPUs used. 2023-06-30 23:42:27 +02:00
L3D
ef008b3a52
increase to restic 1.15.1 2023-02-20 17:22:50 +01:00
L3D
604db7c8b1
merge 2022-11-06 21:09:40 +01:00
Christoph
e1a2e05193
README: fix repo name typo in backup example
change the repo name from 'remove' to 'remote' to match the name used in the 'restic_repos' configuration example above.
2022-10-06 12:55:36 +02:00
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