Explore integration with blk-archive
@bmr-cymru is already working on this.
Since Nov 26, 2025.
Assessment
This issue has not been assessed yet.
Description
The blk-archive project is a tool for archiving block devices. It is particularly effective when used with dm-thin devices and supports compression and de-duplication while maximising data sharing on restore operations.
There is the potential to integrate this into snapshot manager, allowing users to archive entire snapshot sets to stable storage or restore existing archives to live devices.
There are a number of things to consider:
- UI integration
- Archival seems straightforward:
snapm snapset archive snapset_name /path/to/archive. - But how would restore work?
- What would the command line look like? All current snapset subcommands expect a snapset_name argument.
- Can we enumerate devices in a blk-archive archive? Or add our own metadata to describe the restore destinations?
- What does the restore workflow look like? Create "dummy" snapshots, then overwrite them with the extracted archive and initiate a merge?
- Archival seems straightforward:
- A Manager API seems like it would be straightforward for archive, raises same questions as UI for restore
- There's a desire for "send/receive" (cf. btrfs/ZFS) style support,
but this was considered out of scope by the blk-archive authorthis is under reconsideration
- Dominant language
- Python
- Stars
- 14
- Forks
- 8
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 6
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from snapshotmanager/snapm
-
tests: work around virt-tests AppArmor errors for BIOS guestsPossibly taken @bmr-cymru claimed this 6 days ago. OpenCI Testing
snapshotmanager/snapm#1046 · 1 assignee ·
-
tests: harden boot tests against host /boot statePossibly taken @bmr-cymru claimed this 6 days ago. Open
snapshotmanager/snapm#1045 · 1 assignee ·
-
snapm-0.8.0 release planningPossibly taken @bmr-cymru claimed this 11 days ago. OpenRelease
snapshotmanager/snapm#1037 · 1 assignee ·
-
CI Testing
Difficulty 4/5 3-5 days Newbie friendliness 45/100
snapshotmanager/snapm#1036 ·
-
Concurrent scheduled snapshot jobs can fail on `manager.lock`Possibly taken @bmr-cymru claimed this 27 days ago. OpenBug Schedules UI/UX WORKAROUND
snapshotmanager/snapm#1020 · 3 comments · 1 assignee ·
All issues in snapshotmanager/snapm
Similar issues
-
Import errors are swallowed: PerthImplicitWatermarker silently becomes NonePossibly taken @JonRC claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
resemble-ai/Perth#23 ·
-
correction metadata
Difficulty 2/5 Under an hour Newbie friendliness 65/100
acl-org/acl-anthology#10753 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
earthtojake/text-to-cad#758 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 70/100
DataTalksClub/faq#545 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day