Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2001 10:51:23 -0400
From:      Bill Moran <wmoran@iowna.com>
To:        Cary <scattered@babel.acu.edu>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: dump is giving me errors
Message-ID:  <3B0E716B.65A35D10@iowna.com>
References:  <Pine.LNX.4.10.10105250929130.5727-100000@babel.acu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Cary wrote:
> 
> I'm attempting to back up my home directory with dump, but I keep getting
> the same error:
> # /sbin/dump -0u -f /usr/home/dump /usr/home/cary
>   DUMP: Date of this level 0 dump: Fri May 25 09:35:21 2001
>   DUMP: Date of last level 0 dump: the epoch
>   DUMP: Dumping /usr/home/cary to /usr/home/dump
>   DUMP: bad sblock magic number
>   DUMP: The ENTIRE dump is aborted.
> #
> /usr/home/dump is a file (though I have also tried dumping to a dir). I
> was able to start dumping the / filesystem to standard output as a test,
> and it worked. But no matter what options I've tried, I get the same error
> as above.  I've read the man page, but I don't know enough to know what
> applies and doesn't apply when dumping to a HD or filesystem rather than a
> tape drive.  Any help that could be rendered would be appreciated.

What's your partition layout? dump(8) can only dump "filesystems" (i.e.
entire partitions) If /usr/home/cary isn't a seperate partition, you'll
get that error. If you just want to back up just part of a partition,
tar(1) is probably a better choice. (it even provides compression)
tar czf /usr/home/cary.tgz /usr/home/cary
Or dump(8) the entire partition. (use df(1) to see your partition
layout, or mount(8))

-Bill

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B0E716B.65A35D10>