From owner-freebsd-stable@FreeBSD.ORG Mon Nov 22 12:21:35 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04AF2106564A for ; Mon, 22 Nov 2010 12:21:35 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 4E14A8FC14 for ; Mon, 22 Nov 2010 12:21:33 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA27803; Mon, 22 Nov 2010 14:21:24 +0200 (EET) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1PKVOe-00094U-Kg; Mon, 22 Nov 2010 14:21:24 +0200 Message-ID: <4CEA6047.30604@freebsd.org> Date: Mon, 22 Nov 2010 14:21:27 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101029 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: Andrew Reilly References: <20101122113541.GA74719@johnny.reilly.home> In-Reply-To: <20101122113541.GA74719@johnny.reilly.home> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: ZFS backups: retrieving a few files? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2010 12:21:35 -0000 on 22/11/2010 13:35 Andrew Reilly said the following: > The troubling aspect of this plan is that it would seem that > grabbing just a few files would require space in the working > zpool equivalent to the whole backed-up file system, for the > zfs receive of the snapshot. Contrast this with restore, which > had a nice interactive (or command line) mode of operation that > could retrieve nominated files or directories, requiring only > space for the results. Is there any similar tool that can > operate on a ZFS "send" serialization? It would seem that the > information must be "in" there somewhere, but I've not heard of > it. > > Clues? How does everyone else manage this? What I do is keep the snapshots for long enough and just retrieve the files from there. That is, snapshots - for the "clumsiness case", backups - for the disaster case. -- Andriy Gapon