From owner-freebsd-questions@FreeBSD.ORG Sat May 26 23:03:53 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 34F3216A469 for ; Sat, 26 May 2007 23:03:53 +0000 (UTC) (envelope-from svein.h@lvor.halvorsen.cc) Received: from signal.itea.ntnu.no (signal.itea.ntnu.no [129.241.190.231]) by mx1.freebsd.org (Postfix) with ESMTP id B467013C483 for ; Sat, 26 May 2007 23:03:52 +0000 (UTC) (envelope-from svein.h@lvor.halvorsen.cc) Received: from localhost (localhost [127.0.0.1]) by signal.itea.ntnu.no (Postfix) with ESMTP id 8696033889 for ; Sun, 27 May 2007 01:03:51 +0200 (CEST) Received: from maren.thelosingend.net (maren.math.ntnu.no [129.241.211.48]) by signal.itea.ntnu.no (Postfix) with SMTP for ; Sun, 27 May 2007 01:03:51 +0200 (CEST) Received: (qmail 3890 invoked by uid 88); 27 May 2007 01:03:50 +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; Sun, 27 May 2007 01:03:35 +0200 Message-ID: <4658BC8E.2080304@lvor.halvorsen.cc> Date: Sun, 27 May 2007 01:02:38 +0200 From: Svein Halvor Halvorsen User-Agent: Thunderbird 2.0.0.0 (X11/20070523) MIME-Version: 1.0 To: Roland Smith References: <465864F4.7060500@lvor.halvorsen.cc> <20070526180336.GB34660@slackbox.xs4all.nl> <465884E3.5000500@lvor.halvorsen.cc> <20070526194342.GA37130@slackbox.xs4all.nl> <465898D5.7080607@lvor.halvorsen.cc> <20070526211201.GA40139@slackbox.xs4all.nl> <4658ADB1.3050807@lvor.halvorsen.cc> <20070526223143.GA42141@slackbox.xs4all.nl> In-Reply-To: <20070526223143.GA42141@slackbox.xs4all.nl> 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: questions@freebsd.org Subject: Re: 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 23:03:53 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Roland Smith wrote: > You can't restore a previous situation _unless you saved it in some > form_. So if you want a possibility to restore stuff, you'll have to > keep a copy of it somewhere. Maybe in compressed form, and maybe you can > clump changes together in a smart way, but you have to save the bits > that you change. Of course! If I'm not clear, you could do better in asking me to clarify, than to assume that I am an idiot. Of course you need to save the data in some form, in order to restore it. I'm not asking for magic. > Every revision control system (which is effectively what you ask for) uses > storage space to keep previous versions of data, although the precise > method used for this varies. Yes, but your suggested solution stores some data twice (at least for some time). And also it involves a lot of reading and writing (even though you could minimize it using rsync). > Disk space is cheap, and getting cheaper. Going through a lot of trouble > to save a few bytes is almost certainly not cost effective. > > And keep in mind that you should really only use the tools that are > available in /rescue. Using a fancy port won't help you if whatever you > did borked /usr/local/bin. :) I am not talking about a backup solution here. I just want an easy way of saving the state, doing something potentially stupid, and then throw away the (stupid) changes real quick and painless. Of course if the disk breaks or something, I will need something else. It doesn't matter too much though; I just wanted to know if something existed or not. Sees it doesn't. Thanks for your time. Maybe I will make something. Maybe not. For now, I will continue to mount the snapshot (as you suggested) Best regards, Svein Halvor -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: mailto:pgpkey@svein.halvorsen.cc to get my PGP-key iD8DBQFGWLyMhQg3vZGYu0ARAq8jAJoDdSRbev54oFKlffjEfAlcv12BfQCgx49L 3Xox5h4HAvgEB+rL1+OLVE8= =AYlv -----END PGP SIGNATURE-----