Date: Thu, 7 Jan 2016 00:05:36 -0800 From: Sean Chittenden <sean@chittenden.org> To: freebsd-lists@potato.growveg.org Cc: freebsd-fs@freebsd.org Subject: Re: zfs send compression query Message-ID: <7C9E16F4-AFE3-49E5-9686-B33D0E0FDB37@chittenden.org> In-Reply-To: <20160107075935.GB50011@potato.growveg.org> References: <20160106233557.GA6185@potato.growveg.org> <E6D52539-46D2-4E58-8771-CE405488A820@chittenden.org> <20160107073611.GA50011@potato.growveg.org> <20160107075935.GB50011@potato.growveg.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bonus points: $ SNAP_SIZE=3D`zfs send -nvP "vms/133@2016-01-07.0648" | tail -n 1 | awk = '{print $2}'` $ zfs send -Rv vms/133@2016-01-07.0648 | pv -r -a -b -t -e -s = "${SNAP_SIZE}" -B 512m | pigz -9c | ssh backup@[redacted] "pigz -dc | = zfs recv -Fdvu storage/snapshots" Useful for getting an ETA. -sc -- Sean Chittenden sean@chittenden.org > On Jan 6, 2016, at 23:59, John <freebsd-lists@potato.growveg.org> = wrote: >=20 > On Thu, Jan 07, 2016 at 07:36:11AM +0000, John wrote: >=20 >> I'm guessing I'm doing something wrong with the pipes, but not sure >> how to solve it... >=20 > sorted it, now that I have had enough caffeine. I was missing > quotation marks and misplaced a pipe! >=20 > $ zfs send -Rv vms/133@2016-01-07.0648 | pigz -9c | > ssh backup@[redacted] "pigz -dc | zfs recv -Fdvu > storage/snapshots" > send from @ to vms/133@2016-01-07.0648 estimated size is 32.1G > total estimated size is 32.1G > TIME SENT SNAPSHOT > receiving full stream of vms/133@2016-01-07.0648 into = storage/snapshots/133@2016-01-07.0648 > 07:50:11 16.7M vms/133@2016-01-07.0648 > 07:50:12 63.2M vms/133@2016-01-07.0648 > 07:50:13 143M vms/133@2016-01-07.0648 > 07:50:14 153M vms/133@2016-01-07.0648 > 07:50:15 164M vms/133@2016-01-07.0648 >=20 > *happy* > --=20 > John _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7C9E16F4-AFE3-49E5-9686-B33D0E0FDB37>