Bug 211521 - support (incremental) send|receive'ing snapshots back and forth
Summary: support (incremental) send|receive'ing snapshots back and forth
Status: RESOLVED IMPLEMENTED
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: All Linux
: P1 enhancement
Assignee: BTRFS virtual assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-01 22:49 UTC by Christoph Anton Mitterer
Modified: 2023-03-15 00:44 UTC (History)
0 users

See Also:
Kernel Version: git
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Christoph Anton Mitterer 2021-02-01 22:49:45 UTC
Hey.

As asked here[0] by myself and apparently several previous times, for example in [1] with some more concrete evaluation[2] on how this could be done,... it would be really nice if btrfs supports incrementally send|receiving snapshots back and forth.
Especially also situations like:
1) fs1: snapshot A  ->  fs2: snapshot A'
2) modifying A' on f2 to become snapshot B
3) incrementally sending fs2: snaphot B -> fs1: snapshot B' ... by using A/A' as the parent.

[0] and [1] give some typical use cases for this.


Cheers,
Chris.



[0] https://www.spinics.net/lists/linux-btrfs/msg110122.html
[1] https://www.spinics.net/lists/linux-btrfs/msg43621.html
[2] https://www.spinics.net/lists/linux-btrfs/msg44089.html
Comment 1 Christoph Anton Mitterer 2023-03-15 00:44:29 UTC
Turns out, that this apparently already works, and AFAIU it's even "intended to work" ;-)

See:
https://lore.kernel.org/linux-btrfs/10fd619ccbe568df4344b6b1d93f061bc493d396.camel@scientia.org/


Thus closing.

Note You need to log in before you can comment on or make changes to this bug.