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:
parent
6e89963c21
commit
c029881379
@ -277,6 +277,10 @@ _restic_backup()
|
|||||||
flags+=("--host=")
|
flags+=("--host=")
|
||||||
two_word_flags+=("-H")
|
two_word_flags+=("-H")
|
||||||
local_nonpersistent_flags+=("--host=")
|
local_nonpersistent_flags+=("--host=")
|
||||||
|
flags+=("--iexclude=")
|
||||||
|
local_nonpersistent_flags+=("--iexclude=")
|
||||||
|
flags+=("--ignore-inode")
|
||||||
|
local_nonpersistent_flags+=("--ignore-inode")
|
||||||
flags+=("--one-file-system")
|
flags+=("--one-file-system")
|
||||||
flags+=("-x")
|
flags+=("-x")
|
||||||
local_nonpersistent_flags+=("--one-file-system")
|
local_nonpersistent_flags+=("--one-file-system")
|
||||||
@ -1222,6 +1226,10 @@ _restic_restore()
|
|||||||
flags+=("--host=")
|
flags+=("--host=")
|
||||||
two_word_flags+=("-H")
|
two_word_flags+=("-H")
|
||||||
local_nonpersistent_flags+=("--host=")
|
local_nonpersistent_flags+=("--host=")
|
||||||
|
flags+=("--iexclude=")
|
||||||
|
local_nonpersistent_flags+=("--iexclude=")
|
||||||
|
flags+=("--iinclude=")
|
||||||
|
local_nonpersistent_flags+=("--iinclude=")
|
||||||
flags+=("--include=")
|
flags+=("--include=")
|
||||||
two_word_flags+=("-i")
|
two_word_flags+=("-i")
|
||||||
local_nonpersistent_flags+=("--include=")
|
local_nonpersistent_flags+=("--include=")
|
||||||
@ -1324,6 +1332,9 @@ _restic_snapshots()
|
|||||||
flags+=("--compact")
|
flags+=("--compact")
|
||||||
flags+=("-c")
|
flags+=("-c")
|
||||||
local_nonpersistent_flags+=("--compact")
|
local_nonpersistent_flags+=("--compact")
|
||||||
|
flags+=("--group-by=")
|
||||||
|
two_word_flags+=("-g")
|
||||||
|
local_nonpersistent_flags+=("--group-by=")
|
||||||
flags+=("--help")
|
flags+=("--help")
|
||||||
flags+=("-h")
|
flags+=("-h")
|
||||||
local_nonpersistent_flags+=("--help")
|
local_nonpersistent_flags+=("--help")
|
||||||
|
@ -26,7 +26,8 @@ given as the arguments.
|
|||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-exclude\-caches\fP[=false]
|
\fB\-\-exclude\-caches\fP[=false]
|
||||||
excludes cache directories that are marked with a CACHEDIR.TAG file. See http://bford.info/cachedir/spec.html for the Cache Directory Tagging Standard
|
excludes cache directories that are marked with a CACHEDIR.TAG file. See
|
||||||
|
\[la]http://bford.info/cachedir/spec.html\[ra] for the Cache Directory Tagging Standard
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-exclude\-file\fP=[]
|
\fB\-\-exclude\-file\fP=[]
|
||||||
@ -52,6 +53,14 @@ given as the arguments.
|
|||||||
\fB\-H\fP, \fB\-\-host\fP=""
|
\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
|
||||||
|
\fB\-\-iexclude\fP=[]
|
||||||
|
same as \fB\fC\-\-exclude\fR but ignores the casing of filenames
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-ignore\-inode\fP[=false]
|
||||||
|
ignore inode number changes when checking for modified files
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-x\fP, \fB\-\-one\-file\-system\fP[=false]
|
\fB\-x\fP, \fB\-\-one\-file\-system\fP[=false]
|
||||||
exclude other file systems
|
exclude other file systems
|
||||||
|
@ -59,7 +59,7 @@ It can also be used to search for restic blobs or trees for troubleshooting.
|
|||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-show\-pack\-id\fP[=false]
|
\fB\-\-show\-pack\-id\fP[=false]
|
||||||
display the pack\-ID the blobs belong to (with \-\-blob)
|
display the pack\-ID the blobs belong to (with \-\-blob or \-\-tree)
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-s\fP, \fB\-\-snapshot\fP=[]
|
\fB\-s\fP, \fB\-\-snapshot\fP=[]
|
||||||
|
@ -36,6 +36,14 @@ repository.
|
|||||||
\fB\-H\fP, \fB\-\-host\fP=""
|
\fB\-H\fP, \fB\-\-host\fP=""
|
||||||
only consider snapshots for this host when the snapshot ID is "latest"
|
only consider snapshots for this host when the snapshot ID is "latest"
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-iexclude\fP=[]
|
||||||
|
same as \fB\fC\-\-exclude\fR but ignores the casing of filenames
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-iinclude\fP=[]
|
||||||
|
same as \fB\fC\-\-include\fR but ignores the casing of filenames
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-i\fP, \fB\-\-include\fP=[]
|
\fB\-i\fP, \fB\-\-include\fP=[]
|
||||||
include a \fB\fCpattern\fR, exclude everything else (can be specified multiple times)
|
include a \fB\fCpattern\fR, exclude everything else (can be specified multiple times)
|
||||||
|
@ -23,6 +23,10 @@ The "snapshots" command lists all snapshots stored in the repository.
|
|||||||
\fB\-c\fP, \fB\-\-compact\fP[=false]
|
\fB\-c\fP, \fB\-\-compact\fP[=false]
|
||||||
use compact format
|
use compact format
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-g\fP, \fB\-\-group\-by\fP=""
|
||||||
|
string for grouping snapshots by host,paths,tags
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-h\fP, \fB\-\-help\fP[=false]
|
\fB\-h\fP, \fB\-\-help\fP[=false]
|
||||||
help for snapshots
|
help for snapshots
|
||||||
|
@ -41,11 +41,11 @@ how many files reference them.
|
|||||||
.IP \(bu 2
|
.IP \(bu 2
|
||||||
blobs\-per\-file: A combination of files\-by\-contents and raw\-data.
|
blobs\-per\-file: A combination of files\-by\-contents and raw\-data.
|
||||||
|
|
||||||
|
.RE
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
Refer to the online manual for more details about each mode.
|
Refer to the online manual for more details about each mode.
|
||||||
|
|
||||||
.RE
|
|
||||||
|
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.PP
|
.PP
|
||||||
|
Loading…
Reference in New Issue
Block a user