2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 10:58:55 +00:00

Update manpages and auto-completion

This commit is contained in:
Alexander Neumann 2017-11-26 19:46:16 +01:00
parent 37e2e9a844
commit 7c5ce83044
22 changed files with 349 additions and 5 deletions

View File

@ -70,7 +70,7 @@ __handle_reply()
cur="${cur#*=}" cur="${cur#*=}"
${flags_completion[${index}]} ${flags_completion[${index}]}
if [ -n "${ZSH_VERSION}" ]; then if [ -n "${ZSH_VERSION}" ]; then
# zfs completion needs --flag= prefix # zsh completion needs --flag= prefix
eval "COMPREPLY=( \"\${COMPREPLY[@]/#/${flag}=}\" )" eval "COMPREPLY=( \"\${COMPREPLY[@]/#/${flag}=}\" )"
fi fi
fi fi
@ -269,8 +269,11 @@ _restic_backup()
local_nonpersistent_flags+=("--tag=") local_nonpersistent_flags+=("--tag=")
flags+=("--time=") flags+=("--time=")
local_nonpersistent_flags+=("--time=") local_nonpersistent_flags+=("--time=")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -301,8 +304,11 @@ _restic_cat()
flags+=("--help") flags+=("--help")
flags+=("-h") flags+=("-h")
local_nonpersistent_flags+=("--help") local_nonpersistent_flags+=("--help")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -339,8 +345,11 @@ _restic_check()
local_nonpersistent_flags+=("--read-data") local_nonpersistent_flags+=("--read-data")
flags+=("--with-cache") flags+=("--with-cache")
local_nonpersistent_flags+=("--with-cache") local_nonpersistent_flags+=("--with-cache")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -371,8 +380,18 @@ _restic_dump()
flags+=("--help") flags+=("--help")
flags+=("-h") flags+=("-h")
local_nonpersistent_flags+=("--help") 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+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -425,8 +444,11 @@ _restic_find()
local_nonpersistent_flags+=("--snapshot=") local_nonpersistent_flags+=("--snapshot=")
flags+=("--tag=") flags+=("--tag=")
local_nonpersistent_flags+=("--tag=") local_nonpersistent_flags+=("--tag=")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -496,8 +518,11 @@ _restic_forget()
flags+=("--help") flags+=("--help")
flags+=("-h") flags+=("-h")
local_nonpersistent_flags+=("--help") local_nonpersistent_flags+=("--help")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -534,8 +559,11 @@ _restic_generate()
local_nonpersistent_flags+=("--man=") local_nonpersistent_flags+=("--man=")
flags+=("--zsh-completion=") flags+=("--zsh-completion=")
local_nonpersistent_flags+=("--zsh-completion=") local_nonpersistent_flags+=("--zsh-completion=")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -566,8 +594,11 @@ _restic_init()
flags+=("--help") flags+=("--help")
flags+=("-h") flags+=("-h")
local_nonpersistent_flags+=("--help") local_nonpersistent_flags+=("--help")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -598,8 +629,11 @@ _restic_key()
flags+=("--help") flags+=("--help")
flags+=("-h") flags+=("-h")
local_nonpersistent_flags+=("--help") local_nonpersistent_flags+=("--help")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -630,8 +664,11 @@ _restic_list()
flags+=("--help") flags+=("--help")
flags+=("-h") flags+=("-h")
local_nonpersistent_flags+=("--help") local_nonpersistent_flags+=("--help")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -672,8 +709,11 @@ _restic_ls()
local_nonpersistent_flags+=("--path=") local_nonpersistent_flags+=("--path=")
flags+=("--tag=") flags+=("--tag=")
local_nonpersistent_flags+=("--tag=") local_nonpersistent_flags+=("--tag=")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -707,8 +747,11 @@ _restic_migrate()
flags+=("--help") flags+=("--help")
flags+=("-h") flags+=("-h")
local_nonpersistent_flags+=("--help") local_nonpersistent_flags+=("--help")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -752,8 +795,11 @@ _restic_mount()
local_nonpersistent_flags+=("--path=") local_nonpersistent_flags+=("--path=")
flags+=("--tag=") flags+=("--tag=")
local_nonpersistent_flags+=("--tag=") local_nonpersistent_flags+=("--tag=")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -784,8 +830,11 @@ _restic_prune()
flags+=("--help") flags+=("--help")
flags+=("-h") flags+=("-h")
local_nonpersistent_flags+=("--help") local_nonpersistent_flags+=("--help")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -816,8 +865,11 @@ _restic_rebuild-index()
flags+=("--help") flags+=("--help")
flags+=("-h") flags+=("-h")
local_nonpersistent_flags+=("--help") local_nonpersistent_flags+=("--help")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -864,8 +916,11 @@ _restic_restore()
flags+=("--target=") flags+=("--target=")
two_word_flags+=("-t") two_word_flags+=("-t")
local_nonpersistent_flags+=("--target=") local_nonpersistent_flags+=("--target=")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -902,12 +957,17 @@ _restic_snapshots()
flags+=("--host=") flags+=("--host=")
two_word_flags+=("-H") two_word_flags+=("-H")
local_nonpersistent_flags+=("--host=") local_nonpersistent_flags+=("--host=")
flags+=("--last")
local_nonpersistent_flags+=("--last")
flags+=("--path=") flags+=("--path=")
local_nonpersistent_flags+=("--path=") local_nonpersistent_flags+=("--path=")
flags+=("--tag=") flags+=("--tag=")
local_nonpersistent_flags+=("--tag=") local_nonpersistent_flags+=("--tag=")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -951,8 +1011,11 @@ _restic_tag()
local_nonpersistent_flags+=("--set=") local_nonpersistent_flags+=("--set=")
flags+=("--tag=") flags+=("--tag=")
local_nonpersistent_flags+=("--tag=") local_nonpersistent_flags+=("--tag=")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -985,8 +1048,11 @@ _restic_unlock()
local_nonpersistent_flags+=("--help") local_nonpersistent_flags+=("--help")
flags+=("--remove-all") flags+=("--remove-all")
local_nonpersistent_flags+=("--remove-all") local_nonpersistent_flags+=("--remove-all")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -1017,8 +1083,11 @@ _restic_version()
flags+=("--help") flags+=("--help")
flags+=("-h") flags+=("-h")
local_nonpersistent_flags+=("--help") local_nonpersistent_flags+=("--help")
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
@ -1066,11 +1135,14 @@ _restic()
flags_with_completion=() flags_with_completion=()
flags_completion=() flags_completion=()
flags+=("--cacert=")
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--help") flags+=("--help")
flags+=("-h") flags+=("-h")
local_nonpersistent_flags+=("--help") local_nonpersistent_flags+=("--help")
flags+=("--json") flags+=("--json")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")

View File

@ -78,6 +78,10 @@ given as the arguments.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -86,6 +90,14 @@ given as the arguments.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -25,6 +25,10 @@ The "cat" command is used to print internal objects to stdout.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -33,6 +37,14 @@ The "cat" command is used to print internal objects to stdout.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -42,6 +42,10 @@ repository and not use a local cache.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -50,6 +54,14 @@ repository and not use a local cache.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -5,18 +5,22 @@
.SH NAME .SH NAME
.PP .PP
restic\-dump \- Dump data structures restic\-dump \- Print a backed\-up file to stdout
.SH SYNOPSIS .SH SYNOPSIS
.PP .PP
\fBrestic dump [indexes|snapshots|all|packs] [flags]\fP \fBrestic dump [flags] snapshotID file\fP
.SH DESCRIPTION .SH DESCRIPTION
.PP .PP
The "dump" command dumps data structures from the repository as JSON objects. It The "dump" command extracts a single file from a snapshot from the repository and
is used for debugging purposes only. prints its contents to stdout.
.PP
The special snapshot "latest" can be used to use the latest snapshot in the
repository.
.SH OPTIONS .SH OPTIONS
@ -24,8 +28,24 @@ is used for debugging purposes only.
\fB\-h\fP, \fB\-\-help\fP[=false] \fB\-h\fP, \fB\-\-help\fP[=false]
help for dump 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 .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -34,6 +54,14 @@ is used for debugging purposes only.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -58,6 +58,10 @@ repo.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -66,6 +70,14 @@ repo.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -88,6 +88,10 @@ data after 'forget' was run successfully, see the 'prune' command.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -96,6 +100,14 @@ data after 'forget' was run successfully, see the 'prune' command.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -38,6 +38,10 @@ and the auto\-completion files for bash and zsh).
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -46,6 +50,14 @@ and the auto\-completion files for bash and zsh).
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -25,6 +25,10 @@ The "init" command initializes a new repository.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -33,6 +37,14 @@ The "init" command initializes a new repository.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -25,6 +25,10 @@ The "key" command manages keys (passwords) for accessing the repository.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -33,6 +37,14 @@ The "key" command manages keys (passwords) for accessing the repository.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -25,6 +25,10 @@ The "list" command allows listing objects in the repository based on type.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -33,6 +37,14 @@ The "list" command allows listing objects in the repository based on type.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -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 .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory 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] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -30,6 +30,10 @@ name is explicitly given, a list of migrations that can be applied is printed.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory 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] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -50,6 +50,10 @@ read\-only mount.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -58,6 +62,14 @@ read\-only mount.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -26,6 +26,10 @@ referenced and therefore not needed any more.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -34,6 +38,14 @@ referenced and therefore not needed any more.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -26,6 +26,10 @@ repository.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -34,6 +38,14 @@ repository.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -54,6 +54,10 @@ repository.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -62,6 +66,14 @@ repository.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -31,6 +31,10 @@ The "snapshots" command lists all snapshots stored in the repository.
\fB\-H\fP, \fB\-\-host\fP="" \fB\-H\fP, \fB\-\-host\fP=""
only consider snapshots for this \fB\fChost\fR only consider snapshots for this \fB\fChost\fR
.PP
\fB\-\-last\fP[=false]
only show the last snapshot for each host and path
.PP .PP
\fB\-\-path\fP=[] \fB\-\-path\fP=[]
only consider snapshots for this \fB\fCpath\fR (can be specified multiple times) 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 .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -49,6 +57,14 @@ The "snapshots" command lists all snapshots stored in the repository.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -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 .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory 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] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -29,6 +29,10 @@ The "unlock" command removes stale locks that have been created by other restic
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory 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] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -26,6 +26,10 @@ and the version of this software.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -34,6 +38,14 @@ and the version of this software.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache

View File

@ -20,6 +20,10 @@ directories in an encrypted repository stored on different backends.
.SH OPTIONS .SH OPTIONS
.PP
\fB\-\-cacert\fP=[]
path to load root certificates from (default: use system certificates)
.PP .PP
\fB\-\-cache\-dir\fP="" \fB\-\-cache\-dir\fP=""
set the cache directory set the cache directory
@ -32,6 +36,14 @@ directories in an encrypted repository stored on different backends.
\fB\-\-json\fP[=false] \fB\-\-json\fP[=false]
set output mode to JSON for commands that support it 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 .PP
\fB\-\-no\-cache\fP[=false] \fB\-\-no\-cache\fP[=false]
do not use a local cache do not use a local cache