mirror of
https://github.com/restic/restic.git
synced 2026-08-21 04:53:19 +00:00
Wording: change repo to repository
This commit is contained in:
+1
-1
@@ -420,7 +420,7 @@ The ``prune`` command accepts the following options:
|
||||
used by your repository, pass ``0`` to this option.
|
||||
* As a size relative to the total repo size (e.g. ``10%``). This means that
|
||||
after prune, at most ``10%`` of the total data stored in the repo may be
|
||||
unused data. If the repo after prune has a size of 500MB, then at most
|
||||
unused data. If the repository after prune has a size of 500MB, then at most
|
||||
50MB may be unused.
|
||||
* If the string ``unlimited`` is passed, there is no limit for partly
|
||||
unused files. This means that as long as some data is still used within
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@ The location of the cache directory depends on the operating system and the
|
||||
environment; see :ref:`caching`.
|
||||
|
||||
Each repository has its own cache sub-directory, consisting of the repository ID
|
||||
which is chosen at ``init``. All cache directories for different repos are
|
||||
which is chosen at ``init``. All cache directories for different repositories are
|
||||
independent of each other.
|
||||
|
||||
Snapshots, Data and Indexes
|
||||
@@ -19,8 +19,8 @@ Snapshot, Data and Index files are cached in the sub-directories ``snapshots``,
|
||||
Expiry
|
||||
======
|
||||
|
||||
Whenever a cache directory for a repo is used, that directory's modification
|
||||
Whenever a cache directory for a repository is used, that directory's modification
|
||||
timestamp is updated to the current time. By looking at the modification
|
||||
timestamps of the repo cache directories it is easy to decide which directories
|
||||
timestamps of the repository cache directories it is easy to decide which directories
|
||||
are old and haven't been used in a long time. Those are probably stale and can
|
||||
be removed.
|
||||
|
||||
+3
-3
@@ -51,7 +51,7 @@ looks like this:
|
||||
[0:00] 100.00% 16 / 16 snapshots
|
||||
no errors were found
|
||||
|
||||
The message means that there is more data stored in the repo than
|
||||
The message means that there is more data stored in the repository than
|
||||
strictly necessary. This is uncritical. With high probability this is duplicate data
|
||||
caused by an interrupted backup run or upload operation. In
|
||||
order to clean it up, the command ``restic prune`` can be used.
|
||||
@@ -168,8 +168,8 @@ scheduling algorithm to give it the least favorable niceness (19).
|
||||
The above example makes sure that the system the backup runs on
|
||||
is not slowed down, which is particularly useful for servers.
|
||||
|
||||
Creating new repo on a Synology NAS via sftp fails
|
||||
--------------------------------------------------
|
||||
Creating new repository on a Synology NAS via sftp fails
|
||||
--------------------------------------------------------
|
||||
|
||||
For using restic with a Synology NAS via sftp, please make sure that the
|
||||
specified path is absolute, it must start with a slash (``/``).
|
||||
|
||||
+4
-4
@@ -50,7 +50,7 @@ Usage help is available:
|
||||
--cache-dir directory set the cache directory. (default: use system default cache directory)
|
||||
--cleanup-cache auto remove old cache directories
|
||||
-h, --help help for restic
|
||||
--insecure-tls skip TLS certificate verification when connecting to the repo (insecure)
|
||||
--insecure-tls skip TLS certificate verification when connecting to the repository (insecure)
|
||||
--json set output mode to JSON for commands that support it
|
||||
--key-hint key key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
|
||||
--limit-download int limits downloads to a maximum rate in KiB/s. (default: unlimited)
|
||||
@@ -107,7 +107,7 @@ command:
|
||||
--iexclude-file file same as --exclude-file but ignores casing of filenames in patterns
|
||||
--ignore-inode ignore inode number changes when checking for modified files
|
||||
-x, --one-file-system exclude other file systems, don't cross filesystem boundaries and subvolumes
|
||||
--parent snapshot use this parent snapshot (default: last snapshot in the repo that has the same target files/directories)
|
||||
--parent snapshot use this parent snapshot (default: last snapshot in the repository that has the same target files/directories)
|
||||
--stdin read backup from stdin
|
||||
--stdin-filename filename filename to use when reading from stdin (default "stdin")
|
||||
--tag tags add tags for the new snapshot in the format `tag[,tag,...]` (can be specified multiple times) (default [])
|
||||
@@ -119,7 +119,7 @@ command:
|
||||
--cacert file file to load root certificates from (default: use system certificates)
|
||||
--cache-dir directory set the cache directory. (default: use system default cache directory)
|
||||
--cleanup-cache auto remove old cache directories
|
||||
--insecure-tls skip TLS certificate verification when connecting to the repo (insecure)
|
||||
--insecure-tls skip TLS certificate verification when connecting to the repository (insecure)
|
||||
--json set output mode to JSON for commands that support it
|
||||
--key-hint key key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
|
||||
--limit-download int limits downloads to a maximum rate in KiB/s. (default: unlimited)
|
||||
@@ -431,7 +431,7 @@ The cache is ephemeral: When a file cannot be read from the cache, it is loaded
|
||||
from the repository.
|
||||
|
||||
Within the cache directory, there's a sub directory for each repository the
|
||||
cache was used with. Restic updates the timestamps of a repo directory each
|
||||
cache was used with. Restic updates the timestamps of a repository directory each
|
||||
time it is used, so by looking at the timestamps of the sub directories of the
|
||||
cache directory it can decide which sub directories are old and probably not
|
||||
needed any more. You can either remove these directories manually, or run a
|
||||
|
||||
Reference in New Issue
Block a user