From owner-freebsd-questions Mon Mar 10 9:18:54 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F173937B401 for ; Mon, 10 Mar 2003 09:18:52 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CAB943FBF for ; Mon, 10 Mar 2003 09:18:51 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) by smtp.infracaninophile.co.uk (8.12.8/8.12.8) with ESMTP id h2AHIiJ6093247 for ; Mon, 10 Mar 2003 17:18:44 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.8/8.12.8/Submit) id h2AHIimt093246 for freebsd-questions@FreeBSD.ORG; Mon, 10 Mar 2003 17:18:44 GMT Date: Mon, 10 Mar 2003 17:18:44 +0000 From: Matthew Seaman To: freebsd-questions Subject: Re: dump question Message-ID: <20030310171844.GA92925@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions References: <20030310154349.GA2718@lothlorien.nagual.st> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030310154349.GA2718@lothlorien.nagual.st> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-32.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 10, 2003 at 04:43:49PM +0100, dick hoogendijk wrote: > Using dump to make a full level 0 backup of my system to another > harddisk in case of a crash. If needed I want to restore the dumps and > have a fully working system back. > > Question: do I have to make the dumps *single* mode or can I just do it > from a running system? No, you can dump while in multiuser mode, but you have to beware of corruption in the dump caused by changes to the file system or even to individual files while dump is running. So long as the filesystem is pretty much quiescent, you'll be OK. > If single, do I have to follow the next steps: ?? > # boot -s > # fsck -p > # mount -u / > # mount -a > # swapon -a > # adjkerntz -i Hmmm... You don't need 'mount -u /' if you then immediately do 'mount -a' as 'mount -a' will remount the root filesystem with the correct options anyhow. I'd put 'swapon -a' before 'mount -a', especially if you've got mfs based filesystems. 'adjkerntz' should only be needed on dual boot machines where the alternate OS needs the system clock to be set to the wallclock time. If your machine just runs FreeBSD, then set the system clock to UTC and relax. > If not, what are IS the right procedure? boot -s fsck -p swapon -a mount -a adjkerntz -i Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message