digint / digint/btrbk

Generate warning on `archive` with read-write snapshot

Open
#165 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Perl
Stars
2.1k
Forks
139
PR merge metrics
No merged PRs in 30d

Description

Firstly, thanks to `btrbk` and everyone involved in saving my skin. I b0rked my FS and was able to restore everything beautifully.

In the process, I noticed that I had accidentally set one snapshot to be read-write.

`btrfs send` requires snapshots to be RO. The `archive` just stopped silently at the RW snapshot.

Could a warning be given?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue identifies the archive operation and the btrfs send step as the relevant entry points, but it names no files or tests. Start by locating the archive implementation and its handling of read-write snapshots, then reproduce the case with a read-write snapshot. Done means archive emits a warning instead of stopping silently at that snapshot.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, perl
Domain
cli, operating-systems
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.