From: Roman Mamedov <rm@romanrm.net>
To: " " <Cedric.dewijs@eclipso.eu>
Cc: <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs send / receive via netcat, fails halfway?
Date: Sun, 10 Jan 2021 16:37:05 +0500 [thread overview]
Message-ID: <20210110163705.1852c4a7@natsu> (raw)
In-Reply-To: <0440549b7c78763ce787b03341ca5b9f@mail.eclipso.de>
On Sun, 10 Jan 2021 11:34:27 +0100
" " <Cedric.dewijs@eclipso.eu> 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
next prev parent reply other threads:[~2021-01-10 11:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-10 10:34 btrfs send / receive via netcat, fails halfway?
2021-01-10 11:07 ` Forza
2021-01-10 11:37 ` Roman Mamedov [this message]
2021-01-10 12:38 `
2021-01-10 11:47 ` Hugo Mills
2021-01-10 13:27 ` Hugo Mills
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210110163705.1852c4a7@natsu \
--to=rm@romanrm.net \
--cc=Cedric.dewijs@eclipso.eu \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.