[PATCH] testbot: Switch to the zstd compression algorithm in BackupVM.

Francois Gouget fgouget at codeweavers.com
Wed Sep 4 08:38:16 CDT 2019


This requires borgbackup >= 1.1.4 (e.g. from Debian 10).
The compression drops a few percentage points compared to the previous
lzma settings but this makes restoration much faster.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/scripts/BackupVM | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/scripts/BackupVM b/testbot/scripts/BackupVM
index d7e54839..124e222d 100755
--- a/testbot/scripts/BackupVM
+++ b/testbot/scripts/BackupVM
@@ -318,7 +318,7 @@ if [ -n "$opt_borg" ]
 then
     borg_opts=""
     [ -n "$opt_verbose" ] && borg_opts="$borg_opts --verbose"
-    dry_run $nice borg create --progress --stats -C lzma,9 \
+    dry_run $nice borg create --progress --stats -C zstd,22 \
             "$opt_borg::$backup" $all_paths
     rc_borg=$?
     if [ $rc_borg -ne 0 ]
-- 
2.20.1



More information about the wine-devel mailing list