mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 02:48:55 +00:00
Merge pull request #4136 from restic/doc-small-files
doc: Clarify text about tuning backups for small files
This commit is contained in:
commit
c354b55e62
@ -123,7 +123,7 @@ func init() {
|
||||
f.BoolVar(&backupOptions.Stdin, "stdin", false, "read backup from stdin")
|
||||
f.StringVar(&backupOptions.StdinFilename, "stdin-filename", "stdin", "`filename` to use when reading from stdin")
|
||||
f.Var(&backupOptions.Tags, "tag", "add `tags` for the new snapshot in the format `tag[,tag,...]` (can be specified multiple times)")
|
||||
f.UintVar(&backupOptions.ReadConcurrency, "read-concurrency", 0, "read `n` files concurrently. (default: $RESTIC_READ_CONCURRENCY or 2)")
|
||||
f.UintVar(&backupOptions.ReadConcurrency, "read-concurrency", 0, "read `n` files concurrently (default: $RESTIC_READ_CONCURRENCY or 2)")
|
||||
f.StringVarP(&backupOptions.Host, "host", "H", "", "set the `hostname` for the snapshot manually. To prevent an expensive rescan use the \"parent\" flag")
|
||||
f.StringVar(&backupOptions.Host, "hostname", "", "set the `hostname` for the snapshot manually")
|
||||
err := f.MarkDeprecated("hostname", "use --host")
|
||||
|
@ -54,10 +54,10 @@ variable ``RESTIC_COMPRESSION``.
|
||||
File Read Concurrency
|
||||
=====================
|
||||
|
||||
When backing up fast storage like NVME disks, it can be beneficial to increase the read
|
||||
concurrency. This can increase the overall performance of the backup operation by reading
|
||||
more files in parallel. You can specify the concurrency of file reads with the
|
||||
``RESTIC_READ_CONCURRENCY`` environment variable or the ``--read-concurrency`` flag for
|
||||
When backing up files from fast storage like NVMe disks, it can be beneficial to increase
|
||||
the read concurrency. This can increase the overall performance of the backup operation
|
||||
by reading more files in parallel. You can specify the concurrency of file reads with the
|
||||
``RESTIC_READ_CONCURRENCY`` environment variable or the ``--read-concurrency`` option of
|
||||
the ``backup`` command.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user