Date: Mon, 18 Oct 2004 13:24:39 -0600 From: Danny MacMillan <flowers@users.sourceforge.net> To: Steven J Corso <freebsd@netdtw.com> Cc: freebsd-questions@freebsd.org Subject: Re: Backing up a FreeBSD system Message-ID: <20041018192439.GA783@procyon.nekulturny.org> In-Reply-To: <20041018102125.N30190-100000@maily.netdtw.com> References: <20041018102125.N30190-100000@maily.netdtw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041018192439.GA783>