infrastructure/roles/lvm_self_backup
saibotk 9b389ae587
lvm_self_backup: Add backup retention
This implements backup retention.
Inspired by 6d238ab04308125a411c630f39319e86a23d3dce of https://git.shivering-isles.com/shivering-isles/infrastructure
2021-01-02 05:40:24 +01:00
..
defaults lvm_self_backup: Add backup retention 2021-01-02 05:40:24 +01: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 lvm_self_backup: Add backup retention 2021-01-02 05:40:24 +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