mirror of
https://github.com/octoleo/restic.git
synced 2024-11-23 21:27:34 +00:00
744a15247d
The old behavior was problematic in the context of rebuild-index as it could leave old, possibly invalid index files behind without returning a fatal error. Prune calls rebuildIndex before removing any data from the repository. For this use case failing to delete an old index MUST be treated as a fatal error. Otherwise the index could still contain an old index file that refers to blobs/packs that were later on deleted by prune. Later backup runs will assume that the affected blobs already exist in the repository which results in a backup which misses data. |
||
---|---|---|
.. | ||
restic |