2022-12-28 14:40:59 +00:00
|
|
|
Enhancement: Add `repair index` and `repair snapshots` commands
|
2020-08-06 10:31:37 +00:00
|
|
|
|
2022-12-28 14:40:59 +00:00
|
|
|
The `rebuild-index` command has been renamed to `repair index`. The old name
|
|
|
|
will still work, but is deprecated.
|
2020-08-06 10:31:37 +00:00
|
|
|
|
2022-12-28 14:40:59 +00:00
|
|
|
When a snapshot was damaged, the only option up to now was to completely forget
|
2023-07-29 00:30:40 +00:00
|
|
|
the snapshot, even if only some unimportant files in it were damaged and other
|
|
|
|
files were still fine.
|
2022-12-28 14:40:59 +00:00
|
|
|
|
2023-07-29 00:30:40 +00:00
|
|
|
Restic now has a `repair snapshots` command, which can salvage any non-damaged
|
|
|
|
files and parts of files in the snapshots by removing damaged directories and
|
|
|
|
missing file contents. Please note that the damaged data may still be lost
|
|
|
|
and see the "Troubleshooting" section in the documentation for more details.
|
2020-08-06 10:31:37 +00:00
|
|
|
|
|
|
|
https://github.com/restic/restic/issues/1759
|
2022-12-28 14:40:59 +00:00
|
|
|
https://github.com/restic/restic/issues/1714
|
2020-08-06 10:31:37 +00:00
|
|
|
https://github.com/restic/restic/issues/1798
|
|
|
|
https://github.com/restic/restic/issues/2334
|
|
|
|
https://github.com/restic/restic/pull/2876
|
|
|
|
https://forum.restic.net/t/corrupted-repo-how-to-repair/799
|
|
|
|
https://forum.restic.net/t/recovery-options-for-damaged-repositories/1571
|