mirror of
https://github.com/restic/restic.git
synced 2026-05-21 09:35:23 +00:00
doc: consistency fixes
This commit is contained in:
@@ -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``
|
||||
|
||||
@@ -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
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user