saving "zfs send" to a Windows host

Victor Sudakov vas at mpeks.tomsk.su
Mon Apr 29 15:48:30 UTC 2019


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:
> 
> cat r.bin | ssh winhost "b:\gw2_backup\dd bs=1M of=b:\gw2_backup\test.bin"
> 
> 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 at weekly-2019-14 | ssh winhost "b:\gw2_backup\7z.exe a -si b:\gw2_backup\radius.7z"

Thanks to all who replied.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20190429/8b62efda/attachment.sig>


More information about the freebsd-questions mailing list