mirror of https://github.com/restic/restic.git
prune: report missing but unneeded pack files
This indicates a damaged repository so add some output to help with debugging.
This commit is contained in:
parent
ff95999246
commit
7b8886c052
|
@ -378,7 +378,10 @@ func prune(opts PruneOptions, gopts GlobalOptions, repo restic.Repository, usedB
|
|||
return errorPacksMissing
|
||||
}
|
||||
if len(ignorePacks) != 0 {
|
||||
Verbosef("missing but unneded pack files are referenced in the index, will be repaired\n")
|
||||
Warnf("Missing but unneeded pack files are referenced in the index, will be repaired\n")
|
||||
for id := range ignorePacks {
|
||||
Warnf("will forget missing pack file %v\n", id)
|
||||
}
|
||||
}
|
||||
|
||||
repackAllPacksWithDuplicates := true
|
||||
|
|
Loading…
Reference in New Issue