infrastructure/roles/lvm_self_backup
saibotk 524bfe4fd4
lvm_self_backup: Increase timeout and show progress information
This sets the timeout to 20h, because full backups usually take longer and also enabled progress logs, to see if the job is actually still doing something.
2021-10-06 00:00:30 +02:00
..
defaults automation: Update backup-duplicity Docker tag to v0.8.20 2021-06-30 18:07:12 +00:00
meta Rename roles to underscore 2020-09-26 18:12:59 +02:00
tasks Fix yamllint issues 2021-03-05 13:02:55 +01:00
templates lvm_self_backup: Increase timeout and show progress information 2021-10-06 00:00:30 +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