infrastructure/roles/lvm_self_backup
saibotk 4dfd382a75
feat(lvm_self_backup): Add error service when systemd service fails
This is to be notified when the systemd service fails to e.g. unmount the partition.
2024-02-21 22:25:46 +01:00
..
defaults !fix(lvm_self_backup): Rename vars according to lint rule 2023-10-14 00:18:16 +02:00
handlers Use FQCN in all tasks 2022-08-13 17:50:54 +02:00
meta ansible-lint: Fix various new issues 2022-11-02 21:57:13 +01:00
tasks feat(lvm_self_backup): Add error service when systemd service fails 2024-02-21 22:25:46 +01:00
templates feat(lvm_self_backup): Add error service when systemd service fails 2024-02-21 22:25:46 +01:00
README.md Rename roles to underscore 2020-09-26 18:12:59 +02:00

lvm_self_backup

This will deploy a backup-lvm and backup-lvm-ls script to backup configured LVM volumes encrypted with GPG using duplicity and list the remote content for verification. A systemd timer is also deployed to schedule automatic backups daily at 4 AM.

Requirements

You will need to have docker installed or declared as a dependency with the respective role.

Role Variables

Please look at the defaults/main.yml for all available variables and their description.

Note: Lines that are commented out via # are usually still valid/used variables, but they are not defined by default, so they might enable a feature, when uncommenting/defining them!

Dependencies

  • docker

License

GPL-3.0-only