k8up-io / wrestic

Restic Backup Kubernetes and OpenShift Wrapper - Part of K8up
BSD 3-Clause "New" or "Revised" License
16 stars 3 forks source link

Remove stale locks before invoking other restic actions #98

Closed cimnine closed 3 years ago

cimnine commented 3 years ago

Fixes https://github.com/vshn/k8up/issues/456, which reports that in certain cases restic locks are not properly removed. This change addresses this by invoking the unlock action before any other action. It removes stale locks on the repository.