From owner-freebsd-questions@freebsd.org Mon Apr 29 15:48:30 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 578FA1594925 for ; Mon, 29 Apr 2019 15:48:30 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A769389901 for ; Mon, 29 Apr 2019 15:48:29 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=XzoFjUIFflr1OsqU2QeXXgGPWWxjGOxTnnXx/6GLxzk=; b=aoVsYQ6BaXLeGdeeVCS5CG2H+K 1xZ39hngulY1sDnRnCawzBCVVIuyfQpgTd6qR9lg8e4OI5EOYDaDXPLCod8hEA5n9s1i6m/3kNq4P sqeqlascoP/I0B3Xfdt8IrltQyY6byVKsTc5RD/SUWmMzbyEox7gFgCTlTt5L5dqiRUg=; Received: from vas by admin.sibptus.ru with local (Exim 4.92 (FreeBSD)) (envelope-from ) id 1hL8W4-000OPF-QQ for freebsd-questions@freebsd.org; Mon, 29 Apr 2019 22:48:28 +0700 Date: Mon, 29 Apr 2019 22:48:28 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: saving "zfs send" to a Windows host Message-ID: <20190429154828.GB93670@admin.sibptus.ru> References: <20190423054243.GA4659@admin.sibptus.ru> <20190428075047.GA50334@admin.sibptus.ru> <201904281023.34436.dr.klepp@gmx.at> <20190429050740.GA80692@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <20190429050740.GA80692@admin.sibptus.ru> X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.11.4 (2019-03-13) Sender: Victor Sudakov X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 15:48:30 -0000 --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Victor Sudakov wrote: > But I think I've found a working dd implementation for Windows at > http://www.chrysocome.net/dd which works with stdin. A quick test has > shown that the following does work: >=20 > cat r.bin | ssh winhost "b:\gw2_backup\dd bs=3D1M of=3Db:\gw2_backup\test= =2Ebin" >=20 > It creates test.bin where requested and its md5 is the same as that of r.= bin. I've just found an elegant solution, the native Windows 7z archiver can work from/to stdin, so it will receive and compress my zfs stream: zfs send zroot/vm/radius@weekly-2019-14 | ssh winhost "b:\gw2_backup\7z.exe= a -si b:\gw2_backup\radius.7z" Thanks to all who replied. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --9amGYk9869ThD9tj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJcxxzMAAoJEA2k8lmbXsY0wIcH/3sDrLEJ5HCN97dlQ3ouG+My 32PoRdwk7mmNdk4airXbrrwMjkJp1LIVxBbEfEoXiUwQKa3Us/Gg6Z5FgE5wCKW4 lnCui2SKsE5JbFIKU2NeM8wH2sHIDk7O+OqlFzG5a7JmIwqu45yXLJCZfCPoKu4a HhhamXibChZsZlbxURI7/NsOJ5tUFMwXCveL7DNXJFMOf4ljIw3RkaE66v6F48JZ DMgufYXDqpVLy5Rge2YGQHzTgfsP+kY2MYDLbd/D1qUAwMwVYq2Xr6HNJ0/b3WRF 9XkpMPu1wCzMNJiYa/nwT+9rK1ZHTAI8SBA7h58tz0u2OKrE6E/AyX9Lzz1Bn5w= =hUX+ -----END PGP SIGNATURE----- --9amGYk9869ThD9tj--