dump/restore with ufs2

Ceri Davies ceri at submonkey.net
Fri Dec 31 07:05:53 PST 2004


On Thu, Dec 30, 2004 at 09:53:38PM +0100, Roland Smith wrote:
> On Thu, Dec 30, 2004 at 05:54:25PM +0000, Ceri Davies wrote:
> > On Tue, Dec 28, 2004 at 01:23:50PM -0500, Brian Szymanski wrote:
> > > When I run the following script, I get a warning message, and I'm
> > > wondering if it's ignorable or indicates there is a little more work to be
> > > done in getting dump/restore happy with ufs2...
> > > 
> > > $ cd /altroot
> > > $ dump -L -0 -a -f - /dev/$ROOT | restore -rf -
> > >   ...
> > > warning: ./.snap: File exists
> > > 
> > > Does this mean my snapshots are being overwritten on the target disk? And
> > > if so, that's a good thing, right?
> > 
> > That's just a warning that .snap already exists in the current directory
> > (which is because it gets created by newfs); the contents will remain
> > unaffected since snapshots are not dumped (I believe).
> 
> A snapshot _is_ what is being dumped when you use the -L option to
> dump. See the manual page.

I know that.  I meant that snapshots are not included in the dump.

Ceri
-- 
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041231/61bb1da4/attachment.bin


More information about the freebsd-stable mailing list