Skip to content

feat: Optimize hardlink creation in restore#495

Merged
aawsome merged 1 commit intomainfrom
hardlink-optimize
Apr 5, 2026
Merged

feat: Optimize hardlink creation in restore#495
aawsome merged 1 commit intomainfrom
hardlink-optimize

Conversation

@aawsome
Copy link
Copy Markdown
Member

@aawsome aawsome commented Apr 5, 2026

With this PR, hardlinks are not crated and then removed, but only linked.
Follow-up to #492

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 5, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 52.6%. Comparing base (511b66e) to head (de4f161).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crates/core/src/commands/restore.rs 50.0% 14 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
crates/core/src/commands/restore.rs 44.0% <50.0%> (-0.8%) ⬇️

... and 34 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aawsome aawsome merged commit 357bb1f into main Apr 5, 2026
24 of 25 checks passed
@aawsome aawsome deleted the hardlink-optimize branch April 5, 2026 06:56
github-merge-queue bot pushed a commit that referenced this pull request Apr 5, 2026
## 🤖 New release

* `rustic_core`: 0.10.1 -> 0.11.0 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.11.0](rustic_core-v0.10.1...rustic_core-v0.11.0)
- 2026-04-05

### Added

- Optimize hardlink creation in restore
([#495](#495))
- add exclude-if-xattr option
([#491](#491))

### Fixed

- make `ignore`'s `.git_exclude()` mirror `.git_ignore()`
([#494](#494))

### Other

- update dependencies
([#496](#496))
- preserve hardlinks on restore
([#492](#492))
- use general tree modifier in `repair snapshots`
([#463](#463))
- [**breaking**] Optimize file streaming
([#489](#489))
- [**breaking**] use Cow to avoid OsString allocations
([#487](#487))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

Co-authored-by: rustic-release-plz[bot] <182542030+rustic-release-plz[bot]@users.noreply.github.com>
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.

1 participant