From e382cc62dff8e1a14051d4801ff3f42a7b0cd5c9 Mon Sep 17 00:00:00 2001 From: Cian Hatton Date: Sun, 31 Jul 2022 13:11:27 +0100 Subject: [PATCH] restore only the newest backup --- ansible/volume-restore.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/volume-restore.yml b/ansible/volume-restore.yml index 81bc2ae..21b6ae3 100644 --- a/ansible/volume-restore.yml +++ b/ansible/volume-restore.yml @@ -11,6 +11,7 @@ list-backups --host-path /mnt/hdds/backups/ --volume-name-filter {{container_name}} + --newest-only register: out - name: Stop the container docker_container: