Skip to content

feat: make backup generic over a ReadSource; add openDAL ReadSource - #518

Merged
aawsome merged 2 commits into
mainfrom
opendal-source
Jun 1, 2026
Merged

aawsome merged 2 commits into
mainfrom
opendal-source

Conversation

@aawsome

@aawsome aawsome commented Jun 1, 2026 •

Copy link
Copy Markdown
Member

This adds the possibility to backup from an openDAL source.

closes #208

@codecov

codecov Bot commented Jun 1, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 23.88060% with 51 lines in your changes missing coverage. Please review.
✅ Project coverage is 52.3%. Comparing base (cb429f8) to head (2115900).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
crates/backend/src/opendal.rs 0.0% 39 Missing ⚠️
crates/core/src/commands/backup.rs 64.0% 9 Missing ⚠️
crates/core/src/backend.rs 0.0% 2 Missing ⚠️
crates/core/src/repository.rs 0.0% 1 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
crates/core/src/repofile/snapshotfile.rs 67.3% <ø> (+1.8%) ⬆️
crates/core/src/repository.rs 62.0% <0.0%> (-0.2%) ⬇️
crates/core/src/backend.rs 59.6% <0.0%> (-2.2%) ⬇️
crates/core/src/commands/backup.rs 57.8% <64.0%> (+5.1%) ⬆️
crates/backend/src/opendal.rs 18.4% <0.0%> (-5.6%) ⬇️

... and 25 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 5d0e42c into main Jun 1, 2026
22 of 23 checks passed
@aawsome
aawsome deleted the opendal-source branch June 1, 2026 14:21
@rustic-release-plz rustic-release-plz Bot mentioned this pull request Jun 1, 2026
pull Bot pushed a commit to ChecksumDev/rustic_core that referenced this pull request Jun 2, 2026
## 🤖 New release

* `rustic_core`: 0.11.0 -> 0.12.0 (✓ API compatible changes)
* `rustic_backend`: 0.6.1 -> 0.6.2 (✓ API compatible changes)

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

## `rustic_core`

<blockquote>

##
[0.12.0](rustic-rs/rustic_core@rustic_core-v0.11.0...rustic_core-v0.12.0)
- 2026-06-01

### Added

- make backup generic over a ReadSource; add openDAL ReadSource
([rustic-rs#518](rustic-rs#518))
- [**breaking**] scope destination scan to snapshot-relevant paths for
restore ([rustic-rs#493](rustic-rs#493))

### Fixed

- Build for 32-bit Android
([rustic-rs#517](rustic-rs#517))
- read index entries in `dump` before processing
([rustic-rs#513](rustic-rs#513))
- re-export jiff
([rustic-rs#512](rustic-rs#512))
- typo in comments
([rustic-rs#511](rustic-rs#511))
- local BE - don't leave broken files when writing fails
([rustic-rs#499](rustic-rs#499))
- fix clipp lints
([rustic-rs#500](rustic-rs#500))

### Other

- update dependencies
([rustic-rs#519](rustic-rs#519))
- Use Smallvec
([rustic-rs#514](rustic-rs#514))
- parallelize blob fetch in dump command
([rustic-rs#501](rustic-rs#501))
- update opendal, reqwest and others
([rustic-rs#507](rustic-rs#507))
</blockquote>

## `rustic_backend`

<blockquote>

##
[0.6.2](rustic-rs/rustic_core@rustic_backend-v0.6.1...rustic_backend-v0.6.2)
- 2026-06-01

### Added

- make backup generic over a ReadSource; add openDAL ReadSource
([rustic-rs#518](rustic-rs#518))

### Fixed

- include repo root in warmup paths
([rustic-rs#509](rustic-rs#509))
([rustic-rs#510](rustic-rs#510))
- local BE - don't leave broken files when writing fails
([rustic-rs#499](rustic-rs#499))

### Other

- update dependencies
([rustic-rs#519](rustic-rs#519))
- enable pcloud backend feature
([rustic-rs#515](rustic-rs#515))
- update opendal, reqwest and others
([rustic-rs#507](rustic-rs#507))
</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>
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
rustic 0.11.3

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>Hello rusticeans,

we are happy to release rustic 0.11.3! This release adds the possibility to use remote storages supported by openDAL as backup source. Note this is an early implementation and may miss features - feedback is warmly welcome!
Besides this, we have many other improvements and minor bug fixes - many of them come from community contributions - thanks a lot to everybody who contributed!

# Changelog

### Added

- Add opendal as backup source ([#1769](rustic-rs/rustic#1769), [#518](rustic-rs/rustic_core#518))
- Add ls option to backup command ([#1771](rustic-rs/rustic#1771))
- add JSON progress output option ([#1751](rustic-rs/rustic#1751))
- enable pcloud backend feature ([#515](rustic-rs/rustic_core#515))
- Add warning about profile-substitute without profiles ([#1743](rustic-rs/rustic#1743))
- Add version command ([#1738](rustic-rs/rustic#1738))
- scope destination scan to snapshot-relevant paths for restore ([#493](rustic-rs/rustic_core#493))

### Fixed

- Throttle configuration example ([#1766](rustic-rs/rustic#1766))
- add required scheme to sftp endpoint ([#1758](rustic-rs/rustic#1758))
- use indicatif-log-bridge to avoid breaking progress bar on log ([#1747](rustic-rs/rustic#1747))
- respect config-supplied backup(.snapshot).init ([#1742](rustic-rs/rustic#1742))
- local BE - don't leave broken files when writing fails ([#499](rustic-rs/rustic_core#499))
- include repo root in warmup paths ([#509](rustic-rs/rustic_core#509)) ([#510](rustic-rs/rustic_core#510))

### Other

- dependency updates ([#1772](rustic-rs/rustic#1772), [#1767](rustic-rs/rustic#1767), [#507](rustic-rs/rustic_core#507))
- config/README.md: mention string requirement for [repository.options] ([#1750](rustic-rs/rustic#1750))
- Add link/note to opendal's backend documentation ([#1749](rustic-rs/rustic#1749))
- add gdrive service example ([#1760](rustic-rs/rustic#1760))
- Use Smallvec ([#514](rustic-rs/rustic_core#514))
- parallelize blob fetch in dump command ([#501](https://github.com/rustic-rs/rustic_core/pull/501))</pre>
  <p>View the full release notes at <a href="https://github.com/rustic-rs/rustic/releases/tag/v0.11.3">https://github.com/rustic-rs/rustic/releases/tag/v0.11.3</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!10395
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.

Support ability to backup from custom ReadSource

1 participant