2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 06:46:34 +00:00

Merge pull request #4539 from tbm/docs

Fix typos in docs
This commit is contained in:
rawtaz 2023-10-27 17:30:08 +00:00 committed by GitHub
commit 6be3a8fe51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 11 additions and 11 deletions

View File

@ -1492,7 +1492,7 @@ Details
Restic did not support limiting the IO concurrency / number of connections for accessing Restic did not support limiting the IO concurrency / number of connections for accessing
repositories stored using the local or SFTP backends. The number of connections is now limited repositories stored using the local or SFTP backends. The number of connections is now limited
as for other backends, and can be configured via the the `-o local.connections=2` and `-o as for other backends, and can be configured via the `-o local.connections=2` and `-o
sftp.connections=5` options. This ensures that restic does not overwhelm the backend with sftp.connections=5` options. This ensures that restic does not overwhelm the backend with
concurrent IO operations. concurrent IO operations.

View File

@ -3,7 +3,7 @@ Enhancement: Allow limiting IO concurrency for local and SFTP backend
Restic did not support limiting the IO concurrency / number of connections for Restic did not support limiting the IO concurrency / number of connections for
accessing repositories stored using the local or SFTP backends. The number of accessing repositories stored using the local or SFTP backends. The number of
connections is now limited as for other backends, and can be configured via the connections is now limited as for other backends, and can be configured via the
the `-o local.connections=2` and `-o sftp.connections=5` options. This ensures `-o local.connections=2` and `-o sftp.connections=5` options. This ensures that
that restic does not overwhelm the backend with concurrent IO operations. restic does not overwhelm the backend with concurrent IO operations.
https://github.com/restic/restic/pull/3475 https://github.com/restic/restic/pull/3475

View File

@ -331,7 +331,7 @@ Wasabi
************ ************
`Wasabi <https://wasabi.com>`__ is a low cost Amazon S3 conformant object storage provider. `Wasabi <https://wasabi.com>`__ is a low cost Amazon S3 conformant object storage provider.
Due to it's S3 conformance, Wasabi can be used as a storage provider for a restic repository. Due to its S3 conformance, Wasabi can be used as a storage provider for a restic repository.
- Create a Wasabi bucket using the `Wasabi Console <https://console.wasabisys.com>`__. - Create a Wasabi bucket using the `Wasabi Console <https://console.wasabisys.com>`__.
- Determine the correct Wasabi service URL for your bucket `here <https://wasabi-support.zendesk.com/hc/en-us/articles/360015106031-What-are-the-service-URLs-for-Wasabi-s-different-regions->`__. - Determine the correct Wasabi service URL for your bucket `here <https://wasabi-support.zendesk.com/hc/en-us/articles/360015106031-What-are-the-service-URLs-for-Wasabi-s-different-regions->`__.
@ -822,7 +822,7 @@ To make this work we can employ the help of the ``setgid`` permission bit
available on Linux and most other Unix systems. This permission bit makes available on Linux and most other Unix systems. This permission bit makes
newly created directories inherit both the group owner (gid) and setgid bit newly created directories inherit both the group owner (gid) and setgid bit
from the parent directory. Setting this bit requires root but since it from the parent directory. Setting this bit requires root but since it
propagates down to any new directories we only have to do this priviledged propagates down to any new directories we only have to do this privileged
setup once: setup once:
.. code-block:: console .. code-block:: console

View File

@ -146,7 +146,7 @@ change detection rule based on file metadata to determine whether a file is
likely unchanged since a previous backup. If it is, the file is not scanned likely unchanged since a previous backup. If it is, the file is not scanned
again. again.
The previous backup snapshot, called "parent" snaphot in restic terminology, The previous backup snapshot, called "parent" snapshot in restic terminology,
is determined as follows. By default restic groups snapshots by hostname and is determined as follows. By default restic groups snapshots by hostname and
backup paths, and then selects the latest snapshot in the group that matches backup paths, and then selects the latest snapshot in the group that matches
the current backup. You can change the selection criteria using the the current backup. You can change the selection criteria using the

View File

@ -337,7 +337,7 @@ over 5 separate invocations:
$ restic -r /srv/restic-repo check --read-data-subset=4/5 $ restic -r /srv/restic-repo check --read-data-subset=4/5
$ restic -r /srv/restic-repo check --read-data-subset=5/5 $ restic -r /srv/restic-repo check --read-data-subset=5/5
Use ``--read-data-subset=x%`` to check a randomly choosen subset of the Use ``--read-data-subset=x%`` to check a randomly chosen subset of the
repository pack files. It takes one parameter, ``x``, the percentage of repository pack files. It takes one parameter, ``x``, the percentage of
pack files to check as an integer or floating point number. This will not pack files to check as an integer or floating point number. This will not
guarantee to cover all available pack files after sufficient runs, but it is guarantee to cover all available pack files after sufficient runs, but it is

View File

@ -106,7 +106,7 @@ Restic supports storage and preservation of hard links. However, since
hard links exist in the scope of a filesystem by definition, restoring hard links exist in the scope of a filesystem by definition, restoring
hard links from a fuse mount should be done by a program that preserves hard links from a fuse mount should be done by a program that preserves
hard links. A program that does so is ``rsync``, used with the option hard links. A program that does so is ``rsync``, used with the option
--hard-links. ``--hard-links``.
.. note:: ``restic mount`` is mostly useful if you want to restore just a few .. note:: ``restic mount`` is mostly useful if you want to restore just a few
files out of a snapshot, or to check which files are contained in a snapshot. files out of a snapshot, or to check which files are contained in a snapshot.

View File

@ -143,7 +143,7 @@ func (f *openFile) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.R
// the methods being called are responsible for appropriate synchronization. // the methods being called are responsible for appropriate synchronization.
// //
// However, no lock needed here as getBlobAt can be called conurrently // However, no lock needed here as getBlobAt can be called conurrently
// (blobCache has it's own locking) // (blobCache has its own locking)
for i := startContent; remainingBytes > 0 && i < len(f.cumsize)-1; i++ { for i := startContent; remainingBytes > 0 && i < len(f.cumsize)-1; i++ {
blob, err := f.getBlobAt(ctx, i) blob, err := f.getBlobAt(ctx, i)
if err != nil { if err != nil {

View File

@ -829,7 +829,7 @@ func (r *Repository) List(ctx context.Context, t restic.FileType, fn func(restic
} }
// ListPack returns the list of blobs saved in the pack id and the length of // ListPack returns the list of blobs saved in the pack id and the length of
// the the pack header. // the pack header.
func (r *Repository) ListPack(ctx context.Context, id restic.ID, size int64) ([]restic.Blob, uint32, error) { func (r *Repository) ListPack(ctx context.Context, id restic.ID, size int64) ([]restic.Blob, uint32, error) {
h := restic.Handle{Type: restic.PackFile, Name: id.String()} h := restic.Handle{Type: restic.PackFile, Name: id.String()}

View File

@ -39,7 +39,7 @@ type Repository interface {
List(ctx context.Context, t FileType, fn func(ID, int64) error) error List(ctx context.Context, t FileType, fn func(ID, int64) error) error
// ListPack returns the list of blobs saved in the pack id and the length of // ListPack returns the list of blobs saved in the pack id and the length of
// the the pack header. // the pack header.
ListPack(context.Context, ID, int64) ([]Blob, uint32, error) ListPack(context.Context, ID, int64) ([]Blob, uint32, error)
LoadBlob(context.Context, BlobType, ID, []byte) ([]byte, error) LoadBlob(context.Context, BlobType, ID, []byte) ([]byte, error)