mirror of
https://github.com/restic/restic.git
synced 2025-08-12 08:27:40 +00:00
Merge pull request #2893 from MichaelEischer/restore-preallocate
restorer: Preallocate files
This commit is contained in:
@@ -14,4 +14,10 @@ file can be written to the file before any of the preceeding file blobs.
|
||||
It is therefore possible to have gaps in the data written to the target
|
||||
files if restore fails or interrupted by the user.
|
||||
|
||||
The implementation will try to preallocate space for the restored files
|
||||
on the filesystem to prevent file fragmentation. This ensures good read
|
||||
performance for large files, like for example VM images. If preallocating
|
||||
space is not supported by the filesystem, then this step is silently skipped.
|
||||
|
||||
https://github.com/restic/restic/pull/2195
|
||||
https://github.com/restic/restic/pull/2893
|
||||
|
Reference in New Issue
Block a user