From owner-freebsd-questions@FreeBSD.ORG Mon Oct 18 19:24:43 2004 Return-Path: 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 664D316A50F for ; Mon, 18 Oct 2004 19:24:43 +0000 (GMT) Received: from pd2mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08EC143D31 for ; Mon, 18 Oct 2004 19:24:43 +0000 (GMT) (envelope-from flowers@nekulturny.org) Received: from pd2mr7so.prod.shaw.ca (pd2mr7so-qfe3.prod.shaw.ca [10.0.141.10])2004))freebsd-questions@freebsd.org; Mon, 18 Oct 2004 13:24:42 -0600 (MDT) Received: from pn2ml4so.prod.shaw.ca ([10.0.121.148]) by pd2mr7so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I5S00FFOOL6SE00@pd2mr7so.prod.shaw.ca> for freebsd-questions@freebsd.org; Mon, 18 Oct 2004 13:24:42 -0600 (MDT) Received: from procyon.nekulturny.org (S0106000c41b2b9a3.cg.shawcable.net [68.144.45.143]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0I5S00555OL6AO@l-daemon> for freebsd-questions@freebsd.org; Mon, 18 Oct 2004 13:24:42 -0600 (MDT) Received: from procyon.nekulturny.org (localhost.nekulturny.org [127.0.0.1]) i9IJOfSL001393; Mon, 18 Oct 2004 13:24:42 -0600 (MDT envelope-from flowers@nekulturny.org) Received: (from flowers@localhost) by procyon.nekulturny.org (8.12.10/8.12.10/Submit) id i9IJOesQ001392; Mon, 18 Oct 2004 13:24:40 -0600 (MDT envelope-from flowers) Date: Mon, 18 Oct 2004 13:24:39 -0600 From: Danny MacMillan In-reply-to: <20041018102125.N30190-100000@maily.netdtw.com> To: Steven J Corso Message-id: <20041018192439.GA783@procyon.nekulturny.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline References: <20041018102125.N30190-100000@maily.netdtw.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: Backing up a FreeBSD system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2004 19:24:43 -0000 On Mon, Oct 18, 2004 at 08:30:45AM -0600, Steven J Corso wrote: > I would like to utilize dump to back up my filesystems on a FreeBSD > machine. I happen to be utilizing FreeBSD current at this time. > > I would like to do this from single user state on the system. > > ... I don't know the answer to your question, however I think it would be worth your while to investigate the -L option to dump. From the dump man page: -L This option is to notify dump that it is dumping a live file sys- tem. To obtain a consistent dump image, dump takes a snapshot of the file system in the .snap directory in the root of the filesystem being dumped and then does a dump of the snapshot. The snapshot is removed when the dump is complete. If the .snap directory does not exist in the root of the filesystem being dumped, the dump will fail. This problem can be corrected by creating a .snap directory in the root of the filesystem to be dumped; its owner should be root, its group should be operator, and its mode should be 0770. I think this might achieve your goals without requiring the elaborate scripted boot to single user mode. -- Danny