Commit graph

6 commits

Author SHA1 Message Date
43535443c2
fix(backup-lvm): ExecStopPost command using bash syntax
This cannot be used in a systemd exec command. Ooopsie
2024-02-21 22:12:19 +01:00
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
824af595f2
!fix(lvm_self_backup): Rename vars according to lint rule 2023-10-14 00:18:16 +02:00
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
d6f99396c3
lvm_self_backup: Add timeout and mount/umount tasks to systemd service
This patch adds a timeout to notice a failure, when the container hangs and does not do anything. This happened already and with moving the mount and unmount and snapshot management to the service file, we ensure that they are properly removed after a timeout.

Thanks to @Histalek for the service config (https://git.histalek.de/histalek-de/infrastructure/-/blob/main/roles/lvm_backup/templates/backup-lvm.service)
2021-10-05 16:49:34 +02:00
a47fde9c9c
Rename roles to underscore
This patch renames all roles with a `-` to `_`, to comply with the ansible-lint rule 106. As collection roles are now also limited to these symbols and this will make it easier to move them later.
2020-09-26 18:12:59 +02:00
Renamed from roles/lvm-self-backup/templates/backup-lvm.service (Browse further)