From owner-freebsd-stable@FreeBSD.ORG Mon Nov 22 15:44:32 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 1B9351065670 for ; Mon, 22 Nov 2010 15:44:32 +0000 (UTC) (envelope-from jonathan@kc8onw.net) Received: from mail.kc8onw.net (kc8onw.net [206.55.209.81]) by mx1.freebsd.org (Postfix) with ESMTP id EB9328FC1D for ; Mon, 22 Nov 2010 15:44:31 +0000 (UTC) Received: from [10.184.35.152] (pal-160-153.itap.purdue.edu [128.211.160.153]) by mail.kc8onw.net (Postfix) with ESMTPSA id 8D94C611FA; Mon, 22 Nov 2010 10:26:09 -0500 (EST) Message-ID: <4CEA8BA6.7080009@kc8onw.net> Date: Mon, 22 Nov 2010 10:26:30 -0500 From: Jonathan Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 15:44:32 -0000 On 11/22/2010 6:35 AM, Andrew Reilly wrote: > Dump/restore doesn't work for ZFS. I *think* that I'm running > backups in the appropriate equivalent fashion: I take file > system snapshots (both absolute == level 0) and relative > (incremental), and zfs send those to files on the backup disk. This is actively discouraged, there is no recovery ability when receiving zfs streams so 1 bad bit would invalidate your entire backup. The currently accepted practice is to create a ZFS file system on the backup drive and just keep sending incremental snapshots to it. As long as the backup drive and host system have a snapshot in common you can do incremental transfers. This way you only have to keep the most recent snapshot on the main system and can keep as many as you have space for on the backup drive. You also have direct access to any backed up version of every file. HTH, Jonathan