From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 11 11:33:29 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 567DE16A419 for ; Sun, 11 Nov 2007 11:33:29 +0000 (UTC) (envelope-from rse@engelschall.com) Received: from visp1.engelschall.com (visp1.engelschall.com [195.30.6.144]) by mx1.freebsd.org (Postfix) with ESMTP id 1A74E13C48D for ; Sun, 11 Nov 2007 11:33:28 +0000 (UTC) (envelope-from rse@engelschall.com) Received: by visp1.engelschall.com (Postfix, from userid 21100) id 010AA1B4482C; Sun, 11 Nov 2007 12:16:26 +0100 (CET) Received: by en1.engelschall.com (Postfix, from userid 10000) id DF5866DC9D; Sun, 11 Nov 2007 12:14:00 +0100 (CET) Date: Sun, 11 Nov 2007 12:14:00 +0100 From: "Ralf S. Engelschall" To: freebsd-hackers@freebsd.org Message-ID: <20071111111400.GA94684@engelschall.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: FreeBSD User-Agent: Mutt/1.5.17 OpenPKG/CURRENT (2007-11-01) Subject: FreeBSD UFS/ZFS Snapshot Management Environment (20071111.1) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Ralf S. Engelschall" List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2007 11:33:29 -0000 Based on various feedback I've now improved my FreeBSD Snapshot Management environment (people.freebsd.org/~rse/snapshot/). The new version 20071111.1 is now available. In the past this was an abstraction layer for UFS snapshots only. Now it is an abstraction layer for both UFS and ZFS snapshot management and this way allows one to deal with snapshots during daily work independent whether one works on UFS or ZFS. To recap, this abstraction layer mainly provides three aspects: 1. common snapshot management frontend snapshot(8) for creating, destroying, listing, mounting, unmounting and temporarily visiting snapshots manually. 2. optional, automatic, periodic and flexible backup snapshot creation via periodic-snapshot(8) and a /etc/periodic.conf configuration, modeled after the NetApp Data ONTAP "snap sched" syntax. 3. optional, abstracted and easy access to backup snapshot data via amd(8) and the /snap hierarchy (not a big deal for ZFS but important for convenient access to UFS snapshots). The full functionality requires FreeBSD 7 or 8, of course. But FreeBSD 5 and 6 or also supported through the reduced UFS-only functionality. To get started: # download and installation $ cd /tmp $ fetch http://people.freebsd.org/~rse/dist/freebsd-snapshot-20071111.1.tar.gz $ tar xzf freebsd-snapshot-20071111.1.tar.gz $ cd freebsd-snapshot-20071111.1 $ make install $ /etc/rc.d/amd start # OPTIONAL # just play with it by reading the details under # http://people.freebsd.org/~rse/snapshot/ $ [...] # deinstallation and cleanup $ cd /tmp/freebsd-snapshot-20071111.1 $ make uninstall $ cd .. $ rm -rf freebsd-snapshot-20071111.1* Happy snapshooting... ;-) -- rse@FreeBSD.org Ralf S. Engelschall FreeBSD.org/~rse rse@engelschall.com FreeBSD committer www.engelschall.com