From owner-freebsd-questions@FreeBSD.ORG Sat May 26 17:09:06 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F196A16A421 for ; Sat, 26 May 2007 17:09:06 +0000 (UTC) (envelope-from svein.h@lvor.halvorsen.cc) Received: from merke.itea.ntnu.no (merke.itea.ntnu.no [129.241.7.61]) by mx1.freebsd.org (Postfix) with ESMTP id AF70C13C447 for ; Sat, 26 May 2007 17:09:06 +0000 (UTC) (envelope-from svein.h@lvor.halvorsen.cc) Received: from localhost (localhost [127.0.0.1]) by merke.itea.ntnu.no (Postfix) with ESMTP id 3C85113C8F4 for ; Sat, 26 May 2007 18:50:05 +0200 (CEST) Received: from maren.thelosingend.net (maren.math.ntnu.no [129.241.211.48]) by merke.itea.ntnu.no (Postfix) with SMTP for ; Sat, 26 May 2007 18:50:04 +0200 (CEST) Received: (qmail 51460 invoked by uid 88); 26 May 2007 18:50:03 +0200 Received: from maren.math.ntnu.no (HELO weld.ej2.thelosingend.net) (129.241.211.48) by maren.thelosingend.net (qpsmtpd/0.31.1) with ESMTP; Sat, 26 May 2007 18:49:48 +0200 Message-ID: <465864F4.7060500@lvor.halvorsen.cc> Date: Sat, 26 May 2007 18:48:52 +0200 From: Svein Halvor Halvorsen User-Agent: Thunderbird 2.0.0.0 (X11/20070523) MIME-Version: 1.0 To: questions@freebsd.org X-Enigmail-Version: 0.95.0 OpenPGP: id=9198BB40; url=mailto:pgpkey@svein.halvorsen.cc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Cc: Subject: Restore UFS snapshot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 17:09:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello list! Is it possible to rollback a file system snapshot, i.e. restore the file system to the state it was in at the time a mksnap_ffs command was issued? I know that I can delete an old snapshot, but could I delete the "current" one (i.e the live fs), keeping the older? User scenario: Before a major upgrade (eg. releng->current, portupgrade -a, etc), it would be nice to mksnap_ffs, and then after the upgrade be able to either delete the snapshot if all went well, or rollback to the snapshot. Best regards, Svein Halvor -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: mailto:pgpkey@svein.halvorsen.cc to get my PGP-key iD8DBQFGWGTxhQg3vZGYu0ARAkcLAKCLq4D/IHBkwArPrIBUMENHNtqmngCgkfy3 dSvYmR/aXEEIDJ90xc5ennc= =OsCM -----END PGP SIGNATURE-----