archive: say the check reads from the bucket with the s3 backend
This commit is contained in:
parent
5c30985a25
commit
c7580ac3dd
1 changed files with 9 additions and 3 deletions
|
|
@ -130,9 +130,15 @@ restore fails. Once a week (`deploy.archive.checkSchedule`, default `weekly`)
|
||||||
the archive host runs `restic check` on every repository. It checks the
|
the archive host runs `restic check` on every repository. It checks the
|
||||||
repository's structure in full and reads a random `deploy.archive.checkSubset`
|
repository's structure in full and reads a random `deploy.archive.checkSubset`
|
||||||
of its data (default `5%`), so repeated weekly runs cover a repository without
|
of its data (default `5%`), so repeated weekly runs cover a repository without
|
||||||
any one run reading all of it. The check runs on the archive host because the
|
any one run reading all of it. The check runs on the archive host because it
|
||||||
repositories are local there, so it reads no data over the network and needs no
|
already holds every repository and the passwords, so it needs no credential
|
||||||
credential beyond the passwords the prune already reads.
|
beyond the ones the prune reads.
|
||||||
|
|
||||||
|
With local storage the check reads the repositories from the host's disk.
|
||||||
|
With `deploy.archive.backend = "s3"` it reads each repository's structure and
|
||||||
|
its subset from the bucket through rclone every week, which costs bandwidth and
|
||||||
|
requests on your S3 service. `deploy.archive.checkSubset` is the lever: lower
|
||||||
|
it to read less.
|
||||||
|
|
||||||
The check and the prune share one lock and never run on a repository together;
|
The check and the prune share one lock and never run on a repository together;
|
||||||
whichever starts second waits. A run that fails for an agent logs
|
whichever starts second waits. A run that fails for an agent logs
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue