From 7c5ce83044c4f194491690f9de4f9797cb1a2d6b Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 26 Nov 2017 19:46:16 +0100 Subject: [PATCH] Update manpages and auto-completion --- doc/bash-completion.sh | 74 +++++++++++++++++++++++++++++++++- doc/man/restic-backup.1 | 12 ++++++ doc/man/restic-cat.1 | 12 ++++++ doc/man/restic-check.1 | 12 ++++++ doc/man/restic-dump.1 | 36 +++++++++++++++-- doc/man/restic-find.1 | 12 ++++++ doc/man/restic-forget.1 | 12 ++++++ doc/man/restic-generate.1 | 12 ++++++ doc/man/restic-init.1 | 12 ++++++ doc/man/restic-key.1 | 12 ++++++ doc/man/restic-list.1 | 12 ++++++ doc/man/restic-ls.1 | 12 ++++++ doc/man/restic-migrate.1 | 12 ++++++ doc/man/restic-mount.1 | 12 ++++++ doc/man/restic-prune.1 | 12 ++++++ doc/man/restic-rebuild-index.1 | 12 ++++++ doc/man/restic-restore.1 | 12 ++++++ doc/man/restic-snapshots.1 | 16 ++++++++ doc/man/restic-tag.1 | 12 ++++++ doc/man/restic-unlock.1 | 12 ++++++ doc/man/restic-version.1 | 12 ++++++ doc/man/restic.1 | 12 ++++++ 22 files changed, 349 insertions(+), 5 deletions(-) diff --git a/doc/bash-completion.sh b/doc/bash-completion.sh index 5a2a1d6e3..a5a94050e 100644 --- a/doc/bash-completion.sh +++ b/doc/bash-completion.sh @@ -70,7 +70,7 @@ __handle_reply() cur="${cur#*=}" ${flags_completion[${index}]} if [ -n "${ZSH_VERSION}" ]; then - # zfs completion needs --flag= prefix + # zsh completion needs --flag= prefix eval "COMPREPLY=( \"\${COMPREPLY[@]/#/${flag}=}\" )" fi fi @@ -269,8 +269,11 @@ _restic_backup() local_nonpersistent_flags+=("--tag=") flags+=("--time=") local_nonpersistent_flags+=("--time=") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -301,8 +304,11 @@ _restic_cat() flags+=("--help") flags+=("-h") local_nonpersistent_flags+=("--help") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -339,8 +345,11 @@ _restic_check() local_nonpersistent_flags+=("--read-data") flags+=("--with-cache") local_nonpersistent_flags+=("--with-cache") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -371,8 +380,18 @@ _restic_dump() flags+=("--help") flags+=("-h") local_nonpersistent_flags+=("--help") + flags+=("--host=") + two_word_flags+=("-H") + local_nonpersistent_flags+=("--host=") + flags+=("--path=") + local_nonpersistent_flags+=("--path=") + flags+=("--tag=") + local_nonpersistent_flags+=("--tag=") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -425,8 +444,11 @@ _restic_find() local_nonpersistent_flags+=("--snapshot=") flags+=("--tag=") local_nonpersistent_flags+=("--tag=") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -496,8 +518,11 @@ _restic_forget() flags+=("--help") flags+=("-h") local_nonpersistent_flags+=("--help") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -534,8 +559,11 @@ _restic_generate() local_nonpersistent_flags+=("--man=") flags+=("--zsh-completion=") local_nonpersistent_flags+=("--zsh-completion=") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -566,8 +594,11 @@ _restic_init() flags+=("--help") flags+=("-h") local_nonpersistent_flags+=("--help") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -598,8 +629,11 @@ _restic_key() flags+=("--help") flags+=("-h") local_nonpersistent_flags+=("--help") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -630,8 +664,11 @@ _restic_list() flags+=("--help") flags+=("-h") local_nonpersistent_flags+=("--help") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -672,8 +709,11 @@ _restic_ls() local_nonpersistent_flags+=("--path=") flags+=("--tag=") local_nonpersistent_flags+=("--tag=") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -707,8 +747,11 @@ _restic_migrate() flags+=("--help") flags+=("-h") local_nonpersistent_flags+=("--help") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -752,8 +795,11 @@ _restic_mount() local_nonpersistent_flags+=("--path=") flags+=("--tag=") local_nonpersistent_flags+=("--tag=") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -784,8 +830,11 @@ _restic_prune() flags+=("--help") flags+=("-h") local_nonpersistent_flags+=("--help") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -816,8 +865,11 @@ _restic_rebuild-index() flags+=("--help") flags+=("-h") local_nonpersistent_flags+=("--help") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -864,8 +916,11 @@ _restic_restore() flags+=("--target=") two_word_flags+=("-t") local_nonpersistent_flags+=("--target=") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -902,12 +957,17 @@ _restic_snapshots() flags+=("--host=") two_word_flags+=("-H") local_nonpersistent_flags+=("--host=") + flags+=("--last") + local_nonpersistent_flags+=("--last") flags+=("--path=") local_nonpersistent_flags+=("--path=") flags+=("--tag=") local_nonpersistent_flags+=("--tag=") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -951,8 +1011,11 @@ _restic_tag() local_nonpersistent_flags+=("--set=") flags+=("--tag=") local_nonpersistent_flags+=("--tag=") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -985,8 +1048,11 @@ _restic_unlock() local_nonpersistent_flags+=("--help") flags+=("--remove-all") local_nonpersistent_flags+=("--remove-all") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -1017,8 +1083,11 @@ _restic_version() flags+=("--help") flags+=("-h") local_nonpersistent_flags+=("--help") + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") @@ -1066,11 +1135,14 @@ _restic() flags_with_completion=() flags_completion=() + flags+=("--cacert=") flags+=("--cache-dir=") flags+=("--help") flags+=("-h") local_nonpersistent_flags+=("--help") flags+=("--json") + flags+=("--limit-download=") + flags+=("--limit-upload=") flags+=("--no-cache") flags+=("--no-lock") flags+=("--option=") diff --git a/doc/man/restic-backup.1 b/doc/man/restic-backup.1 index 22e9830a7..4143ccbbc 100644 --- a/doc/man/restic-backup.1 +++ b/doc/man/restic-backup.1 @@ -78,6 +78,10 @@ given as the arguments. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -86,6 +90,14 @@ given as the arguments. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-cat.1 b/doc/man/restic-cat.1 index 279a3016c..4bfced166 100644 --- a/doc/man/restic-cat.1 +++ b/doc/man/restic-cat.1 @@ -25,6 +25,10 @@ The "cat" command is used to print internal objects to stdout. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -33,6 +37,14 @@ The "cat" command is used to print internal objects to stdout. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-check.1 b/doc/man/restic-check.1 index 4bfc3a1b2..6bcf174af 100644 --- a/doc/man/restic-check.1 +++ b/doc/man/restic-check.1 @@ -42,6 +42,10 @@ repository and not use a local cache. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -50,6 +54,14 @@ repository and not use a local cache. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-dump.1 b/doc/man/restic-dump.1 index e4307f0e4..0eac63edd 100644 --- a/doc/man/restic-dump.1 +++ b/doc/man/restic-dump.1 @@ -5,18 +5,22 @@ .SH NAME .PP -restic\-dump \- Dump data structures +restic\-dump \- Print a backed\-up file to stdout .SH SYNOPSIS .PP -\fBrestic dump [indexes|snapshots|all|packs] [flags]\fP +\fBrestic dump [flags] snapshotID file\fP .SH DESCRIPTION .PP -The "dump" command dumps data structures from the repository as JSON objects. It -is used for debugging purposes only. +The "dump" command extracts a single file from a snapshot from the repository and +prints its contents to stdout. + +.PP +The special snapshot "latest" can be used to use the latest snapshot in the +repository. .SH OPTIONS @@ -24,8 +28,24 @@ is used for debugging purposes only. \fB\-h\fP, \fB\-\-help\fP[=false] help for dump +.PP +\fB\-H\fP, \fB\-\-host\fP="" + only consider snapshots for this host when the snapshot ID is "latest" + +.PP +\fB\-\-path\fP=[] + only consider snapshots which include this (absolute) \fB\fCpath\fR for snapshot ID "latest" + +.PP +\fB\-\-tag\fP=[] + only consider snapshots which include this \fB\fCtaglist\fR for snapshot ID "latest" + .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -34,6 +54,14 @@ is used for debugging purposes only. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-find.1 b/doc/man/restic-find.1 index 27007b053..f838ce41f 100644 --- a/doc/man/restic-find.1 +++ b/doc/man/restic-find.1 @@ -58,6 +58,10 @@ repo. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -66,6 +70,14 @@ repo. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-forget.1 b/doc/man/restic-forget.1 index 62748f8cd..d2a6dd352 100644 --- a/doc/man/restic-forget.1 +++ b/doc/man/restic-forget.1 @@ -88,6 +88,10 @@ data after 'forget' was run successfully, see the 'prune' command. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -96,6 +100,14 @@ data after 'forget' was run successfully, see the 'prune' command. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-generate.1 b/doc/man/restic-generate.1 index 591d6ad65..6f7227df8 100644 --- a/doc/man/restic-generate.1 +++ b/doc/man/restic-generate.1 @@ -38,6 +38,10 @@ and the auto\-completion files for bash and zsh). .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -46,6 +50,14 @@ and the auto\-completion files for bash and zsh). \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-init.1 b/doc/man/restic-init.1 index 2ddcdb3d6..a89ccaaa5 100644 --- a/doc/man/restic-init.1 +++ b/doc/man/restic-init.1 @@ -25,6 +25,10 @@ The "init" command initializes a new repository. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -33,6 +37,14 @@ The "init" command initializes a new repository. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-key.1 b/doc/man/restic-key.1 index 0f5a6d629..bf1515113 100644 --- a/doc/man/restic-key.1 +++ b/doc/man/restic-key.1 @@ -25,6 +25,10 @@ The "key" command manages keys (passwords) for accessing the repository. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -33,6 +37,14 @@ The "key" command manages keys (passwords) for accessing the repository. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-list.1 b/doc/man/restic-list.1 index 13f568784..faf77939a 100644 --- a/doc/man/restic-list.1 +++ b/doc/man/restic-list.1 @@ -25,6 +25,10 @@ The "list" command allows listing objects in the repository based on type. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -33,6 +37,14 @@ The "list" command allows listing objects in the repository based on type. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-ls.1 b/doc/man/restic-ls.1 index 351e7a47b..b5bf14b05 100644 --- a/doc/man/restic-ls.1 +++ b/doc/man/restic-ls.1 @@ -44,6 +44,10 @@ The special snapshot\-ID "latest" can be used to list files and directories of t .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -52,6 +56,14 @@ The special snapshot\-ID "latest" can be used to list files and directories of t \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-migrate.1 b/doc/man/restic-migrate.1 index 672b085c5..37e7002be 100644 --- a/doc/man/restic-migrate.1 +++ b/doc/man/restic-migrate.1 @@ -30,6 +30,10 @@ name is explicitly given, a list of migrations that can be applied is printed. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -38,6 +42,14 @@ name is explicitly given, a list of migrations that can be applied is printed. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-mount.1 b/doc/man/restic-mount.1 index 36e1cb2ea..31f939031 100644 --- a/doc/man/restic-mount.1 +++ b/doc/man/restic-mount.1 @@ -50,6 +50,10 @@ read\-only mount. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -58,6 +62,14 @@ read\-only mount. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-prune.1 b/doc/man/restic-prune.1 index d1ec831eb..ccecbf2d7 100644 --- a/doc/man/restic-prune.1 +++ b/doc/man/restic-prune.1 @@ -26,6 +26,10 @@ referenced and therefore not needed any more. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -34,6 +38,14 @@ referenced and therefore not needed any more. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-rebuild-index.1 b/doc/man/restic-rebuild-index.1 index 3c0f75d47..c0782976f 100644 --- a/doc/man/restic-rebuild-index.1 +++ b/doc/man/restic-rebuild-index.1 @@ -26,6 +26,10 @@ repository. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -34,6 +38,14 @@ repository. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-restore.1 b/doc/man/restic-restore.1 index f0d93782e..0a764cfb8 100644 --- a/doc/man/restic-restore.1 +++ b/doc/man/restic-restore.1 @@ -54,6 +54,10 @@ repository. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -62,6 +66,14 @@ repository. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-snapshots.1 b/doc/man/restic-snapshots.1 index f560bf396..7f45e87d4 100644 --- a/doc/man/restic-snapshots.1 +++ b/doc/man/restic-snapshots.1 @@ -31,6 +31,10 @@ The "snapshots" command lists all snapshots stored in the repository. \fB\-H\fP, \fB\-\-host\fP="" only consider snapshots for this \fB\fChost\fR +.PP +\fB\-\-last\fP[=false] + only show the last snapshot for each host and path + .PP \fB\-\-path\fP=[] only consider snapshots for this \fB\fCpath\fR (can be specified multiple times) @@ -41,6 +45,10 @@ The "snapshots" command lists all snapshots stored in the repository. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -49,6 +57,14 @@ The "snapshots" command lists all snapshots stored in the repository. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-tag.1 b/doc/man/restic-tag.1 index 7f774cdab..0d830a656 100644 --- a/doc/man/restic-tag.1 +++ b/doc/man/restic-tag.1 @@ -56,6 +56,10 @@ When no snapshot\-ID is given, all snapshots matching the host, tag and path fil .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -64,6 +68,14 @@ When no snapshot\-ID is given, all snapshots matching the host, tag and path fil \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-unlock.1 b/doc/man/restic-unlock.1 index ad4e27f3f..5b4642a53 100644 --- a/doc/man/restic-unlock.1 +++ b/doc/man/restic-unlock.1 @@ -29,6 +29,10 @@ The "unlock" command removes stale locks that have been created by other restic .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -37,6 +41,14 @@ The "unlock" command removes stale locks that have been created by other restic \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic-version.1 b/doc/man/restic-version.1 index 70c5d5ccc..37315d319 100644 --- a/doc/man/restic-version.1 +++ b/doc/man/restic-version.1 @@ -26,6 +26,10 @@ and the version of this software. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -34,6 +38,14 @@ and the version of this software. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache diff --git a/doc/man/restic.1 b/doc/man/restic.1 index 077dcf2c3..13ae86757 100644 --- a/doc/man/restic.1 +++ b/doc/man/restic.1 @@ -20,6 +20,10 @@ directories in an encrypted repository stored on different backends. .SH OPTIONS +.PP +\fB\-\-cacert\fP=[] + path to load root certificates from (default: use system certificates) + .PP \fB\-\-cache\-dir\fP="" set the cache directory @@ -32,6 +36,14 @@ directories in an encrypted repository stored on different backends. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-limit\-download\fP=0 + limits downloads to a maximum rate in KiB/s. (default: unlimited) + +.PP +\fB\-\-limit\-upload\fP=0 + limits uploads to a maximum rate in KiB/s. (default: unlimited) + .PP \fB\-\-no\-cache\fP[=false] do not use a local cache