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:
parent
b567c08e80
commit
a53a4a23fd
@ -367,6 +367,10 @@ _restic_backup()
|
|||||||
flags_with_completion=()
|
flags_with_completion=()
|
||||||
flags_completion=()
|
flags_completion=()
|
||||||
|
|
||||||
|
flags+=("--dry-run")
|
||||||
|
flags+=("-n")
|
||||||
|
local_nonpersistent_flags+=("--dry-run")
|
||||||
|
local_nonpersistent_flags+=("-n")
|
||||||
flags+=("--exclude=")
|
flags+=("--exclude=")
|
||||||
two_word_flags+=("--exclude")
|
two_word_flags+=("--exclude")
|
||||||
two_word_flags+=("-e")
|
two_word_flags+=("-e")
|
||||||
@ -454,6 +458,7 @@ _restic_backup()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -519,6 +524,7 @@ _restic_cache()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -576,6 +582,7 @@ _restic_cat()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -643,6 +650,7 @@ _restic_check()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -734,6 +742,7 @@ _restic_copy()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -793,6 +802,7 @@ _restic_diff()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -870,6 +880,7 @@ _restic_dump()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -975,6 +986,7 @@ _restic_find()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -1134,6 +1146,7 @@ _restic_forget()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -1207,6 +1220,7 @@ _restic_generate()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -1260,6 +1274,7 @@ _restic_help()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -1340,6 +1355,7 @@ _restic_init()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -1409,6 +1425,7 @@ _restic_key()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -1466,6 +1483,7 @@ _restic_list()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -1543,6 +1561,7 @@ _restic_ls()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -1604,6 +1623,7 @@ _restic_migrate()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -1685,6 +1705,7 @@ _restic_mount()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -1756,6 +1777,7 @@ _restic_prune()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -1815,6 +1837,7 @@ _restic_rebuild-index()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -1872,6 +1895,7 @@ _restic_recover()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -1971,6 +1995,7 @@ _restic_restore()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -2032,6 +2057,7 @@ _restic_self-update()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -2117,6 +2143,7 @@ _restic_snapshots()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -2192,6 +2219,7 @@ _restic_stats()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -2275,6 +2303,7 @@ _restic_tag()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -2334,6 +2363,7 @@ _restic_unlock()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -2391,6 +2421,7 @@ _restic_version()
|
|||||||
flags+=("--cache-dir=")
|
flags+=("--cache-dir=")
|
||||||
two_word_flags+=("--cache-dir")
|
two_word_flags+=("--cache-dir")
|
||||||
flags+=("--cleanup-cache")
|
flags+=("--cleanup-cache")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
@ -2475,6 +2506,7 @@ _restic_root_command()
|
|||||||
flags+=("-h")
|
flags+=("-h")
|
||||||
local_nonpersistent_flags+=("--help")
|
local_nonpersistent_flags+=("--help")
|
||||||
local_nonpersistent_flags+=("-h")
|
local_nonpersistent_flags+=("-h")
|
||||||
|
flags+=("--insecure-tls")
|
||||||
flags+=("--json")
|
flags+=("--json")
|
||||||
flags+=("--key-hint=")
|
flags+=("--key-hint=")
|
||||||
two_word_flags+=("--key-hint")
|
two_word_flags+=("--key-hint")
|
||||||
|
@ -25,6 +25,10 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
|
|||||||
|
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
|
.PP
|
||||||
|
\fB\-n\fP, \fB\-\-dry\-run\fP[=false]
|
||||||
|
do not upload or write any data, just show what would be done
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-e\fP, \fB\-\-exclude\fP=[]
|
\fB\-e\fP, \fB\-\-exclude\fP=[]
|
||||||
exclude a \fB\fCpattern\fR (can be specified multiple times)
|
exclude a \fB\fCpattern\fR (can be specified multiple times)
|
||||||
@ -91,7 +95,7 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
|
|||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-parent\fP=""
|
\fB\-\-parent\fP=""
|
||||||
use this parent \fB\fCsnapshot\fR (default: last snapshot in the repo that has the same target files/directories)
|
use this parent \fB\fCsnapshot\fR (default: last snapshot in the repo that has the same target files/directories, and is not newer than the snapshot time)
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-stdin\fP[=false]
|
\fB\-\-stdin\fP[=false]
|
||||||
@ -127,6 +131,10 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -40,6 +40,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -41,7 +41,7 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-read\-data\-subset\fP=""
|
\fB\-\-read\-data\-subset\fP=""
|
||||||
read a \fB\fCsubset\fR of data packs, specified as 'n/t' for specific subset or either 'x%' or 'x.y%' for random subset
|
read a \fB\fCsubset\fR of data packs, specified as 'n/t' for specific part, or either 'x%' or 'x.y%' or a size in bytes with suffixes k/K, m/M, g/G, t/T for a random subset
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-with\-cache\fP[=false]
|
\fB\-\-with\-cache\fP[=false]
|
||||||
@ -61,6 +61,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -81,6 +81,10 @@ new destination repository using the "init" command.
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -60,6 +60,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -63,6 +63,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -85,6 +85,10 @@ It can also be used to search for restic blobs or trees for troubleshooting.
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -15,8 +15,9 @@ restic\-forget \- Remove snapshots from the repository
|
|||||||
.PP
|
.PP
|
||||||
The "forget" command removes snapshots according to a policy. Please note that
|
The "forget" command removes snapshots according to a policy. Please note that
|
||||||
this command really only deletes the snapshot object in the repository, which
|
this command really only deletes the snapshot object in the repository, which
|
||||||
is a reference to data stored there. In order to remove this (now unreferenced)
|
is a reference to data stored there. In order to remove the unreferenced data
|
||||||
data after 'forget' was run successfully, see the 'prune' command.
|
after "forget" was run successfully, see the "prune" command. Please also read
|
||||||
|
the documentation for "forget" to learn about important security considerations.
|
||||||
|
|
||||||
|
|
||||||
.SH EXIT STATUS
|
.SH EXIT STATUS
|
||||||
@ -135,6 +136,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -57,6 +57,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -40,6 +40,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -43,7 +43,7 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-H\fP, \fB\-\-host\fP=[]
|
\fB\-H\fP, \fB\-\-host\fP=[]
|
||||||
only consider snapshots for this \fB\fChost\fR, when no snapshot ID is given (can be specified multiple times)
|
only consider snapshots for this \fB\fChost\fR, when snapshot ID "latest" is given (can be specified multiple times)
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-l\fP, \fB\-\-long\fP[=false]
|
\fB\-l\fP, \fB\-\-long\fP[=false]
|
||||||
@ -51,7 +51,7 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-path\fP=[]
|
\fB\-\-path\fP=[]
|
||||||
only consider snapshots which include this (absolute) \fB\fCpath\fR, when no snapshot ID is given
|
only consider snapshots which include this (absolute) \fB\fCpath\fR, when snapshot ID "latest" is given (can be specified multiple times)
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-recursive\fP[=false]
|
\fB\-\-recursive\fP[=false]
|
||||||
@ -59,7 +59,7 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
|
|
||||||
.PP
|
.PP
|
||||||
\fB\-\-tag\fP=[]
|
\fB\-\-tag\fP=[]
|
||||||
only consider snapshots which include this \fB\fCtaglist\fR, when no snapshot ID is given
|
only consider snapshots which include this \fB\fCtaglist\fR, when snapshot ID "latest" is given (can be specified multiple times)
|
||||||
|
|
||||||
|
|
||||||
.SH OPTIONS INHERITED FROM PARENT COMMANDS
|
.SH OPTIONS INHERITED FROM PARENT COMMANDS
|
||||||
@ -75,6 +75,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -45,6 +45,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -100,6 +100,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -57,6 +57,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -45,6 +45,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
.PP
|
.PP
|
||||||
restic\-recover \- Recover data from the repository
|
restic\-recover \- Recover data from the repository not referenced by snapshots
|
||||||
|
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@ -14,8 +14,8 @@ restic\-recover \- Recover data from the repository
|
|||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.PP
|
.PP
|
||||||
The "recover" command builds a new snapshot from all directories it can find in
|
The "recover" command builds 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
|
the raw data of the repository which are not referenced in an existing snapshot.
|
||||||
been removed by accident with "forget".
|
It can be used if, for example, a snapshot has been removed by accident with "forget".
|
||||||
|
|
||||||
|
|
||||||
.SH EXIT STATUS
|
.SH EXIT STATUS
|
||||||
@ -42,6 +42,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -81,6 +81,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -47,6 +47,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -86,6 +86,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -71,6 +71,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -44,6 +44,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
@ -41,6 +41,10 @@ Exit status is 0 if the command was successful, and non\-zero if there was any e
|
|||||||
\fB\-\-cleanup\-cache\fP[=false]
|
\fB\-\-cleanup\-cache\fP[=false]
|
||||||
auto remove old cache directories
|
auto remove old cache directories
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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 @@ directories in an encrypted repository stored on different backends.
|
|||||||
\fB\-h\fP, \fB\-\-help\fP[=false]
|
\fB\-h\fP, \fB\-\-help\fP[=false]
|
||||||
help for restic
|
help for restic
|
||||||
|
|
||||||
|
.PP
|
||||||
|
\fB\-\-insecure\-tls\fP[=false]
|
||||||
|
skip TLS certificate verification when connecting to the repo (insecure)
|
||||||
|
|
||||||
.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
|
||||||
|
Loading…
Reference in New Issue
Block a user