diff --git a/doc/man/restic-autocomplete.1 b/doc/man/restic-autocomplete.1 index aeb3f4e7..f4450189 100644 --- a/doc/man/restic-autocomplete.1 +++ b/doc/man/restic-autocomplete.1 @@ -40,10 +40,18 @@ $ sudo restic autocomplete .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-backup.1 b/doc/man/restic-backup.1 index 742adc92..fc340064 100644 --- a/doc/man/restic-backup.1 +++ b/doc/man/restic-backup.1 @@ -78,10 +78,18 @@ given as the arguments. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-cat.1 b/doc/man/restic-cat.1 index 765943ad..156cb8d3 100644 --- a/doc/man/restic-cat.1 +++ b/doc/man/restic-cat.1 @@ -25,10 +25,18 @@ The "cat" command is used to print internal objects to stdout. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-check.1 b/doc/man/restic-check.1 index 22493f8c..2b6a3cb1 100644 --- a/doc/man/restic-check.1 +++ b/doc/man/restic-check.1 @@ -18,6 +18,10 @@ restic\-check \- Check the repository for errors The "check" command tests the repository for errors and reports any errors it finds. It can also be used to read all data and therefore simulate a restore. +.PP +By default, the "check" command will always load all data directly from the +repository and not use a local cache. + .SH OPTIONS .PP @@ -32,12 +36,24 @@ finds. It can also be used to read all data and therefore simulate a restore. \fB\-\-read\-data\fP[=false] read all data blobs +.PP +\fB\-\-with\-cache\fP[=false] + use the cache + .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-dump.1 b/doc/man/restic-dump.1 index 32d5e4ce..afab6f15 100644 --- a/doc/man/restic-dump.1 +++ b/doc/man/restic-dump.1 @@ -26,10 +26,18 @@ is used for debugging purposes only. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-find.1 b/doc/man/restic-find.1 index 89d31242..1c0ac962 100644 --- a/doc/man/restic-find.1 +++ b/doc/man/restic-find.1 @@ -58,10 +58,18 @@ repo. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-forget.1 b/doc/man/restic-forget.1 index 0a18e93f..06ac56dc 100644 --- a/doc/man/restic-forget.1 +++ b/doc/man/restic-forget.1 @@ -88,10 +88,18 @@ data after 'forget' was run successfully, see the 'prune' command. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-init.1 b/doc/man/restic-init.1 index f7d0be5a..ece3db2b 100644 --- a/doc/man/restic-init.1 +++ b/doc/man/restic-init.1 @@ -25,10 +25,18 @@ The "init" command initializes a new repository. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-key.1 b/doc/man/restic-key.1 index bc066445..81f4abf0 100644 --- a/doc/man/restic-key.1 +++ b/doc/man/restic-key.1 @@ -25,10 +25,18 @@ The "key" command manages keys (passwords) for accessing the repository. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-list.1 b/doc/man/restic-list.1 index ccc1e8b0..92793f6c 100644 --- a/doc/man/restic-list.1 +++ b/doc/man/restic-list.1 @@ -25,10 +25,18 @@ The "list" command allows listing objects in the repository based on type. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-ls.1 b/doc/man/restic-ls.1 index 8f81194c..e0dae4e2 100644 --- a/doc/man/restic-ls.1 +++ b/doc/man/restic-ls.1 @@ -44,10 +44,18 @@ The special snapshot\-ID "latest" can be used to list files and directories of t .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-manpage.1 b/doc/man/restic-manpage.1 index d8d1bcc3..6f9d5f89 100644 --- a/doc/man/restic-manpage.1 +++ b/doc/man/restic-manpage.1 @@ -31,10 +31,18 @@ set and no command is specified, all manpages are written to the directory. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-migrate.1 b/doc/man/restic-migrate.1 index f65a0aae..b8a90a85 100644 --- a/doc/man/restic-migrate.1 +++ b/doc/man/restic-migrate.1 @@ -30,10 +30,18 @@ name is explicitly given, a list of migrations that can be applied is printed. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-mount.1 b/doc/man/restic-mount.1 index edf3e4da..32420806 100644 --- a/doc/man/restic-mount.1 +++ b/doc/man/restic-mount.1 @@ -50,10 +50,18 @@ read\-only mount. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-prune.1 b/doc/man/restic-prune.1 index dfe390fe..fde9a69d 100644 --- a/doc/man/restic-prune.1 +++ b/doc/man/restic-prune.1 @@ -26,10 +26,18 @@ referenced and therefore not needed any more. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-rebuild-index.1 b/doc/man/restic-rebuild-index.1 index f406f8bc..83baa450 100644 --- a/doc/man/restic-rebuild-index.1 +++ b/doc/man/restic-rebuild-index.1 @@ -26,10 +26,18 @@ repository. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-restore.1 b/doc/man/restic-restore.1 index 86fcbbfc..bef55324 100644 --- a/doc/man/restic-restore.1 +++ b/doc/man/restic-restore.1 @@ -54,10 +54,18 @@ repository. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-snapshots.1 b/doc/man/restic-snapshots.1 index 21e9d953..c71f16b3 100644 --- a/doc/man/restic-snapshots.1 +++ b/doc/man/restic-snapshots.1 @@ -41,10 +41,18 @@ The "snapshots" command lists all snapshots stored in the repository. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-tag.1 b/doc/man/restic-tag.1 index 890fdad0..031922ea 100644 --- a/doc/man/restic-tag.1 +++ b/doc/man/restic-tag.1 @@ -56,10 +56,18 @@ When no snapshot\-ID is given, all snapshots matching the host, tag and path fil .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-unlock.1 b/doc/man/restic-unlock.1 index 9b520d4b..19430880 100644 --- a/doc/man/restic-unlock.1 +++ b/doc/man/restic-unlock.1 @@ -29,10 +29,18 @@ The "unlock" command removes stale locks that have been created by other restic .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic-version.1 b/doc/man/restic-version.1 index 03599f39..e1a8c278 100644 --- a/doc/man/restic-version.1 +++ b/doc/man/restic-version.1 @@ -26,10 +26,18 @@ and the version of this software. .SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos diff --git a/doc/man/restic.1 b/doc/man/restic.1 index 492cf4c5..a07af6bd 100644 --- a/doc/man/restic.1 +++ b/doc/man/restic.1 @@ -20,6 +20,10 @@ directories in an encrypted repository stored on different backends. .SH OPTIONS +.PP +\fB\-\-cache\-dir\fP="" + set the cache directory + .PP \fB\-h\fP, \fB\-\-help\fP[=false] help for restic @@ -28,6 +32,10 @@ directories in an encrypted repository stored on different backends. \fB\-\-json\fP[=false] set output mode to JSON for commands that support it +.PP +\fB\-\-no\-cache\fP[=false] + do not use a local cache + .PP \fB\-\-no\-lock\fP[=false] do not lock the repo, this allows some operations on read\-only repos