diff --git a/src/borg/archiver.py b/src/borg/archiver.py index f6df9c069..bf4be41a7 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -1968,7 +1968,13 @@ def do_break_lock(self, args, repository): Do not compress. lz4 - Use lz4 compression. High speed, low compression. (default) + Use lz4 compression. Very high speed, very low compression. (default) + + zstd[,L] + Use zstd ("zstandard") compression, a modern wide-range algorithm. + If you do not explicitely give the compression level L (ranging from 1 + to 22), it will use level 3. + Archives compressed with zstd are not compatible with borg < 1.1.4. zlib[,L] Use zlib ("gz") compression. Medium speed, medium compression. @@ -1995,6 +2001,8 @@ def do_break_lock(self, args, repository): Examples:: borg create --compression lz4 REPO::ARCHIVE data + borg create --compression zstd REPO::ARCHIVE data + borg create --compression zstd,10 REPO::ARCHIVE data borg create --compression zlib REPO::ARCHIVE data borg create --compression zlib,1 REPO::ARCHIVE data borg create --compression auto,lzma,6 REPO::ARCHIVE data