From owner-freebsd-current@freebsd.org Tue Sep 1 19:03:47 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2F0C43D402C for ; Tue, 1 Sep 2020 19:03:47 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BgxLW0TKJz43XZ for ; Tue, 1 Sep 2020 19:03:47 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from Ryans-MBP.attlocal.net (unknown [IPv6:2600:1700:358a:c660:5547:ff61:2b5c:3014]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: freqlabs/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id C25831BA40 for ; Tue, 1 Sep 2020 19:03:46 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Subject: Re: What is the zstreamdump command in OpenZFS? To: freebsd-current@freebsd.org References: <010001744ab9e165-697ac7b1-e44a-4103-8843-5efb6ea871e6-000000@email.amazonses.com> <13bfbbdf-9ca4-9e2a-c552-4c391ac8e311@FreeBSD.org> From: Ryan Moeller Message-ID: <4d21820b-91ab-28a9-9496-b1a89c6bf6f6@FreeBSD.org> Date: Tue, 1 Sep 2020 15:03:46 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <13bfbbdf-9ca4-9e2a-c552-4c391ac8e311@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 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: Tue, 01 Sep 2020 19:03:47 -0000 On 9/1/20 2:13 PM, Ryan Moeller wrote: > > On 9/1/20 1:32 PM, Thomas Laus wrote: >> Group: >> >> Whenever I perform a major upgrade to any of my ZFS pools, I make a >> habit of sending the most recent snapshot to a file and then to a DLT >> tape or DVD.  I run the zstreamdump utility on the file and record the >> checksum.  I also run zstreamdump on the archive media and compare >> checksums.  With the recent ZFS upgrade in CURRENT, I could not locate >> this utility.  With a major upgrade such as this, I was really concerned >> about not being able to boot and loosing everything on a production >> system.  Fortunately this upgrade went smoothly and I did not have to >> restore from alternate media.  The next time, I may not be lucky. >> >> Tom >> > zstreamdump is supposed to be a script wrapper around a new, more > general, command: zstream > > > > #!/bin/sh > > zstream dump "$@" > > > > It doesn't appear to be installing itself properly, though. I'll have > to look into that. https://svnweb.freebsd.org/changeset/base/365057 > > -Ryan > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org"