infrastructure/roles/lvm_self_backup
saibotk 22302117fa
lvm_self_backup: Adjust directory permissions
This patch reduces the permissions on the install directory to just the root user and also fixes the ansible-lint issue by specifying the `mode`.
2020-09-26 21:35:58 +02:00
..
defaults Rename roles to underscore 2020-09-26 18:12:59 +02:00
meta Rename roles to underscore 2020-09-26 18:12:59 +02:00
tasks lvm_self_backup: Adjust directory permissions 2020-09-26 21:35:58 +02:00
templates Rename roles to underscore 2020-09-26 18:12:59 +02: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