mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 21:05:10 +00:00
Document that the compression mode can be set via $RESTIC_COMPRESSION
This commit is contained in:
parent
41cc320145
commit
face5bd7f7
@ -126,7 +126,7 @@ func init() {
|
|||||||
f.StringVar(&globalOptions.TLSClientCertKeyFilename, "tls-client-cert", "", "path to a `file` containing PEM encoded TLS client certificate and private key")
|
f.StringVar(&globalOptions.TLSClientCertKeyFilename, "tls-client-cert", "", "path to a `file` containing PEM encoded TLS client certificate and private key")
|
||||||
f.BoolVar(&globalOptions.InsecureTLS, "insecure-tls", false, "skip TLS certificate verification when connecting to the repository (insecure)")
|
f.BoolVar(&globalOptions.InsecureTLS, "insecure-tls", false, "skip TLS certificate verification when connecting to the repository (insecure)")
|
||||||
f.BoolVar(&globalOptions.CleanupCache, "cleanup-cache", false, "auto remove old cache directories")
|
f.BoolVar(&globalOptions.CleanupCache, "cleanup-cache", false, "auto remove old cache directories")
|
||||||
f.Var(&globalOptions.Compression, "compression", "compression mode (only available for repository format version 2), one of (auto|off|max)")
|
f.Var(&globalOptions.Compression, "compression", "compression mode (only available for repository format version 2), one of (auto|off|max) (default: $RESTIC_COMPRESSION)")
|
||||||
f.IntVar(&globalOptions.Limits.UploadKb, "limit-upload", 0, "limits uploads to a maximum `rate` in KiB/s. (default: unlimited)")
|
f.IntVar(&globalOptions.Limits.UploadKb, "limit-upload", 0, "limits uploads to a maximum `rate` in KiB/s. (default: unlimited)")
|
||||||
f.IntVar(&globalOptions.Limits.DownloadKb, "limit-download", 0, "limits downloads to a maximum `rate` in KiB/s. (default: unlimited)")
|
f.IntVar(&globalOptions.Limits.DownloadKb, "limit-download", 0, "limits downloads to a maximum `rate` in KiB/s. (default: unlimited)")
|
||||||
f.UintVar(&globalOptions.PackSize, "pack-size", 0, "set target pack `size` in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)")
|
f.UintVar(&globalOptions.PackSize, "pack-size", 0, "set target pack `size` in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)")
|
||||||
|
@ -50,7 +50,7 @@ Usage help is available:
|
|||||||
--cacert file file to load root certificates from (default: use system certificates)
|
--cacert file file to load root certificates from (default: use system certificates)
|
||||||
--cache-dir directory set the cache directory. (default: use system default cache directory)
|
--cache-dir directory set the cache directory. (default: use system default cache directory)
|
||||||
--cleanup-cache auto remove old cache directories
|
--cleanup-cache auto remove old cache directories
|
||||||
--compression mode compression mode (only available for repository format version 2), one of (auto|off|max) (default auto)
|
--compression mode compression mode (only available for repository format version 2), one of (auto|off|max) (default: $RESTIC_COMPRESSION) (default auto)
|
||||||
-h, --help help for restic
|
-h, --help help for restic
|
||||||
--insecure-tls skip TLS certificate verification when connecting to the repository (insecure)
|
--insecure-tls skip TLS certificate verification when connecting to the repository (insecure)
|
||||||
--json set output mode to JSON for commands that support it
|
--json set output mode to JSON for commands that support it
|
||||||
@ -127,7 +127,7 @@ command:
|
|||||||
--cacert file file to load root certificates from (default: use system certificates)
|
--cacert file file to load root certificates from (default: use system certificates)
|
||||||
--cache-dir directory set the cache directory. (default: use system default cache directory)
|
--cache-dir directory set the cache directory. (default: use system default cache directory)
|
||||||
--cleanup-cache auto remove old cache directories
|
--cleanup-cache auto remove old cache directories
|
||||||
--compression mode compression mode (only available for repository format version 2), one of (auto|off|max) (default auto)
|
--compression mode compression mode (only available for repository format version 2), one of (auto|off|max) (default: $RESTIC_COMPRESSION) (default auto)
|
||||||
--insecure-tls skip TLS certificate verification when connecting to the repository (insecure)
|
--insecure-tls skip TLS certificate verification when connecting to the repository (insecure)
|
||||||
--json set output mode to JSON for commands that support it
|
--json set output mode to JSON for commands that support it
|
||||||
--key-hint key key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
|
--key-hint key key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
|
||||||
|
Loading…
Reference in New Issue
Block a user