mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 04:45:15 +00:00
Update manpages and auto-completion
This commit is contained in:
parent
f6ed7dc013
commit
6ecd14d780
@ -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+=("--with-atime")
|
||||||
|
local_nonpersistent_flags+=("--with-atime")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -306,6 +309,7 @@ _restic_cat()
|
|||||||
local_nonpersistent_flags+=("--help")
|
local_nonpersistent_flags+=("--help")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -347,6 +351,45 @@ _restic_check()
|
|||||||
local_nonpersistent_flags+=("--with-cache")
|
local_nonpersistent_flags+=("--with-cache")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--json")
|
||||||
|
flags+=("--limit-download=")
|
||||||
|
flags+=("--limit-upload=")
|
||||||
|
flags+=("--no-cache")
|
||||||
|
flags+=("--no-lock")
|
||||||
|
flags+=("--option=")
|
||||||
|
two_word_flags+=("-o")
|
||||||
|
flags+=("--password-file=")
|
||||||
|
two_word_flags+=("-p")
|
||||||
|
flags+=("--quiet")
|
||||||
|
flags+=("-q")
|
||||||
|
flags+=("--repo=")
|
||||||
|
two_word_flags+=("-r")
|
||||||
|
|
||||||
|
must_have_one_flag=()
|
||||||
|
must_have_one_noun=()
|
||||||
|
noun_aliases=()
|
||||||
|
}
|
||||||
|
|
||||||
|
_restic_diff()
|
||||||
|
{
|
||||||
|
last_command="restic_diff"
|
||||||
|
commands=()
|
||||||
|
|
||||||
|
flags=()
|
||||||
|
two_word_flags=()
|
||||||
|
local_nonpersistent_flags=()
|
||||||
|
flags_with_completion=()
|
||||||
|
flags_completion=()
|
||||||
|
|
||||||
|
flags+=("--help")
|
||||||
|
flags+=("-h")
|
||||||
|
local_nonpersistent_flags+=("--help")
|
||||||
|
flags+=("--metadata")
|
||||||
|
local_nonpersistent_flags+=("--metadata")
|
||||||
|
flags+=("--cacert=")
|
||||||
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -389,6 +432,7 @@ _restic_dump()
|
|||||||
local_nonpersistent_flags+=("--tag=")
|
local_nonpersistent_flags+=("--tag=")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -446,6 +490,7 @@ _restic_find()
|
|||||||
local_nonpersistent_flags+=("--tag=")
|
local_nonpersistent_flags+=("--tag=")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -520,6 +565,7 @@ _restic_forget()
|
|||||||
local_nonpersistent_flags+=("--help")
|
local_nonpersistent_flags+=("--help")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -561,6 +607,7 @@ _restic_generate()
|
|||||||
local_nonpersistent_flags+=("--zsh-completion=")
|
local_nonpersistent_flags+=("--zsh-completion=")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -596,6 +643,7 @@ _restic_init()
|
|||||||
local_nonpersistent_flags+=("--help")
|
local_nonpersistent_flags+=("--help")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -631,6 +679,7 @@ _restic_key()
|
|||||||
local_nonpersistent_flags+=("--help")
|
local_nonpersistent_flags+=("--help")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -666,6 +715,7 @@ _restic_list()
|
|||||||
local_nonpersistent_flags+=("--help")
|
local_nonpersistent_flags+=("--help")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -711,6 +761,7 @@ _restic_ls()
|
|||||||
local_nonpersistent_flags+=("--tag=")
|
local_nonpersistent_flags+=("--tag=")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -749,6 +800,7 @@ _restic_migrate()
|
|||||||
local_nonpersistent_flags+=("--help")
|
local_nonpersistent_flags+=("--help")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -797,6 +849,7 @@ _restic_mount()
|
|||||||
local_nonpersistent_flags+=("--tag=")
|
local_nonpersistent_flags+=("--tag=")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -832,6 +885,7 @@ _restic_prune()
|
|||||||
local_nonpersistent_flags+=("--help")
|
local_nonpersistent_flags+=("--help")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -867,6 +921,7 @@ _restic_rebuild-index()
|
|||||||
local_nonpersistent_flags+=("--help")
|
local_nonpersistent_flags+=("--help")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -918,6 +973,7 @@ _restic_restore()
|
|||||||
local_nonpersistent_flags+=("--target=")
|
local_nonpersistent_flags+=("--target=")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -965,6 +1021,7 @@ _restic_snapshots()
|
|||||||
local_nonpersistent_flags+=("--tag=")
|
local_nonpersistent_flags+=("--tag=")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -1013,6 +1070,7 @@ _restic_tag()
|
|||||||
local_nonpersistent_flags+=("--tag=")
|
local_nonpersistent_flags+=("--tag=")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -1050,6 +1108,7 @@ _restic_unlock()
|
|||||||
local_nonpersistent_flags+=("--remove-all")
|
local_nonpersistent_flags+=("--remove-all")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -1085,6 +1144,7 @@ _restic_version()
|
|||||||
local_nonpersistent_flags+=("--help")
|
local_nonpersistent_flags+=("--help")
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--limit-download=")
|
flags+=("--limit-download=")
|
||||||
flags+=("--limit-upload=")
|
flags+=("--limit-upload=")
|
||||||
@ -1111,6 +1171,7 @@ _restic()
|
|||||||
commands+=("backup")
|
commands+=("backup")
|
||||||
commands+=("cat")
|
commands+=("cat")
|
||||||
commands+=("check")
|
commands+=("check")
|
||||||
|
commands+=("diff")
|
||||||
commands+=("dump")
|
commands+=("dump")
|
||||||
commands+=("find")
|
commands+=("find")
|
||||||
commands+=("forget")
|
commands+=("forget")
|
||||||
@ -1137,6 +1198,7 @@ _restic()
|
|||||||
|
|
||||||
flags+=("--cacert=")
|
flags+=("--cacert=")
|
||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
|
flags+=("--cleanup-cache")
|
||||||
flags+=("--help")
|
flags+=("--help")
|
||||||
flags+=("-h")
|
flags+=("-h")
|
||||||
local_nonpersistent_flags+=("--help")
|
local_nonpersistent_flags+=("--help")
|
||||||
|
@ -76,6 +76,10 @@ given as the arguments.
|
|||||||
\fB\-\-time\fP=""
|
\fB\-\-time\fP=""
|
||||||
time of the backup (ex. '2012\-11\-01 22:08:41') (default: now)
|
time of the backup (ex. '2012\-11\-01 22:08:41') (default: now)
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-with\-atime\fP[=false]
|
||||||
|
store the atime for all files and directories
|
||||||
|
|
||||||
|
|
||||||
.SH OPTIONS INHERITED FROM PARENT COMMANDS
|
.SH OPTIONS INHERITED FROM PARENT COMMANDS
|
||||||
.PP
|
.PP
|
||||||
@ -86,6 +90,10 @@ given as the arguments.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -33,6 +33,10 @@ The "cat" command is used to print internal objects to stdout.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -50,6 +50,10 @@ repository and not use a local cache.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
92
doc/man/restic-diff.1
Normal file
92
doc/man/restic-diff.1
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
.TH "restic backup" "1" "Jan 2017" "generated by `restic generate`" ""
|
||||||
|
.nh
|
||||||
|
.ad l
|
||||||
|
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
.PP
|
||||||
|
restic\-diff \- Show differences between two snapshots
|
||||||
|
|
||||||
|
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.PP
|
||||||
|
\fBrestic diff snapshot\-ID snapshot\-ID [flags]\fP
|
||||||
|
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
.PP
|
||||||
|
The "diff" command shows differences from the first to the second snapshot. The
|
||||||
|
first characters in each line display what has happened to a particular file or
|
||||||
|
directory:
|
||||||
|
.IP \(bu 2
|
||||||
|
The item was added
|
||||||
|
.IP \(bu 2
|
||||||
|
The item was removed
|
||||||
|
U The metadata (access mode, timestamps, ...) for the item was updated
|
||||||
|
M The file's content was modified
|
||||||
|
T The type was changed, e.g. a file was made a symlink
|
||||||
|
|
||||||
|
|
||||||
|
.SH OPTIONS
|
||||||
|
.PP
|
||||||
|
\fB\-h\fP, \fB\-\-help\fP[=false]
|
||||||
|
help for diff
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-metadata\fP[=false]
|
||||||
|
print changes in metadata
|
||||||
|
|
||||||
|
|
||||||
|
.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
|
||||||
|
|
||||||
|
.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\-\-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\-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)
|
||||||
|
|
||||||
|
|
||||||
|
.SH SEE ALSO
|
||||||
|
.PP
|
||||||
|
\fBrestic(1)\fP
|
@ -50,6 +50,10 @@ repository.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -66,6 +66,10 @@ repo.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -96,6 +96,10 @@ data after 'forget' was run successfully, see the 'prune' command.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -46,6 +46,10 @@ and the auto\-completion files for bash and zsh).
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -33,6 +33,10 @@ The "init" command initializes a new repository.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -33,6 +33,10 @@ The "key" command manages keys (passwords) for accessing the repository.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -33,6 +33,10 @@ The "list" command allows listing objects in the repository based on type.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -52,6 +52,10 @@ The special snapshot\-ID "latest" can be used to list files and directories of t
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -38,6 +38,10 @@ name is explicitly given, a list of migrations that can be applied is printed.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -58,6 +58,10 @@ read\-only mount.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -34,6 +34,10 @@ referenced and therefore not needed any more.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -34,6 +34,10 @@ repository.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -62,6 +62,10 @@ repository.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -53,6 +53,10 @@ The "snapshots" command lists all snapshots stored in the repository.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -64,6 +64,10 @@ When no snapshot\-ID is given, all snapshots matching the host, tag and path fil
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -37,6 +37,10 @@ The "unlock" command removes stale locks that have been created by other restic
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -34,6 +34,10 @@ and the version of this software.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\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
|
||||||
|
@ -28,6 +28,10 @@ directories in an encrypted repository stored on different backends.
|
|||||||
\fB\-\-cache\-dir\fP=""
|
\fB\-\-cache\-dir\fP=""
|
||||||
set the cache directory
|
set the cache directory
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
|
auto remove old cache directories
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-h\fP, \fB\-\-help\fP[=false]
|
\fB\-h\fP, \fB\-\-help\fP[=false]
|
||||||
help for restic
|
help for restic
|
||||||
@ -71,4 +75,4 @@ directories in an encrypted repository stored on different backends.
|
|||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.PP
|
.PP
|
||||||
\fBrestic\-backup(1)\fP, \fBrestic\-cat(1)\fP, \fBrestic\-check(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\-snapshots(1)\fP, \fBrestic\-tag(1)\fP, \fBrestic\-unlock(1)\fP, \fBrestic\-version(1)\fP
|
\fBrestic\-backup(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\-snapshots(1)\fP, \fBrestic\-tag(1)\fP, \fBrestic\-unlock(1)\fP, \fBrestic\-version(1)\fP
|
||||||
|
@ -7,7 +7,7 @@ case $state in
|
|||||||
level1)
|
level1)
|
||||||
case $words[1] in
|
case $words[1] in
|
||||||
restic)
|
restic)
|
||||||
_arguments '1: :(backup cat check dump find forget generate help init key list ls migrate mount options prune rebuild-index restore snapshots tag unlock version)'
|
_arguments '1: :(backup cat check diff dump find forget generate help init key list ls migrate mount options prune rebuild-index restore snapshots tag unlock version)'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
_arguments '*: :_files'
|
_arguments '*: :_files'
|
||||||
|
Loading…
Reference in New Issue
Block a user