Update manpages and auto-completion

This commit is contained in:
Alexander Neumann
2024-07-26 11:30:37 +02:00
parent 905da91e61
commit 65748fcd6b
37 changed files with 1555 additions and 103 deletions

View File

@@ -15,7 +15,10 @@ restic-forget - Remove snapshots from the repository
.PP
The "forget" command removes snapshots according to a policy. All snapshots are
first divided into groups according to "--group-by", and after that the policy
specified by the "--keep-*" options is applied to each group individually.
specified by the "--keep-\fI" options is applied to each group individually.
If there are not enough snapshots to keep one for each duration related
"--keep-{within-,}\fP" option, the oldest snapshot in the group is kept
additionally.
.PP
Please note that this command really only deletes the snapshot object in the
@@ -29,7 +32,10 @@ security considerations.
.SH EXIT STATUS
.PP
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.
Exit status is 1 if there was any error.
Exit status is 10 if the repository does not exist.
Exit status is 11 if the repository is already locked.
.SH OPTIONS
@@ -85,9 +91,13 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
\fB--keep-tag\fP=[]
keep snapshots with this \fBtaglist\fR (can be specified multiple times)
.PP
\fB--unsafe-allow-remove-all\fP[=false]
allow deleting all snapshots of a snapshot group
.PP
\fB--host\fP=[]
only consider snapshots for this \fBhost\fR (can be specified multiple times)
only consider snapshots for this \fBhost\fR (can be specified multiple times) (default: $RESTIC_HOST)
.PP
\fB--tag\fP=[]
@@ -95,7 +105,7 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
.PP
\fB--path\fP=[]
only consider snapshots including this (absolute) \fBpath\fR (can be specified multiple times)
only consider snapshots including this (absolute) \fBpath\fR (can be specified multiple times, snapshots must include all specified paths)
.PP
\fB-c\fP, \fB--compact\fP[=false]
@@ -155,6 +165,14 @@ Exit status is 0 if the command was successful, and non-zero if there was any er
\fB--compression\fP=auto
compression mode (only available for repository format version 2), one of (auto|off|max) (default: $RESTIC_COMPRESSION)
.PP
\fB--http-user-agent\fP=""
set a http user agent for outgoing http requests
.PP
\fB--insecure-no-password\fP[=false]
use an empty password for the repository, must be passed to every restic command (insecure)
.PP
\fB--insecure-tls\fP[=false]
skip TLS certificate verification when connecting to the repository (insecure)