Skip to contentSkip to conversation

could send|receive be made interruptible|resumable?

DISCUSSION Christoph Anton Mitterer 1 participant 1 message Nov 26, 2023 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hey.

This goes along with [0].

Could send|receive be extended to allow being interrupted and resumed later on?
Maybe at least when sending read-only snapshots?

I'd naively assume that for a read-only snapshot it's always the same that's being sent (well not really sure, if that's really the case, e.g. when block groups are balanced, defragged, etc.).

If so, INTerrupting the two could print out some information on how far it go, which next time one could feed into send as parameter, and it would continue from there.

The motivation for this feature request is, that send|receving very large subvolumes takes obviously quite long and one may want/need to pause that (e.g. I don't want to leave my laptop running for days, even while I'm away).

Thanks,
Chris.

[0] https://lore.kernel.org/linux-btrfs/[email protected]/T/#u