2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 10:58:55 +00:00

Add note that larger packs increase disk wear

This commit is contained in:
Michael Eischer 2022-08-19 19:19:33 +02:00
parent 0d9ac78437
commit 5d0523e2f1

View File

@ -72,3 +72,9 @@ of backend connections plus one. For example, if the backend uses 5 connections
for most backends), with a target pack size of 64 MiB, you'll need a *minimum* of 384 MiB
of space in the temp directory. A bit of tuning may be required to strike a balance between
resource usage at the backup client and the number of pack files in the repository.
Note that larger pack files increase the chance that the temporary pack files are written
to disk. An operating system usually caches file write operations in memory and writes
them to disk after a short delay. As larger pack files take longer to upload, this
increases the chance of these files being written to disk. This can increase disk wear
for SSDs.