2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-25 14:17:42 +00:00

Update manpages and auto-completion

This commit is contained in:
Alexander Neumann 2019-01-06 21:40:32 +01:00
parent 827f6d7b24
commit a439cdeb05
28 changed files with 410 additions and 10 deletions

View File

@ -275,6 +275,7 @@ _restic_backup()
flags+=("-h") flags+=("-h")
local_nonpersistent_flags+=("--help") local_nonpersistent_flags+=("--help")
flags+=("--host=") flags+=("--host=")
two_word_flags+=("-H")
local_nonpersistent_flags+=("--host=") local_nonpersistent_flags+=("--host=")
flags+=("--one-file-system") flags+=("--one-file-system")
flags+=("-x") flags+=("-x")
@ -295,12 +296,14 @@ _restic_backup()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -343,12 +346,14 @@ _restic_cache()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -385,12 +390,14 @@ _restic_cat()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -435,12 +442,14 @@ _restic_check()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -479,12 +488,14 @@ _restic_diff()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -528,12 +539,14 @@ _restic_dump()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -600,12 +613,14 @@ _restic_find()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -681,12 +696,14 @@ _restic_forget()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -729,12 +746,14 @@ _restic_generate()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -771,12 +790,14 @@ _restic_init()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -815,12 +836,14 @@ _restic_key()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -857,12 +880,14 @@ _restic_list()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -911,12 +936,14 @@ _restic_ls()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -956,12 +983,14 @@ _restic_migrate()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -1001,6 +1030,8 @@ _restic_mount()
flags+=("--host=") flags+=("--host=")
two_word_flags+=("-H") two_word_flags+=("-H")
local_nonpersistent_flags+=("--host=") local_nonpersistent_flags+=("--host=")
flags+=("--no-default-permissions")
local_nonpersistent_flags+=("--no-default-permissions")
flags+=("--owner-root") flags+=("--owner-root")
local_nonpersistent_flags+=("--owner-root") local_nonpersistent_flags+=("--owner-root")
flags+=("--path=") flags+=("--path=")
@ -1013,12 +1044,14 @@ _restic_mount()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -1055,12 +1088,14 @@ _restic_prune()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -1097,12 +1132,58 @@ _restic_rebuild-index()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=")
two_word_flags+=("-p")
flags+=("--quiet")
flags+=("-q")
flags+=("--repo=")
two_word_flags+=("-r")
flags+=("--tls-client-cert=")
flags+=("--verbose")
flags+=("-v")
must_have_one_flag=()
must_have_one_noun=()
noun_aliases=()
}
_restic_recover()
{
last_command="restic_recover"
command_aliases=()
commands=()
flags=()
two_word_flags=()
local_nonpersistent_flags=()
flags_with_completion=()
flags_completion=()
flags+=("--help")
flags+=("-h")
local_nonpersistent_flags+=("--help")
flags+=("--cacert=")
flags+=("--cache-dir=")
flags+=("--cleanup-cache")
flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=")
flags+=("--limit-upload=")
flags+=("--no-cache")
flags+=("--no-lock")
flags+=("--option=")
two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -1157,12 +1238,14 @@ _restic_restore()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -1201,12 +1284,14 @@ _restic_self-update()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -1255,12 +1340,14 @@ _restic_snapshots()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -1294,6 +1381,7 @@ _restic_stats()
flags+=("-h") flags+=("-h")
local_nonpersistent_flags+=("--help") local_nonpersistent_flags+=("--help")
flags+=("--host=") flags+=("--host=")
two_word_flags+=("-H")
local_nonpersistent_flags+=("--host=") local_nonpersistent_flags+=("--host=")
flags+=("--mode=") flags+=("--mode=")
local_nonpersistent_flags+=("--mode=") local_nonpersistent_flags+=("--mode=")
@ -1301,12 +1389,14 @@ _restic_stats()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -1356,12 +1446,14 @@ _restic_tag()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -1400,12 +1492,14 @@ _restic_unlock()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -1442,12 +1536,14 @@ _restic_version()
flags+=("--cache-dir=") flags+=("--cache-dir=")
flags+=("--cleanup-cache") flags+=("--cleanup-cache")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")
@ -1487,6 +1583,7 @@ _restic_root_command()
commands+=("mount") commands+=("mount")
commands+=("prune") commands+=("prune")
commands+=("rebuild-index") commands+=("rebuild-index")
commands+=("recover")
commands+=("restore") commands+=("restore")
commands+=("self-update") commands+=("self-update")
commands+=("snapshots") commands+=("snapshots")
@ -1508,12 +1605,14 @@ _restic_root_command()
flags+=("-h") flags+=("-h")
local_nonpersistent_flags+=("--help") local_nonpersistent_flags+=("--help")
flags+=("--json") flags+=("--json")
flags+=("--key-hint=")
flags+=("--limit-download=") flags+=("--limit-download=")
flags+=("--limit-upload=") flags+=("--limit-upload=")
flags+=("--no-cache") flags+=("--no-cache")
flags+=("--no-lock") flags+=("--no-lock")
flags+=("--option=") flags+=("--option=")
two_word_flags+=("-o") two_word_flags+=("-o")
flags+=("--password-command=")
flags+=("--password-file=") flags+=("--password-file=")
two_word_flags+=("-p") two_word_flags+=("-p")
flags+=("--quiet") flags+=("--quiet")

View File

@ -37,8 +37,8 @@ given as the arguments.
takes filename[:header], exclude contents of directories containing filename (except filename itself) if header of that file is as provided (can be specified multiple times) takes filename[:header], exclude contents of directories containing filename (except filename itself) if header of that file is as provided (can be specified multiple times)
.PP .PP
\fB\-\-files\-from\fP="" \fB\-\-files\-from\fP=[]
read the files to backup from file (can be combined with file args) read the files to backup from file (can be combined with file args/can be specified multiple times)
.PP .PP
\fB\-f\fP, \fB\-\-force\fP[=false] \fB\-f\fP, \fB\-\-force\fP[=false]
@ -49,7 +49,7 @@ given as the arguments.
help for backup help for backup
.PP .PP
\fB\-\-host\fP="H" \fB\-H\fP, \fB\-\-host\fP=""
set the \fB\fChostname\fR for the snapshot manually. To prevent an expensive rescan use the "parent" flag set the \fB\fChostname\fR for the snapshot manually. To prevent an expensive rescan use the "parent" flag
.PP .PP
@ -98,6 +98,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -118,6 +122,10 @@ given as the arguments.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -53,6 +53,10 @@ The "cache" command allows listing and cleaning local cache directories.
\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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -73,6 +77,10 @@ The "cache" command allows listing and cleaning local cache directories.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -41,6 +41,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -61,6 +65,10 @@ The "cat" command is used to print internal objects to stdout.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -62,6 +62,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -82,6 +86,10 @@ repository and not use a local cache.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -61,6 +61,10 @@ T The type was changed, e.g. a file was made a symlink
\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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -81,6 +85,10 @@ T The type was changed, e.g. a file was made a symlink
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -58,6 +58,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -78,6 +82,10 @@ repository.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -91,6 +91,10 @@ It can also be used to search for restic blobs or trees for troubleshooting.
\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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -111,6 +115,10 @@ It can also be used to search for restic blobs or trees for troubleshooting.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -48,7 +48,7 @@ data after 'forget' was run successfully, see the 'prune' command.
.PP .PP
\fB\-\-keep\-within\fP= \fB\-\-keep\-within\fP=
keep snapshots that are older than \fB\fCduration\fR (eg. 1y5m7d) relative to the latest snapshot keep snapshots that are newer than \fB\fCduration\fR (eg. 1y5m7d2h) relative to the latest snapshot
.PP .PP
\fB\-\-keep\-tag\fP=[] \fB\-\-keep\-tag\fP=[]
@ -104,6 +104,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -124,6 +128,10 @@ data after 'forget' was run successfully, see the 'prune' command.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -54,6 +54,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -74,6 +78,10 @@ and the auto\-completion files for bash and zsh).
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -41,6 +41,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -61,6 +65,10 @@ The "init" command initializes a new repository.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -45,6 +45,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -65,6 +69,10 @@ The "key" command manages keys (passwords) for accessing the repository.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -41,6 +41,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -61,6 +65,10 @@ The "list" command allows listing objects in the repository based on type.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -76,6 +76,10 @@ a path separator); paths use the forward slash '/' as separator.
\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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -96,6 +100,10 @@ a path separator); paths use the forward slash '/' as separator.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -46,6 +46,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -66,6 +70,10 @@ name is explicitly given, a list of migrations that can be applied is printed.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -68,6 +68,10 @@ For details please see the documentation for time.Format() at:
\fB\-H\fP, \fB\-\-host\fP="" \fB\-H\fP, \fB\-\-host\fP=""
only consider snapshots for this host only consider snapshots for this host
.PP
\fB\-\-no\-default\-permissions\fP[=false]
for 'allow\-other', ignore Unix permissions and allow users to read all snapshot files
.PP .PP
\fB\-\-owner\-root\fP[=false] \fB\-\-owner\-root\fP[=false]
use 'root' as the owner of files and dirs use 'root' as the owner of files and dirs
@ -102,6 +106,10 @@ For details please see the documentation for time.Format() at:
\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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -122,6 +130,10 @@ For details please see the documentation for time.Format() at:
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -42,6 +42,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -62,6 +66,10 @@ referenced and therefore not needed any more.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -42,6 +42,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -62,6 +66,10 @@ repository.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

97
doc/man/restic-recover.1 Normal file
View File

@ -0,0 +1,97 @@
.TH "restic backup" "1" "Jan 2017" "generated by `restic generate`" ""
.nh
.ad l
.SH NAME
.PP
restic\-recover \- Recover data from the repository
.SH SYNOPSIS
.PP
\fBrestic recover [flags]\fP
.SH DESCRIPTION
.PP
The "recover" command build a new snapshot from all directories it can find in
the raw data of the repository. It can be used if, for example, a snapshot has
been removed by accident with "forget".
.SH OPTIONS
.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
help for recover
.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates)
.PP
\fB\-\-cache\-dir\fP=""
set the cache directory. (default: use system default cache directory)
.PP
\fB\-\-cleanup\-cache\fP[=false]
auto remove old cache directories
.PP
\fB\-\-json\fP[=false]
set output mode to JSON for commands that support it
.PP
\fB\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.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
.PP
\fB\-\-no\-lock\fP[=false]
do not lock the repo, this allows some operations on read\-only repos
.PP
\fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP
\fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)
.PP
\fB\-q\fP, \fB\-\-quiet\fP[=false]
do not output comprehensive progress report
.PP
\fB\-r\fP, \fB\-\-repo\fP=""
repository to backup to or restore from (default: $RESTIC\_REPOSITORY)
.PP
\fB\-\-tls\-client\-cert\fP=""
path to a file containing PEM encoded TLS client certificate and private key
.PP
\fB\-v\fP, \fB\-\-verbose\fP[=0]
be verbose (specify \-\-verbose multiple times or level \fB\fCn\fR)
.SH SEE ALSO
.PP
\fBrestic(1)\fP

View File

@ -74,6 +74,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -94,6 +98,10 @@ repository.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -15,7 +15,7 @@ restic\-self\-update \- Update the restic binary
.SH DESCRIPTION .SH DESCRIPTION
.PP .PP
The command "update\-restic" downloads the latest stable release of restic from The command "self\-update" downloads the latest stable release of restic from
GitHub and replaces the currently running binary. After download, the GitHub and replaces the currently running binary. After download, the
authenticity of the binary is verified using the GPG signature on the release authenticity of the binary is verified using the GPG signature on the release
files. files.
@ -27,8 +27,8 @@ files.
help for self\-update help for self\-update
.PP .PP
\fB\-\-output\fP="./restic\-generate.temp" \fB\-\-output\fP=""
Save the downloaded file as \fB\fCfilename\fR Save the downloaded file as \fB\fCfilename\fR (default: running binary itself)
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
@ -48,6 +48,10 @@ files.
\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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -68,6 +72,10 @@ files.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -61,6 +61,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -81,6 +85,10 @@ The "snapshots" command lists all snapshots stored in the repository.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -52,7 +52,7 @@ Refer to the online manual for more details about each mode.
help for stats help for stats
.PP .PP
\fB\-\-host\fP="H" \fB\-H\fP, \fB\-\-host\fP=""
filter latest snapshot by this hostname filter latest snapshot by this hostname
.PP .PP
@ -77,6 +77,10 @@ Refer to the online manual for more details about each mode.
\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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -97,6 +101,10 @@ Refer to the online manual for more details about each mode.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -72,6 +72,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -92,6 +96,10 @@ When no snapshot\-ID is given, all snapshots matching the host, tag and path fil
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -45,6 +45,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -65,6 +69,10 @@ The "unlock" command removes stale locks that have been created by other restic
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -42,6 +42,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -62,6 +66,10 @@ and the version of this software.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)

View File

@ -40,6 +40,10 @@ 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\-\-key\-hint\fP=""
key ID of key to try decrypting first (default: $RESTIC\_KEY\_HINT)
.PP .PP
\fB\-\-limit\-download\fP=0 \fB\-\-limit\-download\fP=0
limits downloads to a maximum rate in KiB/s. (default: unlimited) limits downloads to a maximum rate in KiB/s. (default: unlimited)
@ -60,6 +64,10 @@ directories in an encrypted repository stored on different backends.
\fB\-o\fP, \fB\-\-option\fP=[] \fB\-o\fP, \fB\-\-option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fB\fCkey=value\fR, can be specified multiple times)
.PP
\fB\-\-password\-command\fP=""
specify a shell command to obtain a password (default: $RESTIC\_PASSWORD\_COMMAND)
.PP .PP
\fB\-p\fP, \fB\-\-password\-file\fP="" \fB\-p\fP, \fB\-\-password\-file\fP=""
read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE)
@ -83,4 +91,4 @@ directories in an encrypted repository stored on different backends.
.SH SEE ALSO .SH SEE ALSO
.PP .PP
\fBrestic\-backup(1)\fP, \fBrestic\-cache(1)\fP, \fBrestic\-cat(1)\fP, \fBrestic\-check(1)\fP, \fBrestic\-diff(1)\fP, \fBrestic\-dump(1)\fP, \fBrestic\-find(1)\fP, \fBrestic\-forget(1)\fP, \fBrestic\-generate(1)\fP, \fBrestic\-init(1)\fP, \fBrestic\-key(1)\fP, \fBrestic\-list(1)\fP, \fBrestic\-ls(1)\fP, \fBrestic\-migrate(1)\fP, \fBrestic\-mount(1)\fP, \fBrestic\-prune(1)\fP, \fBrestic\-rebuild\-index(1)\fP, \fBrestic\-restore(1)\fP, \fBrestic\-self\-update(1)\fP, \fBrestic\-snapshots(1)\fP, \fBrestic\-stats(1)\fP, \fBrestic\-tag(1)\fP, \fBrestic\-unlock(1)\fP, \fBrestic\-version(1)\fP \fBrestic\-backup(1)\fP, \fBrestic\-cache(1)\fP, \fBrestic\-cat(1)\fP, \fBrestic\-check(1)\fP, \fBrestic\-diff(1)\fP, \fBrestic\-dump(1)\fP, \fBrestic\-find(1)\fP, \fBrestic\-forget(1)\fP, \fBrestic\-generate(1)\fP, \fBrestic\-init(1)\fP, \fBrestic\-key(1)\fP, \fBrestic\-list(1)\fP, \fBrestic\-ls(1)\fP, \fBrestic\-migrate(1)\fP, \fBrestic\-mount(1)\fP, \fBrestic\-prune(1)\fP, \fBrestic\-rebuild\-index(1)\fP, \fBrestic\-recover(1)\fP, \fBrestic\-restore(1)\fP, \fBrestic\-self\-update(1)\fP, \fBrestic\-snapshots(1)\fP, \fBrestic\-stats(1)\fP, \fBrestic\-tag(1)\fP, \fBrestic\-unlock(1)\fP, \fBrestic\-version(1)\fP

View File

@ -7,7 +7,7 @@ case $state in
level1) level1)
case $words[1] in case $words[1] in
restic) restic)
_arguments '1: :(backup cache cat check diff dump find forget generate help init key list ls migrate mount options prune rebuild-index restore self-update snapshots stats tag unlock version)' _arguments '1: :(backup cache cat check diff dump find forget generate help init key list ls migrate mount options prune rebuild-index recover restore self-update snapshots stats tag unlock version)'
;; ;;
*) *)
_arguments '*: :_files' _arguments '*: :_files'