2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-25 22:27:35 +00:00

Update manpages and auto-completion

This commit is contained in:
Alexander Neumann 2023-10-24 20:02:55 +02:00
parent be1b978ac8
commit 524c2721b4
32 changed files with 707 additions and 518 deletions

View File

@ -2156,6 +2156,70 @@ _restic_repair_index()
noun_aliases=() noun_aliases=()
} }
_restic_repair_packs()
{
last_command="restic_repair_packs"
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+=("--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-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+=("--tls-client-cert=")
two_word_flags+=("--tls-client-cert")
flags+=("--verbose")
flags+=("-v")
must_have_one_flag=()
must_have_one_noun=()
noun_aliases=()
}
_restic_repair_snapshots() _restic_repair_snapshots()
{ {
last_command="restic_repair_snapshots" last_command="restic_repair_snapshots"
@ -2249,6 +2313,7 @@ _restic_repair()
commands=() commands=()
commands+=("help") commands+=("help")
commands+=("index") commands+=("index")
commands+=("packs")
commands+=("snapshots") commands+=("snapshots")
flags=() flags=()

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -31,7 +31,7 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
.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 \fBpattern\fR (can be specified multiple times)
.PP .PP
\fB--exclude-caches\fP[=false] \fB--exclude-caches\fP[=false]
@ -39,27 +39,27 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
.PP .PP
\fB--exclude-file\fP=[] \fB--exclude-file\fP=[]
read exclude patterns from a \fB\fCfile\fR (can be specified multiple times) read exclude patterns from a \fBfile\fR (can be specified multiple times)
.PP .PP
\fB--exclude-if-present\fP=[] \fB--exclude-if-present\fP=[]
takes \fB\fCfilename[:header]\fR, exclude contents of directories containing filename (except filename itself) if header of that file is as provided (can be specified multiple times) takes \fBfilename[:header]\fR, exclude contents of directories containing filename (except filename itself) if header of that file is as provided (can be specified multiple times)
.PP .PP
\fB--exclude-larger-than\fP="" \fB--exclude-larger-than\fP=""
max \fB\fCsize\fR of the files to be backed up (allowed suffixes: k/K, m/M, g/G, t/T) max \fBsize\fR of the files to be backed up (allowed suffixes: k/K, m/M, g/G, t/T)
.PP .PP
\fB--files-from\fP=[] \fB--files-from\fP=[]
read the files to backup from \fB\fCfile\fR (can be combined with file args; can be specified multiple times) read the files to backup from \fBfile\fR (can be combined with file args; can be specified multiple times)
.PP .PP
\fB--files-from-raw\fP=[] \fB--files-from-raw\fP=[]
read the files to backup from \fB\fCfile\fR (can be combined with file args; can be specified multiple times) read the files to backup from \fBfile\fR (can be combined with file args; can be specified multiple times)
.PP .PP
\fB--files-from-verbatim\fP=[] \fB--files-from-verbatim\fP=[]
read the files to backup from \fB\fCfile\fR (can be combined with file args; can be specified multiple times) read the files to backup from \fBfile\fR (can be combined with file args; can be specified multiple times)
.PP .PP
\fB-f\fP, \fB--force\fP[=false] \fB-f\fP, \fB--force\fP[=false]
@ -67,7 +67,7 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
.PP .PP
\fB-g\fP, \fB--group-by\fP=host,paths \fB-g\fP, \fB--group-by\fP=host,paths
\fB\fCgroup\fR snapshots by host, paths and/or tags, separated by comma (disable grouping with '') \fBgroup\fR snapshots by host, paths and/or tags, separated by comma (disable grouping with '')
.PP .PP
\fB-h\fP, \fB--help\fP[=false] \fB-h\fP, \fB--help\fP[=false]
@ -75,15 +75,15 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
.PP .PP
\fB-H\fP, \fB--host\fP="" \fB-H\fP, \fB--host\fP=""
set the \fB\fChostname\fR for the snapshot manually. To prevent an expensive rescan use the "parent" flag set the \fBhostname\fR for the snapshot manually. To prevent an expensive rescan use the "parent" flag
.PP .PP
\fB--iexclude\fP=[] \fB--iexclude\fP=[]
same as --exclude \fB\fCpattern\fR but ignores the casing of filenames same as --exclude \fBpattern\fR but ignores the casing of filenames
.PP .PP
\fB--iexclude-file\fP=[] \fB--iexclude-file\fP=[]
same as --exclude-file but ignores casing of \fB\fCfile\fRnames in patterns same as --exclude-file but ignores casing of \fBfile\fRnames in patterns
.PP .PP
\fB--ignore-ctime\fP[=false] \fB--ignore-ctime\fP[=false]
@ -103,11 +103,11 @@ 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: latest snapshot in the group determined by --group-by and not newer than the timestamp determined by --time) use this parent \fBsnapshot\fR (default: latest snapshot in the group determined by --group-by and not newer than the timestamp determined by --time)
.PP .PP
\fB--read-concurrency\fP=0 \fB--read-concurrency\fP=0
read \fB\fCn\fR files concurrently (default: $RESTIC_READ_CONCURRENCY or 2) read \fBn\fR files concurrently (default: $RESTIC_READ_CONCURRENCY or 2)
.PP .PP
\fB--stdin\fP[=false] \fB--stdin\fP[=false]
@ -115,15 +115,15 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
.PP .PP
\fB--stdin-filename\fP="stdin" \fB--stdin-filename\fP="stdin"
\fB\fCfilename\fR to use when reading from stdin \fBfilename\fR to use when reading from stdin
.PP .PP
\fB--tag\fP=[] \fB--tag\fP=[]
add \fB\fCtags\fR for the new snapshot in the format \fB\fCtag[,tag,...]\fR (can be specified multiple times) add \fBtags\fR for the new snapshot in the format \fBtag[,tag,...]\fR (can be specified multiple times)
.PP .PP
\fB--time\fP="" \fB--time\fP=""
\fB\fCtime\fR of the backup (ex. '2012-11-01 22:08:41') (default: now) \fBtime\fR of the backup (ex. '2012-11-01 22:08:41') (default: now)
.PP .PP
\fB--with-atime\fP[=false] \fB--with-atime\fP[=false]
@ -133,11 +133,11 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -157,15 +157,15 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -177,19 +177,19 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -197,11 +197,11 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -209,7 +209,7 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -32,7 +32,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--max-age\fP=30 \fB--max-age\fP=30
max age in \fB\fCdays\fR for cache directories to be considered old max age in \fBdays\fR for cache directories to be considered old
.PP .PP
\fB--no-size\fP[=false] \fB--no-size\fP[=false]
@ -42,11 +42,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -66,15 +66,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -86,19 +86,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -106,11 +106,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -118,7 +118,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -30,11 +30,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -54,15 +54,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -74,19 +74,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -94,11 +94,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -106,7 +106,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -37,7 +37,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.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 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 read a \fBsubset\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]
@ -47,11 +47,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -71,15 +71,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -91,19 +91,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -111,11 +111,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -123,7 +123,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -37,19 +37,19 @@ new destination repository using the "init" command.
.PP .PP
\fB--from-password-command\fP="" \fB--from-password-command\fP=""
shell \fB\fCcommand\fR to obtain the source repository password from (default: $RESTIC_FROM_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the source repository password from (default: $RESTIC_FROM_PASSWORD_COMMAND)
.PP .PP
\fB--from-password-file\fP="" \fB--from-password-file\fP=""
\fB\fCfile\fR to read the source repository password from (default: $RESTIC_FROM_PASSWORD_FILE) \fBfile\fR to read the source repository password from (default: $RESTIC_FROM_PASSWORD_FILE)
.PP .PP
\fB--from-repo\fP="" \fB--from-repo\fP=""
source \fB\fCrepository\fR to copy snapshots from (default: $RESTIC_FROM_REPOSITORY) source \fBrepository\fR to copy snapshots from (default: $RESTIC_FROM_REPOSITORY)
.PP .PP
\fB--from-repository-file\fP="" \fB--from-repository-file\fP=""
\fB\fCfile\fR from which to read the source repository location to copy snapshots from (default: $RESTIC_FROM_REPOSITORY_FILE) \fBfile\fR from which to read the source repository location to copy snapshots from (default: $RESTIC_FROM_REPOSITORY_FILE)
.PP .PP
\fB-h\fP, \fB--help\fP[=false] \fB-h\fP, \fB--help\fP[=false]
@ -57,25 +57,25 @@ new destination repository using the "init" command.
.PP .PP
\fB-H\fP, \fB--host\fP=[] \fB-H\fP, \fB--host\fP=[]
only consider snapshots for this \fB\fChost\fR (can be specified multiple times) only consider snapshots for this \fBhost\fR (can be specified multiple times)
.PP .PP
\fB--path\fP=[] \fB--path\fP=[]
only consider snapshots including this (absolute) \fB\fCpath\fR (can be specified multiple times) only consider snapshots including this (absolute) \fBpath\fR (can be specified multiple times)
.PP .PP
\fB--tag\fP=[] \fB--tag\fP=[]
only consider snapshots including \fB\fCtag[,tag,...]\fR (can be specified multiple times) only consider snapshots including \fBtag[,tag,...]\fR (can be specified multiple times)
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -95,15 +95,15 @@ new destination repository using the "init" command.
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -115,19 +115,19 @@ new destination repository using the "init" command.
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -135,11 +135,11 @@ new destination repository using the "init" command.
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -147,7 +147,7 @@ new destination repository using the "init" command.
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -8,7 +8,7 @@ restic-diff - Show differences between two snapshots
.SH SYNOPSIS .SH SYNOPSIS
.PP .PP
\fBrestic diff [flags] snapshot-ID snapshot-ID\fP \fBrestic diff [flags] snapshotID snapshotID\fP
.SH DESCRIPTION .SH DESCRIPTION
@ -31,6 +31,11 @@ T The type was changed, e.g. a file was made a symlink
.RE .RE
.PP
To only compare files in specific subfolders, you can use the
":" syntax, where "subfolder" is a path within the
snapshot.
.SH EXIT STATUS .SH EXIT STATUS
.PP .PP
@ -50,11 +55,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -74,15 +79,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -94,19 +99,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -114,11 +119,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -126,7 +131,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -19,9 +19,14 @@ as a tar (default) or zip file containing the contents of the specified folder.
Pass "/" as file name to dump the whole snapshot as an archive file. Pass "/" as file name to dump the whole snapshot as an archive file.
.PP .PP
The special snapshot "latest" can be used to use the latest snapshot in the The special snapshotID "latest" can be used to use the latest snapshot in the
repository. repository.
.PP
To include the folder content at the root of the archive, you can use the
":" syntax, where "subfolder" is a path within the
snapshot.
.SH EXIT STATUS .SH EXIT STATUS
.PP .PP
@ -31,7 +36,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS .SH OPTIONS
.PP .PP
\fB-a\fP, \fB--archive\fP="tar" \fB-a\fP, \fB--archive\fP="tar"
set archive \fB\fCformat\fR as "tar" or "zip" set archive \fBformat\fR as "tar" or "zip"
.PP .PP
\fB-h\fP, \fB--help\fP[=false] \fB-h\fP, \fB--help\fP[=false]
@ -39,25 +44,25 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-H\fP, \fB--host\fP=[] \fB-H\fP, \fB--host\fP=[]
only consider snapshots for this \fB\fChost\fR, when snapshot ID "latest" is given (can be specified multiple times) only consider snapshots for this \fBhost\fR, when snapshot ID "latest" is given (can be specified multiple times)
.PP .PP
\fB--path\fP=[] \fB--path\fP=[]
only consider snapshots including this (absolute) \fB\fCpath\fR, when snapshot ID "latest" is given (can be specified multiple times) only consider snapshots including this (absolute) \fBpath\fR, when snapshot ID "latest" is given (can be specified multiple times)
.PP .PP
\fB--tag\fP=[] \fB--tag\fP=[]
only consider snapshots including \fB\fCtag[,tag,...]\fR, when snapshot ID "latest" is given (can be specified multiple times) only consider snapshots including \fBtag[,tag,...]\fR, when snapshot ID "latest" is given (can be specified multiple times)
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -77,15 +82,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -97,19 +102,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -117,11 +122,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -129,7 +134,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -29,7 +29,7 @@ It can also be used to search for restic blobs or trees for troubleshooting.
.PP .PP
\fB-H\fP, \fB--host\fP=[] \fB-H\fP, \fB--host\fP=[]
only consider snapshots for this \fB\fChost\fR (can be specified multiple times) only consider snapshots for this \fBhost\fR (can be specified multiple times)
.PP .PP
\fB--human-readable\fP[=false] \fB--human-readable\fP[=false]
@ -57,7 +57,7 @@ It can also be used to search for restic blobs or trees for troubleshooting.
.PP .PP
\fB--path\fP=[] \fB--path\fP=[]
only consider snapshots including this (absolute) \fB\fCpath\fR (can be specified multiple times) only consider snapshots including this (absolute) \fBpath\fR (can be specified multiple times)
.PP .PP
\fB--show-pack-id\fP[=false] \fB--show-pack-id\fP[=false]
@ -65,11 +65,11 @@ It can also be used to search for restic blobs or trees for troubleshooting.
.PP .PP
\fB-s\fP, \fB--snapshot\fP=[] \fB-s\fP, \fB--snapshot\fP=[]
snapshot \fB\fCid\fR to search in (can be given multiple times) snapshot \fBid\fR to search in (can be given multiple times)
.PP .PP
\fB--tag\fP=[] \fB--tag\fP=[]
only consider snapshots including \fB\fCtag[,tag,...]\fR (can be specified multiple times) only consider snapshots including \fBtag[,tag,...]\fR (can be specified multiple times)
.PP .PP
\fB--tree\fP[=false] \fB--tree\fP[=false]
@ -79,11 +79,11 @@ It can also be used to search for restic blobs or trees for troubleshooting.
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -103,15 +103,15 @@ It can also be used to search for restic blobs or trees for troubleshooting.
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -123,19 +123,19 @@ It can also be used to search for restic blobs or trees for troubleshooting.
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -143,11 +143,11 @@ It can also be used to search for restic blobs or trees for troubleshooting.
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -155,7 +155,7 @@ It can also be used to search for restic blobs or trees for troubleshooting.
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]
@ -163,10 +163,7 @@ It can also be used to search for restic blobs or trees for troubleshooting.
.SH EXAMPLE .SH EXAMPLE
.PP .EX
.RS
.nf
restic find config.json restic find config.json
restic find --json "*.yml" "*.json" restic find --json "*.yml" "*.json"
restic find --json --blob 420f620f b46ebe8a ddd38656 restic find --json --blob 420f620f b46ebe8a ddd38656
@ -180,8 +177,7 @@ EXIT STATUS
Exit status is 0 if the command was successful, and non-zero if there was any error. Exit status is 0 if the command was successful, and non-zero if there was any error.
.fi .EE
.RE
.SH SEE ALSO .SH SEE ALSO

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -35,67 +35,67 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS .SH OPTIONS
.PP .PP
\fB-l\fP, \fB--keep-last\fP=0 \fB-l\fP, \fB--keep-last\fP=0
keep the last \fB\fCn\fR snapshots (use 'unlimited' to keep all snapshots) keep the last \fBn\fR snapshots (use 'unlimited' to keep all snapshots)
.PP .PP
\fB-H\fP, \fB--keep-hourly\fP=0 \fB-H\fP, \fB--keep-hourly\fP=0
keep the last \fB\fCn\fR hourly snapshots (use 'unlimited' to keep all hourly snapshots) keep the last \fBn\fR hourly snapshots (use 'unlimited' to keep all hourly snapshots)
.PP .PP
\fB-d\fP, \fB--keep-daily\fP=0 \fB-d\fP, \fB--keep-daily\fP=0
keep the last \fB\fCn\fR daily snapshots (use 'unlimited' to keep all daily snapshots) keep the last \fBn\fR daily snapshots (use 'unlimited' to keep all daily snapshots)
.PP .PP
\fB-w\fP, \fB--keep-weekly\fP=0 \fB-w\fP, \fB--keep-weekly\fP=0
keep the last \fB\fCn\fR weekly snapshots (use 'unlimited' to keep all weekly snapshots) keep the last \fBn\fR weekly snapshots (use 'unlimited' to keep all weekly snapshots)
.PP .PP
\fB-m\fP, \fB--keep-monthly\fP=0 \fB-m\fP, \fB--keep-monthly\fP=0
keep the last \fB\fCn\fR monthly snapshots (use 'unlimited' to keep all monthly snapshots) keep the last \fBn\fR monthly snapshots (use 'unlimited' to keep all monthly snapshots)
.PP .PP
\fB-y\fP, \fB--keep-yearly\fP=0 \fB-y\fP, \fB--keep-yearly\fP=0
keep the last \fB\fCn\fR yearly snapshots (use 'unlimited' to keep all yearly snapshots) keep the last \fBn\fR yearly snapshots (use 'unlimited' to keep all yearly snapshots)
.PP .PP
\fB--keep-within\fP= \fB--keep-within\fP=
keep snapshots that are newer than \fB\fCduration\fR (eg. 1y5m7d2h) relative to the latest snapshot keep snapshots that are newer than \fBduration\fR (eg. 1y5m7d2h) relative to the latest snapshot
.PP .PP
\fB--keep-within-hourly\fP= \fB--keep-within-hourly\fP=
keep hourly snapshots that are newer than \fB\fCduration\fR (eg. 1y5m7d2h) relative to the latest snapshot keep hourly snapshots that are newer than \fBduration\fR (eg. 1y5m7d2h) relative to the latest snapshot
.PP .PP
\fB--keep-within-daily\fP= \fB--keep-within-daily\fP=
keep daily snapshots that are newer than \fB\fCduration\fR (eg. 1y5m7d2h) relative to the latest snapshot keep daily snapshots that are newer than \fBduration\fR (eg. 1y5m7d2h) relative to the latest snapshot
.PP .PP
\fB--keep-within-weekly\fP= \fB--keep-within-weekly\fP=
keep weekly snapshots that are newer than \fB\fCduration\fR (eg. 1y5m7d2h) relative to the latest snapshot keep weekly snapshots that are newer than \fBduration\fR (eg. 1y5m7d2h) relative to the latest snapshot
.PP .PP
\fB--keep-within-monthly\fP= \fB--keep-within-monthly\fP=
keep monthly snapshots that are newer than \fB\fCduration\fR (eg. 1y5m7d2h) relative to the latest snapshot keep monthly snapshots that are newer than \fBduration\fR (eg. 1y5m7d2h) relative to the latest snapshot
.PP .PP
\fB--keep-within-yearly\fP= \fB--keep-within-yearly\fP=
keep yearly snapshots that are newer than \fB\fCduration\fR (eg. 1y5m7d2h) relative to the latest snapshot keep yearly snapshots that are newer than \fBduration\fR (eg. 1y5m7d2h) relative to the latest snapshot
.PP .PP
\fB--keep-tag\fP=[] \fB--keep-tag\fP=[]
keep snapshots with this \fB\fCtaglist\fR (can be specified multiple times) keep snapshots with this \fBtaglist\fR (can be specified multiple times)
.PP .PP
\fB--host\fP=[] \fB--host\fP=[]
only consider snapshots for this \fB\fChost\fR (can be specified multiple times) only consider snapshots for this \fBhost\fR (can be specified multiple times)
.PP .PP
\fB--tag\fP=[] \fB--tag\fP=[]
only consider snapshots including \fB\fCtag[,tag,...]\fR (can be specified multiple times) only consider snapshots including \fBtag[,tag,...]\fR (can be specified multiple times)
.PP .PP
\fB--path\fP=[] \fB--path\fP=[]
only consider snapshots including this (absolute) \fB\fCpath\fR (can be specified multiple times) only consider snapshots including this (absolute) \fBpath\fR (can be specified multiple times)
.PP .PP
\fB-c\fP, \fB--compact\fP[=false] \fB-c\fP, \fB--compact\fP[=false]
@ -103,7 +103,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-g\fP, \fB--group-by\fP=host,paths \fB-g\fP, \fB--group-by\fP=host,paths
\fB\fCgroup\fR snapshots by host, paths and/or tags, separated by comma (disable grouping with '') \fBgroup\fR snapshots by host, paths and/or tags, separated by comma (disable grouping with '')
.PP .PP
\fB-n\fP, \fB--dry-run\fP[=false] \fB-n\fP, \fB--dry-run\fP[=false]
@ -115,11 +115,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--max-unused\fP="5%" \fB--max-unused\fP="5%"
tolerate given \fB\fClimit\fR of unused data (absolute value in bytes with suffixes k/K, m/M, g/G, t/T, a value in % or the word 'unlimited') tolerate given \fBlimit\fR of unused data (absolute value in bytes with suffixes k/K, m/M, g/G, t/T, a value in % or the word 'unlimited')
.PP .PP
\fB--max-repack-size\fP="" \fB--max-repack-size\fP=""
maximum \fB\fCsize\fR to repack (allowed suffixes: k/K, m/M, g/G, t/T) maximum \fBsize\fR to repack (allowed suffixes: k/K, m/M, g/G, t/T)
.PP .PP
\fB--repack-cacheable-only\fP[=false] \fB--repack-cacheable-only\fP[=false]
@ -141,11 +141,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -165,15 +165,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -185,19 +185,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -205,11 +205,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -217,7 +217,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -25,11 +25,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS .SH OPTIONS
.PP .PP
\fB--bash-completion\fP="" \fB--bash-completion\fP=""
write bash completion \fB\fCfile\fR write bash completion \fBfile\fR
.PP .PP
\fB--fish-completion\fP="" \fB--fish-completion\fP=""
write fish completion \fB\fCfile\fR write fish completion \fBfile\fR
.PP .PP
\fB-h\fP, \fB--help\fP[=false] \fB-h\fP, \fB--help\fP[=false]
@ -37,25 +37,25 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--man\fP="" \fB--man\fP=""
write man pages to \fB\fCdirectory\fR write man pages to \fBdirectory\fR
.PP .PP
\fB--powershell-completion\fP="" \fB--powershell-completion\fP=""
write powershell completion \fB\fCfile\fR write powershell completion \fBfile\fR
.PP .PP
\fB--zsh-completion\fP="" \fB--zsh-completion\fP=""
write zsh completion \fB\fCfile\fR write zsh completion \fBfile\fR
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -75,15 +75,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -95,19 +95,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -115,11 +115,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -127,7 +127,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -32,19 +32,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--from-password-command\fP="" \fB--from-password-command\fP=""
shell \fB\fCcommand\fR to obtain the source repository password from (default: $RESTIC_FROM_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the source repository password from (default: $RESTIC_FROM_PASSWORD_COMMAND)
.PP .PP
\fB--from-password-file\fP="" \fB--from-password-file\fP=""
\fB\fCfile\fR to read the source repository password from (default: $RESTIC_FROM_PASSWORD_FILE) \fBfile\fR to read the source repository password from (default: $RESTIC_FROM_PASSWORD_FILE)
.PP .PP
\fB--from-repo\fP="" \fB--from-repo\fP=""
source \fB\fCrepository\fR to copy chunker parameters from (default: $RESTIC_FROM_REPOSITORY) source \fBrepository\fR to copy chunker parameters from (default: $RESTIC_FROM_REPOSITORY)
.PP .PP
\fB--from-repository-file\fP="" \fB--from-repository-file\fP=""
\fB\fCfile\fR from which to read the source repository location to copy chunker parameters from (default: $RESTIC_FROM_REPOSITORY_FILE) \fBfile\fR from which to read the source repository location to copy chunker parameters from (default: $RESTIC_FROM_REPOSITORY_FILE)
.PP .PP
\fB-h\fP, \fB--help\fP[=false] \fB-h\fP, \fB--help\fP[=false]
@ -58,11 +58,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -82,15 +82,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -102,19 +102,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -122,11 +122,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -134,7 +134,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -32,7 +32,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--new-password-file\fP="" \fB--new-password-file\fP=""
\fB\fCfile\fR from which to read the new password \fBfile\fR from which to read the new password
.PP .PP
\fB--user\fP="" \fB--user\fP=""
@ -42,11 +42,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -66,15 +66,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -86,19 +86,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -106,11 +106,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -118,7 +118,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -30,11 +30,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -54,15 +54,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -74,19 +74,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -94,11 +94,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -106,7 +106,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -43,7 +43,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-H\fP, \fB--host\fP=[] \fB-H\fP, \fB--host\fP=[]
only consider snapshots for this \fB\fChost\fR, when snapshot ID "latest" is given (can be specified multiple times) only consider snapshots for this \fBhost\fR, when snapshot ID "latest" is given (can be specified multiple times)
.PP .PP
\fB--human-readable\fP[=false] \fB--human-readable\fP[=false]
@ -55,7 +55,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--path\fP=[] \fB--path\fP=[]
only consider snapshots including this (absolute) \fB\fCpath\fR, when snapshot ID "latest" is given (can be specified multiple times) only consider snapshots including this (absolute) \fBpath\fR, when snapshot ID "latest" is given (can be specified multiple times)
.PP .PP
\fB--recursive\fP[=false] \fB--recursive\fP[=false]
@ -63,17 +63,17 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tag\fP=[] \fB--tag\fP=[]
only consider snapshots including \fB\fCtag[,tag,...]\fR, when snapshot ID "latest" is given (can be specified multiple times) only consider snapshots including \fBtag[,tag,...]\fR, when snapshot ID "latest" is given (can be specified multiple times)
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -93,15 +93,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -113,19 +113,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -133,11 +133,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -145,7 +145,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -36,11 +36,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -60,15 +60,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -80,19 +80,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -100,11 +100,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -112,7 +112,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -26,26 +26,18 @@ you can pass a time template via --time-template and path templates via
.PP .PP
Example time template without colons: Example time template without colons:
.PP .EX
.RS
.nf
--time-template "2006-01-02_15-04-05" --time-template "2006-01-02_15-04-05"
.fi .EE
.RE
.PP .PP
You need to specify a sample format for exactly the following timestamp: You need to specify a sample format for exactly the following timestamp:
.PP .EX
.RS
.nf
Mon Jan 2 15:04:05 -0700 MST 2006 Mon Jan 2 15:04:05 -0700 MST 2006
.fi .EE
.RE
.PP .PP
For details please see the documentation for time.Format() at: For details please see the documentation for time.Format() at:
@ -84,7 +76,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-H\fP, \fB--host\fP=[] \fB-H\fP, \fB--host\fP=[]
only consider snapshots for this \fB\fChost\fR (can be specified multiple times) only consider snapshots for this \fBhost\fR (can be specified multiple times)
.PP .PP
\fB--no-default-permissions\fP[=false] \fB--no-default-permissions\fP[=false]
@ -96,29 +88,29 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--path\fP=[] \fB--path\fP=[]
only consider snapshots including this (absolute) \fB\fCpath\fR (can be specified multiple times) only consider snapshots including this (absolute) \fBpath\fR (can be specified multiple times)
.PP .PP
\fB--path-template\fP=[] \fB--path-template\fP=[]
set \fB\fCtemplate\fR for path names (can be specified multiple times) set \fBtemplate\fR for path names (can be specified multiple times)
.PP .PP
\fB--tag\fP=[] \fB--tag\fP=[]
only consider snapshots including \fB\fCtag[,tag,...]\fR (can be specified multiple times) only consider snapshots including \fBtag[,tag,...]\fR (can be specified multiple times)
.PP .PP
\fB--time-template\fP="2006-01-02T15:04:05Z07:00" \fB--time-template\fP="2006-01-02T15:04:05Z07:00"
set \fB\fCtemplate\fR to use for times set \fBtemplate\fR to use for times
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -138,15 +130,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -158,19 +150,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -178,11 +170,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -190,7 +182,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -33,11 +33,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--max-repack-size\fP="" \fB--max-repack-size\fP=""
maximum \fB\fCsize\fR to repack (allowed suffixes: k/K, m/M, g/G, t/T) maximum \fBsize\fR to repack (allowed suffixes: k/K, m/M, g/G, t/T)
.PP .PP
\fB--max-unused\fP="5%" \fB--max-unused\fP="5%"
tolerate given \fB\fClimit\fR of unused data (absolute value in bytes with suffixes k/K, m/M, g/G, t/T, a value in % or the word 'unlimited') tolerate given \fBlimit\fR of unused data (absolute value in bytes with suffixes k/K, m/M, g/G, t/T, a value in % or the word 'unlimited')
.PP .PP
\fB--repack-cacheable-only\fP[=false] \fB--repack-cacheable-only\fP[=false]
@ -59,11 +59,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -83,15 +83,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -103,19 +103,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -123,11 +123,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -135,7 +135,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -32,11 +32,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -56,15 +56,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -76,19 +76,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -96,11 +96,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -108,7 +108,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -35,11 +35,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -59,15 +59,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -79,19 +79,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -99,11 +99,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -111,7 +111,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -0,0 +1,122 @@
.nh
.TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME
.PP
restic-repair-packs - Salvage damaged pack files
.SH SYNOPSIS
.PP
\fBrestic repair packs [packIDs...] [flags]\fP
.SH DESCRIPTION
.PP
WARNING: The CLI for this command is experimental and will likely change in the future!
.PP
The "repair packs" command extracts intact blobs from the specified pack files, rebuilds
the index to remove the damaged pack files and removes the pack files from the repository.
.SH EXIT STATUS
.PP
Exit status is 0 if the command was successful, and non-zero if there was any error.
.SH OPTIONS
.PP
\fB-h\fP, \fB--help\fP[=false]
help for packs
.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--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-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--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-repair(1)\fP

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -55,25 +55,25 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-H\fP, \fB--host\fP=[] \fB-H\fP, \fB--host\fP=[]
only consider snapshots for this \fB\fChost\fR (can be specified multiple times) only consider snapshots for this \fBhost\fR (can be specified multiple times)
.PP .PP
\fB--path\fP=[] \fB--path\fP=[]
only consider snapshots including this (absolute) \fB\fCpath\fR (can be specified multiple times) only consider snapshots including this (absolute) \fBpath\fR (can be specified multiple times)
.PP .PP
\fB--tag\fP=[] \fB--tag\fP=[]
only consider snapshots including \fB\fCtag[,tag,...]\fR (can be specified multiple times) only consider snapshots including \fBtag[,tag,...]\fR (can be specified multiple times)
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -93,15 +93,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -113,19 +113,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -133,11 +133,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -145,7 +145,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -25,11 +25,11 @@ Repair the repository
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -49,15 +49,15 @@ Repair the repository
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -69,19 +69,19 @@ Repair the repository
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -89,11 +89,11 @@ Repair the repository
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -101,7 +101,7 @@ Repair the repository
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]
@ -110,4 +110,4 @@ Repair the repository
.SH SEE ALSO .SH SEE ALSO
.PP .PP
\fBrestic(1)\fP, \fBrestic-repair-index(1)\fP, \fBrestic-repair-snapshots(1)\fP \fBrestic(1)\fP, \fBrestic-repair-index(1)\fP, \fBrestic-repair-packs(1)\fP, \fBrestic-repair-snapshots(1)\fP

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -17,9 +17,13 @@ The "restore" command extracts the data from a snapshot from the repository to
a directory. a directory.
.PP .PP
The special snapshot "latest" can be used to restore the latest snapshot in the The special snapshotID "latest" can be used to restore the latest snapshot in the
repository. repository.
.PP
To only restore a specific subfolder, you can use the ":"
syntax, where "subfolder" is a path within the snapshot.
.SH EXIT STATUS .SH EXIT STATUS
.PP .PP
@ -29,7 +33,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS .SH OPTIONS
.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 \fBpattern\fR (can be specified multiple times)
.PP .PP
\fB-h\fP, \fB--help\fP[=false] \fB-h\fP, \fB--help\fP[=false]
@ -37,23 +41,23 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-H\fP, \fB--host\fP=[] \fB-H\fP, \fB--host\fP=[]
only consider snapshots for this \fB\fChost\fR, when snapshot ID "latest" is given (can be specified multiple times) only consider snapshots for this \fBhost\fR, when snapshot ID "latest" is given (can be specified multiple times)
.PP .PP
\fB--iexclude\fP=[] \fB--iexclude\fP=[]
same as \fB\fC--exclude\fR but ignores the casing of filenames same as --exclude but ignores the casing of \fBpattern\fR
.PP .PP
\fB--iinclude\fP=[] \fB--iinclude\fP=[]
same as \fB\fC--include\fR but ignores the casing of filenames same as --include but ignores the casing of \fBpattern\fR
.PP .PP
\fB-i\fP, \fB--include\fP=[] \fB-i\fP, \fB--include\fP=[]
include a \fB\fCpattern\fR, exclude everything else (can be specified multiple times) include a \fBpattern\fR, exclude everything else (can be specified multiple times)
.PP .PP
\fB--path\fP=[] \fB--path\fP=[]
only consider snapshots including this (absolute) \fB\fCpath\fR, when snapshot ID "latest" is given (can be specified multiple times) only consider snapshots including this (absolute) \fBpath\fR, when snapshot ID "latest" is given (can be specified multiple times)
.PP .PP
\fB--sparse\fP[=false] \fB--sparse\fP[=false]
@ -61,7 +65,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tag\fP=[] \fB--tag\fP=[]
only consider snapshots including \fB\fCtag[,tag,...]\fR, when snapshot ID "latest" is given (can be specified multiple times) only consider snapshots including \fBtag[,tag,...]\fR, when snapshot ID "latest" is given (can be specified multiple times)
.PP .PP
\fB-t\fP, \fB--target\fP="" \fB-t\fP, \fB--target\fP=""
@ -75,11 +79,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -99,15 +103,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -119,19 +123,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -139,11 +143,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -151,7 +155,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -45,11 +45,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.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 \fBpattern\fR (can be specified multiple times)
.PP .PP
\fB--exclude-file\fP=[] \fB--exclude-file\fP=[]
read exclude patterns from a \fB\fCfile\fR (can be specified multiple times) read exclude patterns from a \fBfile\fR (can be specified multiple times)
.PP .PP
\fB--forget\fP[=false] \fB--forget\fP[=false]
@ -61,33 +61,33 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-H\fP, \fB--host\fP=[] \fB-H\fP, \fB--host\fP=[]
only consider snapshots for this \fB\fChost\fR (can be specified multiple times) only consider snapshots for this \fBhost\fR (can be specified multiple times)
.PP .PP
\fB--iexclude\fP=[] \fB--iexclude\fP=[]
same as --exclude \fB\fCpattern\fR but ignores the casing of filenames same as --exclude \fBpattern\fR but ignores the casing of filenames
.PP .PP
\fB--iexclude-file\fP=[] \fB--iexclude-file\fP=[]
same as --exclude-file but ignores casing of \fB\fCfile\fRnames in patterns same as --exclude-file but ignores casing of \fBfile\fRnames in patterns
.PP .PP
\fB--path\fP=[] \fB--path\fP=[]
only consider snapshots including this (absolute) \fB\fCpath\fR (can be specified multiple times) only consider snapshots including this (absolute) \fBpath\fR (can be specified multiple times)
.PP .PP
\fB--tag\fP=[] \fB--tag\fP=[]
only consider snapshots including \fB\fCtag[,tag,...]\fR (can be specified multiple times) only consider snapshots including \fBtag[,tag,...]\fR (can be specified multiple times)
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -107,15 +107,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -127,19 +127,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -147,11 +147,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -159,7 +159,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -31,17 +31,17 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--output\fP="" \fB--output\fP=""
Save the downloaded file as \fB\fCfilename\fR (default: running binary itself) Save the downloaded file as \fBfilename\fR (default: running binary itself)
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -61,15 +61,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -81,19 +81,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -101,11 +101,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -113,7 +113,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -28,7 +28,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-g\fP, \fB--group-by\fP= \fB-g\fP, \fB--group-by\fP=
\fB\fCgroup\fR snapshots by host, paths and/or tags, separated by comma \fBgroup\fR snapshots by host, paths and/or tags, separated by comma
.PP .PP
\fB-h\fP, \fB--help\fP[=false] \fB-h\fP, \fB--help\fP[=false]
@ -36,29 +36,29 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-H\fP, \fB--host\fP=[] \fB-H\fP, \fB--host\fP=[]
only consider snapshots for this \fB\fChost\fR (can be specified multiple times) only consider snapshots for this \fBhost\fR (can be specified multiple times)
.PP .PP
\fB--latest\fP=0 \fB--latest\fP=0
only show the last \fB\fCn\fR snapshots for each host and path only show the last \fBn\fR snapshots for each host and path
.PP .PP
\fB--path\fP=[] \fB--path\fP=[]
only consider snapshots including this (absolute) \fB\fCpath\fR (can be specified multiple times) only consider snapshots including this (absolute) \fBpath\fR (can be specified multiple times)
.PP .PP
\fB--tag\fP=[] \fB--tag\fP=[]
only consider snapshots including \fB\fCtag[,tag,...]\fR (can be specified multiple times) only consider snapshots including \fBtag[,tag,...]\fR (can be specified multiple times)
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -78,15 +78,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -98,19 +98,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -118,11 +118,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -130,7 +130,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -58,7 +58,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-H\fP, \fB--host\fP=[] \fB-H\fP, \fB--host\fP=[]
only consider snapshots for this \fB\fChost\fR (can be specified multiple times) only consider snapshots for this \fBhost\fR (can be specified multiple times)
.PP .PP
\fB--mode\fP="restore-size" \fB--mode\fP="restore-size"
@ -66,21 +66,21 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--path\fP=[] \fB--path\fP=[]
only consider snapshots including this (absolute) \fB\fCpath\fR (can be specified multiple times) only consider snapshots including this (absolute) \fBpath\fR (can be specified multiple times)
.PP .PP
\fB--tag\fP=[] \fB--tag\fP=[]
only consider snapshots including \fB\fCtag[,tag,...]\fR (can be specified multiple times) only consider snapshots including \fBtag[,tag,...]\fR (can be specified multiple times)
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -100,15 +100,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -120,19 +120,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -140,11 +140,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -152,7 +152,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -8,7 +8,7 @@ restic-tag - Modify tags on snapshots
.SH SYNOPSIS .SH SYNOPSIS
.PP .PP
\fBrestic tag [flags] [snapshot-ID ...]\fP \fBrestic tag [flags] [snapshotID ...]\fP
.SH DESCRIPTION .SH DESCRIPTION
@ -20,7 +20,7 @@ You can either set/replace the entire set of tags on a snapshot, or
add tags to/remove tags from the existing set. add tags to/remove tags from the existing set.
.PP .PP
When no snapshot-ID is given, all snapshots matching the host, tag and path filter criteria are modified. When no snapshotID is given, all snapshots matching the host, tag and path filter criteria are modified.
.SH EXIT STATUS .SH EXIT STATUS
@ -31,7 +31,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS .SH OPTIONS
.PP .PP
\fB--add\fP=[] \fB--add\fP=[]
\fB\fCtags\fR which will be added to the existing tags in the format \fB\fCtag[,tag,...]\fR (can be given multiple times) \fBtags\fR which will be added to the existing tags in the format \fBtag[,tag,...]\fR (can be given multiple times)
.PP .PP
\fB-h\fP, \fB--help\fP[=false] \fB-h\fP, \fB--help\fP[=false]
@ -39,33 +39,33 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-H\fP, \fB--host\fP=[] \fB-H\fP, \fB--host\fP=[]
only consider snapshots for this \fB\fChost\fR (can be specified multiple times) only consider snapshots for this \fBhost\fR (can be specified multiple times)
.PP .PP
\fB--path\fP=[] \fB--path\fP=[]
only consider snapshots including this (absolute) \fB\fCpath\fR (can be specified multiple times) only consider snapshots including this (absolute) \fBpath\fR (can be specified multiple times)
.PP .PP
\fB--remove\fP=[] \fB--remove\fP=[]
\fB\fCtags\fR which will be removed from the existing tags in the format \fB\fCtag[,tag,...]\fR (can be given multiple times) \fBtags\fR which will be removed from the existing tags in the format \fBtag[,tag,...]\fR (can be given multiple times)
.PP .PP
\fB--set\fP=[] \fB--set\fP=[]
\fB\fCtags\fR which will replace the existing tags in the format \fB\fCtag[,tag,...]\fR (can be given multiple times) \fBtags\fR which will replace the existing tags in the format \fBtag[,tag,...]\fR (can be given multiple times)
.PP .PP
\fB--tag\fP=[] \fB--tag\fP=[]
only consider snapshots including \fB\fCtag[,tag,...]\fR (can be specified multiple times) only consider snapshots including \fBtag[,tag,...]\fR (can be specified multiple times)
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -85,15 +85,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -105,19 +105,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -125,11 +125,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -137,7 +137,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -34,11 +34,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -58,15 +58,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -78,19 +78,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -98,11 +98,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -110,7 +110,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -31,11 +31,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.SH OPTIONS INHERITED FROM PARENT COMMANDS .SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -55,15 +55,15 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -75,19 +75,19 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -95,11 +95,11 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -107,7 +107,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]

View File

@ -1,5 +1,5 @@
.nh .nh
.TH "restic backup" "1" "Jan 2017" "generated by \fB\fCrestic generate\fR" "" .TH "restic backup" "1" "Jan 2017" "generated by \fBrestic generate\fR" ""
.SH NAME .SH NAME
.PP .PP
@ -23,11 +23,11 @@ The full documentation can be found at https://restic.readthedocs.io/ .
.SH OPTIONS .SH OPTIONS
.PP .PP
\fB--cacert\fP=[] \fB--cacert\fP=[]
\fB\fCfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT) \fBfile\fR to load root certificates from (default: use system certificates or $RESTIC_CACERT)
.PP .PP
\fB--cache-dir\fP="" \fB--cache-dir\fP=""
set the cache \fB\fCdirectory\fR\&. (default: use system default cache directory) set the cache \fBdirectory\fR\&. (default: use system default cache directory)
.PP .PP
\fB--cleanup-cache\fP[=false] \fB--cleanup-cache\fP[=false]
@ -51,15 +51,15 @@ The full documentation can be found at https://restic.readthedocs.io/ .
.PP .PP
\fB--key-hint\fP="" \fB--key-hint\fP=""
\fB\fCkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT) \fBkey\fR ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
.PP .PP
\fB--limit-download\fP=0 \fB--limit-download\fP=0
limits downloads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits downloads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--limit-upload\fP=0 \fB--limit-upload\fP=0
limits uploads to a maximum \fB\fCrate\fR in KiB/s. (default: unlimited) limits uploads to a maximum \fBrate\fR in KiB/s. (default: unlimited)
.PP .PP
\fB--no-cache\fP[=false] \fB--no-cache\fP[=false]
@ -71,19 +71,19 @@ The full documentation can be found at https://restic.readthedocs.io/ .
.PP .PP
\fB-o\fP, \fB--option\fP=[] \fB-o\fP, \fB--option\fP=[]
set extended option (\fB\fCkey=value\fR, can be specified multiple times) set extended option (\fBkey=value\fR, can be specified multiple times)
.PP .PP
\fB--pack-size\fP=0 \fB--pack-size\fP=0
set target pack \fB\fCsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE) set target pack \fBsize\fR in MiB, created pack files may be larger (default: $RESTIC_PACK_SIZE)
.PP .PP
\fB--password-command\fP="" \fB--password-command\fP=""
shell \fB\fCcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND) shell \fBcommand\fR to obtain the repository password from (default: $RESTIC_PASSWORD_COMMAND)
.PP .PP
\fB-p\fP, \fB--password-file\fP="" \fB-p\fP, \fB--password-file\fP=""
\fB\fCfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE) \fBfile\fR to read the repository password from (default: $RESTIC_PASSWORD_FILE)
.PP .PP
\fB-q\fP, \fB--quiet\fP[=false] \fB-q\fP, \fB--quiet\fP[=false]
@ -91,11 +91,11 @@ The full documentation can be found at https://restic.readthedocs.io/ .
.PP .PP
\fB-r\fP, \fB--repo\fP="" \fB-r\fP, \fB--repo\fP=""
\fB\fCrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY) \fBrepository\fR to backup to or restore from (default: $RESTIC_REPOSITORY)
.PP .PP
\fB--repository-file\fP="" \fB--repository-file\fP=""
\fB\fCfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE) \fBfile\fR to read the repository location from (default: $RESTIC_REPOSITORY_FILE)
.PP .PP
\fB--retry-lock\fP=0s \fB--retry-lock\fP=0s
@ -103,7 +103,7 @@ The full documentation can be found at https://restic.readthedocs.io/ .
.PP .PP
\fB--tls-client-cert\fP="" \fB--tls-client-cert\fP=""
path to a \fB\fCfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT) path to a \fBfile\fR containing PEM encoded TLS client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
.PP .PP
\fB-v\fP, \fB--verbose\fP[=0] \fB-v\fP, \fB--verbose\fP[=0]