MHS WebCrew wrote:

> OK, first off it should be noted that I had a typo in my original e-mail.  In the 
>last sentance, I wanted the "driver" locations, not the "drive" locations.
>
> But now, on to my next question.  I went ahead, downed the server and shoved in the 
>drive.  Kudzu said it had new hardware, took the drive, then ran away and the machine 
>booted normally.  Because you said it should use the "same basic driver", what 
>command do I issue to do a backup?  I am totally new to the "backing up to tape" 
>concept (previously, I just rsynced the whole thing to another box on the network).
>
> Oh, and yes, the thing is SCSI.

Since no one else has chimed in yet.  I will give it a shot.  I have not had to 
manaully do anything with my tape drive in a while other than change tapes.  I use 
amanda to back up 4 machines on my network to a DLT drive.

I would first check to see if the drive can be talked to.  A quick simple test, I 
would do is use mt to see if it can talk to the drive.

The drive should be /dev/st0 or /dev/nst0 (no rewind)  viewing /var/log/messages or 
dmesg should indicate it was found.

Create a symlink to it from /dev/TAPE (this should be the default for most programs 
that are tape aware including mt IIRC.  Might be there already.  If not:

ln -s /dev/st0 /dev/TAPE

try:

mt  retension

This shoud take the tape all the way to the end and back.  Not a bad idea for new 
tapes anyway.

If that worked,(drive kicked of an ran for a while)  then send a short file to the 
device, or tar a directory or two and send it there.  The thing that I had the most 
trouble with as I first started dinking with tapes is treating the device as the 
filename.  Once I got that down I had few problems.

try something like : (its been a while but should be close)

cd /tmp

tar -cv ./* >/dev/TAPE

I suspect that tar -cvf /dev/TAPE ./*

would work as well

This creates a tarfile with the contents of /tmp and all subdirectories and sends it 
to the tape.

to check it you can

mkdir /tmp/tapetest
cd /tmp/tapetest

tar -xv * < /dev/TAPE


Should create a tmp directory tree under the tapetest dir.

you can also simply cat a file to the device

cat myfile >/dev/TAPE

cat /dev/TAPE < myfile.too

There are lots of sites with better information.  search on backup tape of something 
similar in google

HTH

Bret



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to