On Sun, 10 Jan 2021 11:34:27 +0100 " " <[email protected]> wrote:
> I'm trying to transfer a btrfs snapshot via the network. > > First attempt: Both NC programs don't exit after the transfer is complete. > When I ctrl-C the sending side, the receiving side exits OK. It is a common annoyance that NC doesn't exit in such scenario and needs to be Ctrl-C'ed after verifying that the transfer is over. Instead, at host2 try: ssh host1 "btrfs send ..." | btrfs receive ... Also much more secure. -- With respect, Roman
