HI,
It seems that maybe I should be using ufsdump and ufsrestore to
backup files to my DLT from what everyone is telling me. I have 2 sun
machines running solaris 7 and machine A has the tape while machine B
has the tar files, about 400M per, that need to be backed up daily. I
currently have machine B dumping it's database to a tar file on a daily
basis. I'd like to modify this script so it also does a remote ufsdump
to the tape drive on machine A. I'm able to do a "ufsdump
0cuf /dev/rmt/0n <files>".
dilbert# ufsdump 0cuf /dev/rmt/0n seti
DUMP: Writing 63 Kilobyte records
DUMP: Date of this level 0 dump: Sun 30 Jul 2000 11:54:02 AM PDT
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c0t0d0s7 (dilbert:/u) to /dev/rmt/0n.
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Estimated 19816 blocks (9.68MB).
DUMP: Dumping (Pass III) [directories]
DUMP: Dumping (Pass IV) [regular files]
DUMP: 19780 blocks (9.66MB) on 1 volume at 1480 KB/sec
DUMP: DUMP IS DONE
dilbert# ufsdump 0cuf /dev/rmt/0n apache
DUMP: Writing 63 Kilobyte records
DUMP: Date of this level 0 dump: Sun 30 Jul 2000 11:54:50 AM PDT
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c0t0d0s7 (dilbert:/u) to /dev/rmt/0n.
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Estimated 10910 blocks (5.33MB).
DUMP: Dumping (Pass III) [directories]
DUMP: Dumping (Pass IV) [regular files]
DUMP: 10834 blocks (5.29MB) on 1 volume at 1253 KB/sec
DUMP: DUMP IS DONE
dilbert#
I do this with muliple files and I then do a "ufsrestore if /dev/rmt/0"
and I get the following:
dilbert# ufsrestore if /dev/rmt/0
Mount volume 2
then enter volume name (default: /dev/rmt/0)
I'm able to do a ufsdump on one file or directory and the do a
ufsrestore interactive and then see my one file or directory but I
can't seem to get the mulitple backup thing down. Also, from what I
read, if I did do a mulitple ufsdump and then restore, just to see what
is on my DLT 40GB tape, I'd have to put the tape back to the last
position before I did any more dumps. How do you do that? Anyone got
a cool script? Thanks in advance...
Sent via Deja.com http://www.deja.com/
Before you buy.