From 27669cd4412d6f7dbe82dc9ddc82ff6ab1e692ea Mon Sep 17 00:00:00 2001 From: julien Date: Sun, 19 Jan 2025 17:15:58 +0100 Subject: [PATCH] exclude mysql and postgres volumes as they are dumped into sql file --- sbin/vol-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/vol-backup b/sbin/vol-backup index 213c279..f3f672b 100755 --- a/sbin/vol-backup +++ b/sbin/vol-backup @@ -27,7 +27,7 @@ if [ -d "volumes" ]; then # Compress all volumes excerpt mysql and postgres BACKUP=${PWD##*/}.tar.zst - tar --zstd -cf /tmp/$BACKUP -C volumes . + tar --zstd --exclude={"mysql", "postgres"} -cf /tmp/$BACKUP -C volumes . # Put it into the storage box (pubkey needed) STORAGE_BOX=u442569@u442569.your-storagebox.de