From be145a9c76dde85ea581f8d57edcc741f0830a29 Mon Sep 17 00:00:00 2001 From: Cheng Rui <782307550@qq.com> Date: Fri, 22 Dec 2023 19:23:26 +0800 Subject: [PATCH] translate docs-cn pr #14834 --- br/use-br-command-line-tool.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/br/use-br-command-line-tool.md b/br/use-br-command-line-tool.md index c9bd3da4f16d9..e05f2c313bdbe 100644 --- a/br/use-br-command-line-tool.md +++ b/br/use-br-command-line-tool.md @@ -48,6 +48,8 @@ A `br` command consists of multiple layers of sub-commands. Currently, br comman * `--key`: specifies the path to the SSL certificate key in the PEM format. * `--status-addr`: specifies the listening address through which `br` provides statistics to Prometheus. * `--concurrency`: the number of concurrent tasks during the backup or restore. +* `--compression`:determines the compression algorithm used for generating backup files. It supports `lz4`, `snappy`, and `zstd`, with the default being `zstd` (usually no need to modify). For guidance on choosing different compression algorithms, refer to [this document](https://github.com/EighteenZi/rocksdb_wiki/blob/master/Compression.md). +* `--compression-level`:sets the compression level corresponding to the chosen compression algorithm for backup. The default compression level for `zstd` is 3. In most cases(usually no need to adjust this setting). ## Commands of full backup