From b6248c63ba1c8742994b6313ab77ec8b5ededfb3 Mon Sep 17 00:00:00 2001 From: Benoit S Date: Wed, 3 Feb 2021 10:21:21 +0900 Subject: [PATCH] Add a comment about optimized-storage --- files/lxd-export.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/lxd-export.sh b/files/lxd-export.sh index 4a66857..7abf364 100644 --- a/files/lxd-export.sh +++ b/files/lxd-export.sh @@ -3,5 +3,7 @@ set -euo pipefail cd /var/backups/lxd for i in $(lxc list --format csv -c n); do + # Don't use --optimized-storage as Borg will not be able to compress or chunk + # it properly lxc export $i ${i}.tar --instance-only --compression none done