Module: tools Branch: master Commit: 84adbe64cb3a65afda1372d5b1915edacc336762 URL: https://source.winehq.org/git/tools.git/?a=commit;h=84adbe64cb3a65afda1372d5...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Sep 4 15:38:16 2019 +0200
testbot: Switch to the zstd compression algorithm in BackupVM.
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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/scripts/BackupVM | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/scripts/BackupVM b/testbot/scripts/BackupVM index d7e5483..124e222 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 ]