Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2019 22:48:28 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-questions@freebsd.org
Subject:   Re: saving "zfs send" to a Windows host
Message-ID:  <20190429154828.GB93670@admin.sibptus.ru>
In-Reply-To: <20190429050740.GA80692@admin.sibptus.ru>
References:  <20190423054243.GA4659@admin.sibptus.ru> <MWHPR04MB04958C6A2CF9A1D362CB2254803E0@MWHPR04MB0495.namprd04.prod.outlook.com> <20190428075047.GA50334@admin.sibptus.ru> <201904281023.34436.dr.klepp@gmx.at> <20190429050740.GA80692@admin.sibptus.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190429154828.GB93670>