Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 14:13:27 -0400
From:      Ryan Moeller <freqlabs@FreeBSD.org>
To:        freebsd-current@freebsd.org
Subject:   Re: What is the zstreamdump command in OpenZFS?
Message-ID:  <13bfbbdf-9ca4-9e2a-c552-4c391ac8e311@FreeBSD.org>
In-Reply-To: <010001744ab9e165-697ac7b1-e44a-4103-8843-5efb6ea871e6-000000@email.amazonses.com>
References:  <010001744ab9e165-697ac7b1-e44a-4103-8843-5efb6ea871e6-000000@email.amazonses.com>

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

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.

-Ryan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13bfbbdf-9ca4-9e2a-c552-4c391ac8e311>