2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-27 07:16:40 +00:00

restorer: don't track already uptodate blobs

This commit is contained in:
Michael Eischer 2024-07-21 12:03:28 +02:00
parent 10efa77103
commit 0dcac90bea

View File

@ -138,6 +138,8 @@ func (r *fileRestorer) restoreFiles(ctx context.Context) error {
restoredBlobs = true restoredBlobs = true
} else { } else {
r.reportBlobProgress(file, uint64(blob.DataLength())) r.reportBlobProgress(file, uint64(blob.DataLength()))
// completely ignore blob
return
} }
pack, ok := packs[packID] pack, ok := packs[packID]
if !ok { if !ok {