mirror of
https://github.com/restic/restic.git
synced 2024-12-21 23:33:03 +00:00
Update manpages and auto-completion
This commit is contained in:
parent
d8870a2f73
commit
a98370cc9e
38 changed files with 680 additions and 3 deletions
|
@ -516,6 +516,8 @@ _restic_backup()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -592,6 +594,8 @@ _restic_cache()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -660,6 +664,8 @@ _restic_cat()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -667,6 +673,15 @@ _restic_cat()
|
|||
|
||||
must_have_one_flag=()
|
||||
must_have_one_noun=()
|
||||
must_have_one_noun+=("blob")
|
||||
must_have_one_noun+=("config")
|
||||
must_have_one_noun+=("index")
|
||||
must_have_one_noun+=("key")
|
||||
must_have_one_noun+=("lock")
|
||||
must_have_one_noun+=("masterkey")
|
||||
must_have_one_noun+=("pack")
|
||||
must_have_one_noun+=("snapshot")
|
||||
must_have_one_noun+=("tree")
|
||||
noun_aliases=()
|
||||
}
|
||||
|
||||
|
@ -736,6 +751,8 @@ _restic_check()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -840,6 +857,8 @@ _restic_copy()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -910,6 +929,8 @@ _restic_diff()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -1004,6 +1025,78 @@ _restic_dump()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
flags+=("-v")
|
||||
|
||||
must_have_one_flag=()
|
||||
must_have_one_noun=()
|
||||
noun_aliases=()
|
||||
}
|
||||
|
||||
_restic_features()
|
||||
{
|
||||
last_command="restic_features"
|
||||
|
||||
command_aliases=()
|
||||
|
||||
commands=()
|
||||
|
||||
flags=()
|
||||
two_word_flags=()
|
||||
local_nonpersistent_flags=()
|
||||
flags_with_completion=()
|
||||
flags_completion=()
|
||||
|
||||
flags+=("--help")
|
||||
flags+=("-h")
|
||||
local_nonpersistent_flags+=("--help")
|
||||
local_nonpersistent_flags+=("-h")
|
||||
flags+=("--cacert=")
|
||||
two_word_flags+=("--cacert")
|
||||
flags+=("--cache-dir=")
|
||||
two_word_flags+=("--cache-dir")
|
||||
flags+=("--cleanup-cache")
|
||||
flags+=("--compression=")
|
||||
two_word_flags+=("--compression")
|
||||
flags+=("--http-user-agent=")
|
||||
two_word_flags+=("--http-user-agent")
|
||||
flags+=("--insecure-no-password")
|
||||
flags+=("--insecure-tls")
|
||||
flags+=("--json")
|
||||
flags+=("--key-hint=")
|
||||
two_word_flags+=("--key-hint")
|
||||
flags+=("--limit-download=")
|
||||
two_word_flags+=("--limit-download")
|
||||
flags+=("--limit-upload=")
|
||||
two_word_flags+=("--limit-upload")
|
||||
flags+=("--no-cache")
|
||||
flags+=("--no-extra-verify")
|
||||
flags+=("--no-lock")
|
||||
flags+=("--option=")
|
||||
two_word_flags+=("--option")
|
||||
two_word_flags+=("-o")
|
||||
flags+=("--pack-size=")
|
||||
two_word_flags+=("--pack-size")
|
||||
flags+=("--password-command=")
|
||||
two_word_flags+=("--password-command")
|
||||
flags+=("--password-file=")
|
||||
two_word_flags+=("--password-file")
|
||||
two_word_flags+=("-p")
|
||||
flags+=("--quiet")
|
||||
flags+=("-q")
|
||||
flags+=("--repo=")
|
||||
two_word_flags+=("--repo")
|
||||
two_word_flags+=("-r")
|
||||
flags+=("--repository-file=")
|
||||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -1122,6 +1215,8 @@ _restic_find()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -1298,6 +1393,8 @@ _restic_forget()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -1386,6 +1483,8 @@ _restic_generate()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -1450,6 +1549,8 @@ _restic_help()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -1547,6 +1648,8 @@ _restic_init()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -1629,6 +1732,8 @@ _restic_key_add()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -1693,6 +1798,8 @@ _restic_key_help()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -1762,6 +1869,8 @@ _restic_key_list()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -1844,6 +1953,8 @@ _restic_key_passwd()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -1912,6 +2023,8 @@ _restic_key_remove()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -1985,6 +2098,8 @@ _restic_key()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -2053,6 +2168,8 @@ _restic_list()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -2145,6 +2262,8 @@ _restic_ls()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -2217,6 +2336,8 @@ _restic_migrate()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -2313,6 +2434,78 @@ _restic_mount()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
flags+=("-v")
|
||||
|
||||
must_have_one_flag=()
|
||||
must_have_one_noun=()
|
||||
noun_aliases=()
|
||||
}
|
||||
|
||||
_restic_options()
|
||||
{
|
||||
last_command="restic_options"
|
||||
|
||||
command_aliases=()
|
||||
|
||||
commands=()
|
||||
|
||||
flags=()
|
||||
two_word_flags=()
|
||||
local_nonpersistent_flags=()
|
||||
flags_with_completion=()
|
||||
flags_completion=()
|
||||
|
||||
flags+=("--help")
|
||||
flags+=("-h")
|
||||
local_nonpersistent_flags+=("--help")
|
||||
local_nonpersistent_flags+=("-h")
|
||||
flags+=("--cacert=")
|
||||
two_word_flags+=("--cacert")
|
||||
flags+=("--cache-dir=")
|
||||
two_word_flags+=("--cache-dir")
|
||||
flags+=("--cleanup-cache")
|
||||
flags+=("--compression=")
|
||||
two_word_flags+=("--compression")
|
||||
flags+=("--http-user-agent=")
|
||||
two_word_flags+=("--http-user-agent")
|
||||
flags+=("--insecure-no-password")
|
||||
flags+=("--insecure-tls")
|
||||
flags+=("--json")
|
||||
flags+=("--key-hint=")
|
||||
two_word_flags+=("--key-hint")
|
||||
flags+=("--limit-download=")
|
||||
two_word_flags+=("--limit-download")
|
||||
flags+=("--limit-upload=")
|
||||
two_word_flags+=("--limit-upload")
|
||||
flags+=("--no-cache")
|
||||
flags+=("--no-extra-verify")
|
||||
flags+=("--no-lock")
|
||||
flags+=("--option=")
|
||||
two_word_flags+=("--option")
|
||||
two_word_flags+=("-o")
|
||||
flags+=("--pack-size=")
|
||||
two_word_flags+=("--pack-size")
|
||||
flags+=("--password-command=")
|
||||
two_word_flags+=("--password-command")
|
||||
flags+=("--password-file=")
|
||||
two_word_flags+=("--password-file")
|
||||
two_word_flags+=("-p")
|
||||
flags+=("--quiet")
|
||||
flags+=("-q")
|
||||
flags+=("--repo=")
|
||||
two_word_flags+=("--repo")
|
||||
two_word_flags+=("-r")
|
||||
flags+=("--repository-file=")
|
||||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -2403,6 +2596,8 @@ _restic_prune()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -2471,6 +2666,8 @@ _restic_recover()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -2535,6 +2732,8 @@ _restic_repair_help()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -2606,6 +2805,8 @@ _restic_repair_index()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -2674,6 +2875,8 @@ _restic_repair_packs()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -2762,6 +2965,8 @@ _restic_repair_snapshots()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -2834,6 +3039,8 @@ _restic_repair()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -2970,6 +3177,8 @@ _restic_restore()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -3084,6 +3293,8 @@ _restic_rewrite()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -3156,6 +3367,8 @@ _restic_self-update()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -3252,6 +3465,8 @@ _restic_snapshots()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -3288,6 +3503,8 @@ _restic_stats()
|
|||
local_nonpersistent_flags+=("-H")
|
||||
flags+=("--mode=")
|
||||
two_word_flags+=("--mode")
|
||||
flags_with_completion+=("--mode")
|
||||
flags_completion+=("__restic_handle_go_custom_completion")
|
||||
local_nonpersistent_flags+=("--mode")
|
||||
local_nonpersistent_flags+=("--mode=")
|
||||
flags+=("--path=")
|
||||
|
@ -3338,6 +3555,8 @@ _restic_stats()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -3432,6 +3651,8 @@ _restic_tag()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -3502,6 +3723,8 @@ _restic_unlock()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -3570,6 +3793,8 @@ _restic_version()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
@ -3594,6 +3819,7 @@ _restic_root_command()
|
|||
commands+=("copy")
|
||||
commands+=("diff")
|
||||
commands+=("dump")
|
||||
commands+=("features")
|
||||
commands+=("find")
|
||||
commands+=("forget")
|
||||
commands+=("generate")
|
||||
|
@ -3604,6 +3830,7 @@ _restic_root_command()
|
|||
commands+=("ls")
|
||||
commands+=("migrate")
|
||||
commands+=("mount")
|
||||
commands+=("options")
|
||||
commands+=("prune")
|
||||
commands+=("recover")
|
||||
commands+=("repair")
|
||||
|
@ -3666,6 +3893,8 @@ _restic_root_command()
|
|||
two_word_flags+=("--repository-file")
|
||||
flags+=("--retry-lock=")
|
||||
two_word_flags+=("--retry-lock")
|
||||
flags+=("--stuck-request-timeout=")
|
||||
two_word_flags+=("--stuck-request-timeout")
|
||||
flags+=("--tls-client-cert=")
|
||||
two_word_flags+=("--tls-client-cert")
|
||||
flags+=("--verbose")
|
||||
|
|
|
@ -24,6 +24,7 @@ Exit status is 1 if there was a fatal error (no snapshot created).
|
|||
Exit status is 3 if some source data could not be read (incomplete snapshot created).
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -229,6 +230,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -129,6 +129,10 @@ Exit status is 1 if there was any error.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -22,6 +22,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -119,6 +120,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -27,6 +27,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -136,6 +137,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -36,12 +36,13 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fB--from-insecure-no-password\fP[=false]
|
||||
use an empty password for the source repository, must be passed to every restic command (insecure)
|
||||
use an empty password for the source repository (insecure)
|
||||
|
||||
.PP
|
||||
\fB--from-key-hint\fP=""
|
||||
|
@ -169,6 +170,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -49,6 +49,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -150,6 +151,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -34,6 +34,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -151,6 +152,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
146
doc/man/restic-features.1
Normal file
146
doc/man/restic-features.1
Normal file
|
@ -0,0 +1,146 @@
|
|||
.nh
|
||||
.TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
|
||||
|
||||
.SH NAME
|
||||
.PP
|
||||
restic-features - Print list of feature flags
|
||||
|
||||
|
||||
.SH SYNOPSIS
|
||||
.PP
|
||||
\fBrestic features [flags]\fP
|
||||
|
||||
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
The "features" command prints a list of supported feature flags.
|
||||
|
||||
.PP
|
||||
To pass feature flags to restic, set the RESTIC_FEATURES environment variable
|
||||
to "featureA=true,featureB=false". Specifying an unknown feature flag is an error.
|
||||
|
||||
.PP
|
||||
A feature can either be in alpha, beta, stable or deprecated state.
|
||||
An \fIalpha\fP feature is disabled by default and may change in arbitrary ways between restic versions or be removed.
|
||||
A \fIbeta\fP feature is enabled by default, but still can change in minor ways or be removed.
|
||||
A \fIstable\fP feature is always enabled and cannot be disabled. The flag will be removed in a future restic version.
|
||||
A \fIdeprecated\fP feature is always disabled and cannot be enabled. The flag will be removed in a future restic version.
|
||||
|
||||
|
||||
.SH EXIT STATUS
|
||||
.PP
|
||||
Exit status is 0 if the command was successful.
|
||||
Exit status is 1 if there was any error.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fB-h\fP, \fB--help\fP[=false]
|
||||
help for features
|
||||
|
||||
|
||||
.SH OPTIONS INHERITED FROM PARENT COMMANDS
|
||||
.PP
|
||||
\fB--cacert\fP=[]
|
||||
\fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
|
||||
|
||||
.PP
|
||||
\fB--cache-dir\fP=""
|
||||
set the cache \fBdirectory\fR\&. (default: use system default cache directory)
|
||||
|
||||
.PP
|
||||
\fB--cleanup-cache\fP[=false]
|
||||
auto remove old cache directories
|
||||
|
||||
.PP
|
||||
\fB--compression\fP=auto
|
||||
compression mode (only available for repository format version 2), one of (auto|off|max) (default: $RESTIC_COMPRESSION)
|
||||
|
||||
.PP
|
||||
\fB--http-user-agent\fP=""
|
||||
set a http user agent for outgoing http requests
|
||||
|
||||
.PP
|
||||
\fB--insecure-no-password\fP[=false]
|
||||
use an empty password for the repository, must be passed to every restic command (insecure)
|
||||
|
||||
.PP
|
||||
\fB--insecure-tls\fP[=false]
|
||||
skip TLS certificate verification when connecting to the repository (insecure)
|
||||
|
||||
.PP
|
||||
\fB--json\fP[=false]
|
||||
set output mode to JSON for commands that support it
|
||||
|
||||
.PP
|
||||
\fB--key-hint\fP=""
|
||||
\fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
|
||||
|
||||
.PP
|
||||
\fB--limit-download\fP=0
|
||||
limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
|
||||
|
||||
.PP
|
||||
\fB--limit-upload\fP=0
|
||||
limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
|
||||
|
||||
.PP
|
||||
\fB--no-cache\fP[=false]
|
||||
do not use a local cache
|
||||
|
||||
.PP
|
||||
\fB--no-extra-verify\fP[=false]
|
||||
skip additional verification of data before upload (see documentation)
|
||||
|
||||
.PP
|
||||
\fB--no-lock\fP[=false]
|
||||
do not lock the repository, this allows some operations on read-only repositories
|
||||
|
||||
.PP
|
||||
\fB-o\fP, \fB--option\fP=[]
|
||||
set extended option (\fBkey=value\fR, can be specified multiple times)
|
||||
|
||||
.PP
|
||||
\fB--pack-size\fP=0
|
||||
set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
|
||||
|
||||
.PP
|
||||
\fB--password-command\fP=""
|
||||
shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
|
||||
|
||||
.PP
|
||||
\fB-p\fP, \fB--password-file\fP=""
|
||||
\fBfile\fR to read the repository password from (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=""
|
||||
\fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
|
||||
|
||||
.PP
|
||||
\fB--repository-file\fP=""
|
||||
\fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
|
||||
|
||||
.PP
|
||||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
||||
.PP
|
||||
\fB-v\fP, \fB--verbose\fP[=0]
|
||||
be verbose (specify multiple times or a level using --verbose=n``, max level/times is 2)
|
||||
|
||||
|
||||
.SH SEE ALSO
|
||||
.PP
|
||||
\fBrestic(1)\fP
|
|
@ -165,6 +165,10 @@ It can also be used to search for restic blobs or trees for troubleshooting.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
@ -190,6 +194,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
.EE
|
||||
|
||||
|
|
|
@ -36,6 +36,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -237,6 +238,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -138,6 +138,10 @@ Exit status is 1 if there was any error.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -29,7 +29,7 @@ Exit status is 1 if there was any error.
|
|||
|
||||
.PP
|
||||
\fB--from-insecure-no-password\fP[=false]
|
||||
use an empty password for the source repository, must be passed to every restic command (insecure)
|
||||
use an empty password for the source repository (insecure)
|
||||
|
||||
.PP
|
||||
\fB--from-key-hint\fP=""
|
||||
|
@ -149,6 +149,10 @@ Exit status is 1 if there was any error.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -22,6 +22,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -135,6 +136,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -24,6 +24,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -121,6 +122,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -23,6 +23,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -136,6 +137,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -23,6 +23,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -120,6 +121,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -112,6 +112,10 @@ per repository.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -22,6 +22,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -119,6 +120,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -37,6 +37,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -162,6 +163,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -24,6 +24,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -125,6 +126,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -64,6 +64,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -193,6 +194,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
135
doc/man/restic-options.1
Normal file
135
doc/man/restic-options.1
Normal file
|
@ -0,0 +1,135 @@
|
|||
.nh
|
||||
.TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
|
||||
|
||||
.SH NAME
|
||||
.PP
|
||||
restic-options - Print list of extended options
|
||||
|
||||
|
||||
.SH SYNOPSIS
|
||||
.PP
|
||||
\fBrestic options [flags]\fP
|
||||
|
||||
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
The "options" command prints a list of extended options.
|
||||
|
||||
|
||||
.SH EXIT STATUS
|
||||
.PP
|
||||
Exit status is 0 if the command was successful.
|
||||
Exit status is 1 if there was any error.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
\fB-h\fP, \fB--help\fP[=false]
|
||||
help for options
|
||||
|
||||
|
||||
.SH OPTIONS INHERITED FROM PARENT COMMANDS
|
||||
.PP
|
||||
\fB--cacert\fP=[]
|
||||
\fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
|
||||
|
||||
.PP
|
||||
\fB--cache-dir\fP=""
|
||||
set the cache \fBdirectory\fR\&. (default: use system default cache directory)
|
||||
|
||||
.PP
|
||||
\fB--cleanup-cache\fP[=false]
|
||||
auto remove old cache directories
|
||||
|
||||
.PP
|
||||
\fB--compression\fP=auto
|
||||
compression mode (only available for repository format version 2), one of (auto|off|max) (default: $RESTIC_COMPRESSION)
|
||||
|
||||
.PP
|
||||
\fB--http-user-agent\fP=""
|
||||
set a http user agent for outgoing http requests
|
||||
|
||||
.PP
|
||||
\fB--insecure-no-password\fP[=false]
|
||||
use an empty password for the repository, must be passed to every restic command (insecure)
|
||||
|
||||
.PP
|
||||
\fB--insecure-tls\fP[=false]
|
||||
skip TLS certificate verification when connecting to the repository (insecure)
|
||||
|
||||
.PP
|
||||
\fB--json\fP[=false]
|
||||
set output mode to JSON for commands that support it
|
||||
|
||||
.PP
|
||||
\fB--key-hint\fP=""
|
||||
\fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
|
||||
|
||||
.PP
|
||||
\fB--limit-download\fP=0
|
||||
limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
|
||||
|
||||
.PP
|
||||
\fB--limit-upload\fP=0
|
||||
limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
|
||||
|
||||
.PP
|
||||
\fB--no-cache\fP[=false]
|
||||
do not use a local cache
|
||||
|
||||
.PP
|
||||
\fB--no-extra-verify\fP[=false]
|
||||
skip additional verification of data before upload (see documentation)
|
||||
|
||||
.PP
|
||||
\fB--no-lock\fP[=false]
|
||||
do not lock the repository, this allows some operations on read-only repositories
|
||||
|
||||
.PP
|
||||
\fB-o\fP, \fB--option\fP=[]
|
||||
set extended option (\fBkey=value\fR, can be specified multiple times)
|
||||
|
||||
.PP
|
||||
\fB--pack-size\fP=0
|
||||
set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
|
||||
|
||||
.PP
|
||||
\fB--password-command\fP=""
|
||||
shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
|
||||
|
||||
.PP
|
||||
\fB-p\fP, \fB--password-file\fP=""
|
||||
\fBfile\fR to read the repository password from (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=""
|
||||
\fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
|
||||
|
||||
.PP
|
||||
\fB--repository-file\fP=""
|
||||
\fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
|
||||
|
||||
.PP
|
||||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
||||
.PP
|
||||
\fB-v\fP, \fB--verbose\fP[=0]
|
||||
be verbose (specify multiple times or a level using --verbose=n``, max level/times is 2)
|
||||
|
||||
|
||||
.SH SEE ALSO
|
||||
.PP
|
||||
\fBrestic(1)\fP
|
|
@ -23,6 +23,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -148,6 +149,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -24,6 +24,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -121,6 +122,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -23,6 +23,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -124,6 +125,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -23,6 +23,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -120,6 +121,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -41,6 +41,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -158,6 +159,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -111,6 +111,10 @@ Repair the repository
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -31,6 +31,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -196,6 +197,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -39,6 +39,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -180,6 +181,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -25,6 +25,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -126,6 +127,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -22,6 +22,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -143,6 +144,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -52,6 +52,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -165,6 +166,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -29,6 +29,7 @@ Exit status is 0 if the command was successful.
|
|||
Exit status is 1 if there was any error.
|
||||
Exit status is 10 if the repository does not exist.
|
||||
Exit status is 11 if the repository is already locked.
|
||||
Exit status is 12 if the password is incorrect.
|
||||
|
||||
|
||||
.SH OPTIONS
|
||||
|
@ -150,6 +151,10 @@ Exit status is 11 if the repository is already locked.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -121,6 +121,10 @@ Exit status is 1 if there was any error.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -118,6 +118,10 @@ Exit status is 1 if there was any error.
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
|
|
@ -113,6 +113,10 @@ The full documentation can be found at https://restic.readthedocs.io/ .
|
|||
\fB--retry-lock\fP=0s
|
||||
retry to lock the repository if it is already locked, takes a value like 5m or 2h (default: no retries)
|
||||
|
||||
.PP
|
||||
\fB--stuck-request-timeout\fP=5m0s
|
||||
\fBduration\fR after which to retry stuck requests
|
||||
|
||||
.PP
|
||||
\fB--tls-client-cert\fP=""
|
||||
path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
|
||||
|
@ -124,4 +128,4 @@ The full documentation can be found at https://restic.readthedocs.io/ .
|
|||
|
||||
.SH SEE ALSO
|
||||
.PP
|
||||
\fBrestic-backup(1)\fP, \fBrestic-cache(1)\fP, \fBrestic-cat(1)\fP, \fBrestic-check(1)\fP, \fBrestic-copy(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-recover(1)\fP, \fBrestic-repair(1)\fP, \fBrestic-restore(1)\fP, \fBrestic-rewrite(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-copy(1)\fP, \fBrestic-diff(1)\fP, \fBrestic-dump(1)\fP, \fBrestic-features(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-options(1)\fP, \fBrestic-prune(1)\fP, \fBrestic-recover(1)\fP, \fBrestic-repair(1)\fP, \fBrestic-restore(1)\fP, \fBrestic-rewrite(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
|
||||
|
|
Loading…
Reference in a new issue