Skip to content

Add diff command (restic diff wrapper)#30

Merged
pascal-zarrad merged 1 commit into
mainfrom
feature/diff-command
Jun 5, 2026
Merged

Add diff command (restic diff wrapper)#30
pascal-zarrad merged 1 commit into
mainfrom
feature/diff-command

Conversation

@pascal-zarrad

Copy link
Copy Markdown
Member

Adds conba diff <snap-a> <snap-b> for showing file differences between two snapshots, mirroring restic diff. Snapshot identifiers may be full IDs, short IDs, or the literal "latest". Useful for quickly checking what changed between two backups (validation, audit, recovery scoping).

Pattern mirrors the just-shipped verify command: small Client.Diff wrapper around restic diff, two-positional-arg cobra command, unit + e2e tests, README entry. Stdout from restic is passed through to conba's stdout verbatim.

Adds `conba diff <snap-a> <snap-b>` for showing file differences
between two snapshots, mirroring `restic diff`. Snapshot identifiers
may be full IDs, short IDs, or the literal "latest". Useful for
quickly checking what changed between two backups (validation, audit,
recovery scoping).

Pattern mirrors the just-shipped `verify` command: small `Client.Diff`
wrapper around `restic diff`, two-positional-arg cobra command, unit +
e2e tests, README entry. Stdout from restic is passed through to
conba's stdout verbatim.
@pascal-zarrad pascal-zarrad self-assigned this Jun 5, 2026
@pascal-zarrad pascal-zarrad requested a review from a team as a code owner June 5, 2026 20:24
@pascal-zarrad pascal-zarrad added the C2 - feature A suggestion or implementation of a new feature label Jun 5, 2026
@pascal-zarrad pascal-zarrad merged commit b8e6daa into main Jun 5, 2026
6 checks passed
@pascal-zarrad pascal-zarrad deleted the feature/diff-command branch June 5, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C2 - feature A suggestion or implementation of a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant