infrastructure/roles/lvm_self_backup
saibotk b3153e2a5b
lvm_self_backup: Fix unmount issues
Somehow unmount fails if the mount is already unmounted, so we just ignore unmounts exit code
2024-02-07 23:32:26 +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 !fix(lvm_self_backup): Rename vars according to lint rule 2023-10-14 00:18:16 +02:00
templates lvm_self_backup: Fix unmount issues 2024-02-07 23:32:26 +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