Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Oct 1998 10:56:30 -0500
From:      "Alberto Johnson" <ajohnson@c-com.net>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Backups
Message-ID:  <000f01bdee1d$38b4fed0$177e7fd1@panama-3.charter-pty.com>

next in thread | raw e-mail | index | archive | help
Hi everybody who understand and love FreeBSD.  Here is my current problem.
I'm currently running
FreeBSD 2.1.0-RELEASE on a production evarioment.  I'm Having some problems
to do backups. here is the descirption of the problems. the way were doing
backups is by using the following  Script

mt -f /dev/rst0 rewind
/sbin/dump -0uBbf 4194304 32 /dev/nrst0 /
/sbin/dump -0uBbf 4194304 32 /dev/nrst0 /home
/sbin/dump -0uBbf 4194304 32 /dev/nrst0 /usr
/sbin/dump -0uBbf 4194304 32 /dev/nrst0 /usr2
mt -f /dev/rst0 rewind

as you can see I have 4 diffrent partitions or filesystems, here is the log
of the DUMP process. IT shows no errors. and It also says it was done
completly.

DUMP: Date of this level 0 dump: Fri Oct  2 02:00:01 1998
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rsd0a (/) to /dev/nrst0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 106492 tape blocks on 0.03 tape(s).
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: 73.74% done, finished in 0:01
DUMP: DUMP: 107041 tape blocks on 1 volumes(s)
DUMP: level 0 dump on Fri Oct  2 02:00:01 1998
DUMP: Closing /dev/nrst0
DUMP: DUMP IS DONE
DUMP: Date of this level 0 dump: Fri Oct  2 02:07:31 1998
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rsd0s1f (/home) to /dev/nrst0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 914334 tape blocks on 0.22 tape(s).
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 928361 tape blocks on 1 volumes(s)
DUMP: level 0 dump on Fri Oct  2 02:07:31 1998
DUMP: Closing /dev/nrst0
DUMP: DUMP IS DONE
DUMP: Date of this level 0 dump: Fri Oct  2 02:58:48 1998
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rsd0s1e (/usr) to /dev/nrst0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 327913 tape blocks on 0.08 tape(s).
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: 34.32% done, finished in 0:09
DUMP: 69.61% done, finished in 0:04
DUMP: 101.14% done, finished in 0:00
DUMP: DUMP: 341633 tape blocks on 1 volumes(s)
DUMP: level 0 dump on Fri Oct  2 02:58:48 1998
DUMP: Closing /dev/nrst0
DUMP: DUMP IS DONE
DUMP: Date of this level 0 dump: Fri Oct  2 03:14:35 1998
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rsd1s1e (/usr2) to /dev/nrst0
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 1636044 tape blocks on 0.39 tape(s).
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: 6.39% done, finished in 1:13
DUMP: DUMP: 1636308 tape blocks on 1 volumes(s)
DUMP: level 0 dump on Fri Oct  2 03:14:35 1998
DUMP: Closing /dev/nrst0
DUMP: DUMP IS DONE


Now when I go in the tape drive on an interacive mode doing the following
command
# /sbin/restore -if /dev/rst0

once i get in I do the following...
restore > ls
.:
COPYRIGHT        home/            popper.core      trafshow.tar.gz
OK               kernel           proc/            usr/
bin/             kernel.GENERIC   root/            usr2/
dev/             kernel.old       sbin/            var/
etc/             lkm/             stand/
file.list        lost+found/      sys@
ftpd.core        mnt/             tmp/

Everthing until here looks ok,


but when got to de following directories
restore > cd home
restore > ls
./home:		(This directory, or filesystem, or partition is empty)

restore > cd usr
restore > ls
./usr:    		(This directory, or filesystem, or partition is empty)

restore > cd usr2
restore > ls
./usr2:   		(This directory, or filesystem, or partition is also empty)

It seems that i'm only doing 25% of the total backup.

Could Somebody give me a tip to correct this problem I'm very concern i my
HDD crashes I'll have to look for another job.

Alberto Johnson


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?000f01bdee1d$38b4fed0$177e7fd1>