I'm very curious about this one.m I use dump myself and whenever I've had
to go to a tape I never had to pass over the label. When I give the
extract command however, it does ask me for a label number to start at. I
have no clue what that's all about; I just say 0.

I'd love to know what the issues are here.

TIA

By the way, I'll include my script  for the interested:

#! /bin/bash

# Do a Level dump.
# Update the /etc/dumpdates
# Run at 61000 Bit Per Inch
DENSITY=61000
# 120 meter tape is 393.7 feet Lets call it an even 390
TAPELEN=44000   # Factor in the helical design.
# Write to the no rewind device for all but the last partition.
NOREWIND=/dev/ntape
REWIND=/dev/tape
DUMPOPTS=${1}udsf
dump ${DUMPOPTS} ${DENSITY} ${TAPELEN} ${NOREWIND} /
dump ${DUMPOPTS} ${DENSITY} ${TAPELEN} ${NOREWIND} /usr
# Nothing there of interest.
dump ${DUMPOPTS} ${DENSITY} ${TAPELEN} ${NOREWIND} /e
dump ${DUMPOPTS} ${DENSITY} ${TAPELEN} ${NOREWIND} /home
mt -f /dev/tape offline

To make it send mail when it's done, just say

mail -s "Dump is done" [EMAIL PROTECTED] << EOF
The dump has completed on `date`.
Bite me.
EOF


-- 
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
-------divided by zero. Listen to me! We are all individuals!---------

On Tue, 9 Nov 1999 [EMAIL PROTECTED] wrote:

=>Subtle hint to get you passed the tape label. Skip by the first file! 
=>
=>To restore try
=>mt -f /dev/whatever fsf 1
=>restore -f /dev/watever
=>
=>Does anyone have a decent simple logging script for backups that sends
=>mail when it is finished, but just uses dump - not rdump. All the nice stuff seems 
to back up a network rather than a single machine.
=>
=>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to