From owner-freebsd-current@FreeBSD.ORG Fri Jul 25 00:56:08 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E52B4761 for ; Fri, 25 Jul 2014 00:56:07 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id A5CA02CC5 for ; Fri, 25 Jul 2014 00:56:07 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 605482CCED for ; Fri, 25 Jul 2014 00:56:06 +0000 (UTC) Message-ID: <53D1AB3D.1060205@freebsd.org> Date: Thu, 24 Jul 2014 20:56:29 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: zfs send/recv: STILL invalid Backup Stream References: <62315eb454a95db636b7764aad3c0f9b@thebighonker.lerctr.org> <53D1448C.40908@freebsd.org> <53D15438.6040105@freebsd.org> <0a9cd451c3b4304d2b9d899fcb3decc3@thebighonker.lerctr.org> <3d2aac84d962a703fbf56a864ba5f19c@mailbox.ijs.si> <9eef3e7e964cb33fd163cc2f9300f326@mailbox.ijs.si> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W6c0Q6Vkipw36nWHsmIo2Tanq3SbPfTVI" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2014 00:56:08 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --W6c0Q6Vkipw36nWHsmIo2Tanq3SbPfTVI Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-07-24 20:46, Mark Martinec wrote: > 2014-07-25 01:36 Larry Rosenman wrote: >=20 >> #!/bin/sh >> DATE=3D`date "+%Y-%m-%d"` >> #DATE2=3D2013-03-24 >> #DATE2=3D`date -v "-1d" "+%Y-%m-%d"` >> # snap the source >> ssh root@tbh.lerctr.org zfs snapshot -r zroot@${DATE} >> # zfs copy the source to here. >> ssh root@tbh.lerctr.org "zfs send -v -R zroot@${DATE} | \ >> ssh home.lerctr.org \"zfs recv -F -u -v -d zroot/backups/TBH2\"" >=20 > Btw, this double-ssh looks awkward, why not just: >=20 > ssh root@tbh.lerctr.org "zfs send ..." | zfs recv ... >=20 > or better yet: >=20 > ssh root@tbh.lerctr.org "zfs send ..." | mbuffer -m 16M | zfs recv ..= =2E >=20 > (The misc/mbuffer compensates for bursty zfs reads and writes. > A note to myself: I should suggest to Allan to add mbuffer > in a pipe as used in sysutils/zxfer, instead of patching zxfer > for our local use :) >=20 > Mark > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" zxfer can already do this, with the -D option I actually use misc/clpbar and get a progress bar as well -D 'bar -s %%size%% -bl 1m -bs 128m' or in your case: -D 'mbuffer -m 16M' --=20 Allan Jude --W6c0Q6Vkipw36nWHsmIo2Tanq3SbPfTVI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJT0atAAAoJEJrBFpNRJZKfB5IP/2HV/y+hjqtkB+lLCXPQVazM xLJAlMUMB+TbyLLbmJyHYjRiAa3U5Z6P+s99Zk7qxiseDNc6VsJHQh1Y4XP3paQ/ 6qR+uGuoGei7Q+nws9I143cwtghsU5HPiR7toq/9zYHy490D/0sZy/HhNq5lgflN pOmQRowCyWbTY0I2urjuw4CBbWnYZphIxpvZNZ85ELqxZxpSO9NeDzsJVEsCaaCi 2qhaFn40TIQlO2kRoa3J/brzJwUY+DOuAO4qoEC6A9dHW+6ZfIVNW5XSkDVSKhu3 IviYf7RIi8V6D138EnXDw6Nqw4eZ42q6cHD2aO2m50y3PqQ8AAqQLqiOclii001I rycnj6dclOmBMFS1Wfh6zPRwHb+N3p+M+m1PMJJ+bkwvYl+3xsoMm+mYojTsIyLE LwHJP8wZa8j8xtpZPREOzMyOggpB2pZGVhkoWhkgwfyGhhX176hjTIblu0a/sh/z vmR8qbfETrfgbe1wO6O903tVSU4drCKd69fQ1LJ9AYwmI6iE4fTW8okH0F5cZTm4 XcAky4IAA1/IPh4hMqVDR+k1kla05q3K22l5WJOf7FUZ7bea+4OrMvYIXqoh5ctS 3IoDgTyxEpGi5z2C/htRi/lCmaErArUvz9Dho4SYFtDqUE5yMWvb3s++8y8hg6mc vRXtHRF7mUePxjf1aemO =ZzW5 -----END PGP SIGNATURE----- --W6c0Q6Vkipw36nWHsmIo2Tanq3SbPfTVI--