From c33034026716f5f09a7cfe6184c766948ef4b734 Mon Sep 17 00:00:00 2001 From: chapeau Date: Fri, 3 Jan 2025 18:50:53 +0100 Subject: [PATCH] backup grocy --- inventory.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/inventory.yml b/inventory.yml index 80da455..2173342 100644 --- a/inventory.yml +++ b/inventory.yml @@ -213,6 +213,12 @@ backup: paths: [ /root/docker-compose.yml, /root/uptime-kuma-data, /etc/nginx/sites-enabled/status.conf ] post_hook: [] + grocy.vm.chapo.li: + backup: + pre_hook: [docker compose -f /root/grocy/docker-compose.yml down] + paths: [ /root/grocy ] + post_hook: [docker compose -f /root/grocy/docker-compose.yml up -d] + unmanaged: hosts: freebox.gw.chapo.li: