8000 Rewrote the repair for scenarios where remote files are missing. by kenkendk · Pull Request #6237 · duplicati/duplicati · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Rewrote the repair for scenarios where remote files are missing. #6237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 12, 2025

Conversation

kenkendk
Copy link
Member
@kenkendk kenkendk commented May 8, 2025

This adds a number of additional features to the repair process so it can actually fully recover if all data is present.

Also added a several tests to ensure that the functionality works in multiple scenarios.

Also added functionality to do partial recovery where some data is available locally.
This makes it possible to first run a "repair" to recover as much data as possible, and then run purge-broken-files after to ensure that the backups retain as much content as possible.

With this change, it is also possible to recover files that are only lacking metadata, and the purge-broken-files command will by default try to assign a different set of metadata to files to avoid them being purged.

This fixes #5987

kenkendk added 15 commits May 5, 2025 16:41
This adds a number of additional features to the repair process so it can actually fully recover if all data is present.

Also added a several tests to ensure that the functionality works in multiple scenarios.

This fixes #5987
… source data is available.

This repair will leave the database in a still-broken state, but if this is run prior to purge-broken-files, less data will be lost.

Also updated the purge-broken-files operation to keep files and directories in the set, if they are only missing metadata.
Fix indentation.
Move metadata check up.
Fixed issue with the full/partial state not being replicated for re-created filesets
@kenkendk kenkendk merged commit 2f0e9dc into master May 12, 2025
5 checks passed
@kenkendk kenkendk deleted the feature/issue-5987 branch May 12, 2025 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

repair with rebuild-missing-dblock-files makes no log when it fails
1 participant
0