From owner-freebsd-fs@FreeBSD.ORG Mon Jun 6 02:59:37 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 916C0106564A for ; Mon, 6 Jun 2011 02:59:37 +0000 (UTC) (envelope-from spork@bway.net) Received: from xena.bway.net (xena.bway.net [216.220.96.26]) by mx1.freebsd.org (Postfix) with ESMTP id 34A608FC16 for ; Mon, 6 Jun 2011 02:59:36 +0000 (UTC) Received: (qmail 96015 invoked by uid 0); 6 Jun 2011 02:32:56 -0000 Received: from smtp.bway.net (216.220.96.25) by xena.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 6 Jun 2011 02:32:56 -0000 Received: (qmail 96010 invoked by uid 90); 6 Jun 2011 02:32:56 -0000 Received: from unknown (HELO hotlap.nat.fasttrackmonkey.com) (spork@96.57.144.66) by smtp.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 6 Jun 2011 02:32:56 -0000 Date: Sun, 5 Jun 2011 22:32:55 -0400 (EDT) From: Charles Sprickman X-X-Sender: spork@hotlap.nat.fasttrackmonkey.com To: freebsd-fs@freebsd.org Message-ID: User-Agent: Alpine 2.00 (OSX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: zfs snapshot management X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2011 02:59:37 -0000 Hello all, I've been using a few different tools to manage zfs snapshots in different scenarios. For local use, I've found that Ralf Engelschall's set of scripts[1] that tie into the periodic(8) system work fairly well. I do not use the amd portion since I am only working with zfs snapshots and I don't see a need to actually re-mount the snapshots elsewhere for recovery. The only limitation I find with this system is that for use on a backups host the lack of a monthly or yearly retention period pretty much rules it out. For local "oops" stuff though, it's great. For hosts acting as backups servers, I've been using Snapfilter[2] and some cobbled together stuff that rsyncs a bunch of hosts and tries to detect and notify on errors. Snapfilter simply is the zfs snapshot "sweeper" that periodically deletes snapshots that are outside the defined retention period(s). Since there seems to be a fair number of serious zfs users here, I was hoping for some further suggestions for use in either case. Any input is welcome... Thanks, Charles [1] - http://people.freebsd.org/~rse/snapshot/ [2] - http://www.scottlu.com/Content/Snapfilter.html