doc: consistency fixes

This commit is contained in:
Michael Eischer
2026-05-15 22:42:29 +02:00
parent 2419c03177
commit f6c8751575
3 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -819,7 +819,7 @@ should belong to the appropriate group.
.. code-block:: console
$ restic backup -r sftp:restic@repohost:/srv/restic-repo
$ restic -r sftp:restic@repohost:/srv/restic-repo backup
In the example, the command could be run by the local user ``root`` who can read
all the files on the client host, and send them for backup using a remote user ``restic``
+2 -2
View File
@@ -374,7 +374,7 @@ perform.
version of restic or some third-party implementation.
To convert a snapshot into the format expected by the ``rewrite`` command
use ``restic repair snapshots <snapshotID>``.
use ``restic -r /srv/restic-repo repair snapshots <snapshotID>``.
Modifying metadata of snapshots
===============================
@@ -385,7 +385,7 @@ This is possible using the ``rewrite`` command with the option ``--new-host`` fo
.. code-block:: console
$ restic rewrite --new-host newhost --new-time "1999-01-01 11:11:11"
$ restic -r /srv/restic-repo rewrite --new-host newhost --new-time "1999-01-01 11:11:11"
repository b7dbade3 opened (version 2, compression level auto)
[0:00] 100.00% 1 / 1 index files loaded
+2 -4
View File
@@ -253,9 +253,7 @@ repository.
.. code-block:: console
$ restic -r backup find test.txt
debug log file restic.log
debug enabled
$ restic -r /srv/restic-repo find test.txt
enter password for repository:
found 1 matching entries in snapshot 196bc5760c909a7681647949e80e5448e276521489558525680acf1bd428af36
-rw-r--r-- 501 20 5 2015-08-26 14:09:57 +0200 CEST path/to/test.txt
@@ -457,7 +455,7 @@ If the relevant environment variables are not set, restic exits with an error
message.
The command line parameter ``--cache-dir`` or the environment variable
``$RESTIC_CACHE_DIR`` can be used to override the default cache location. The
``$RESTIC_CACHE_DIR`` can be used to override the default cache location. The
parameter ``--no-cache`` disables the cache entirely. In this case, all data
is loaded from the repository.