Avatar of thedogeater
thedogeater
 asked on

useing a dat on solaris 8

How do I access my dat tape drive
on my UNIX box?

I need to know the way to write files to it
and how to recover them. I am running Solaris 8.

Should I just use tar and write to the device?
how do I determine the device name. What is the
best way.

How do I control the tape rewind and forward
etc.

Thanks.
Unix OS

Avatar of undefined
Last Comment
liddler

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
liddler

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Otetelisanu

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
CadburyCat

I assume that you can see the tape drive. (Another user stated to use <drvconfig> that use forgot to also issue <devlinks> and then <tapes>.  This method is depricated.)

For Solaris 8 and newer, use one step <devfsadm>.

Once you can see the tape ( mt -f /dev/rmt/0n status ) with a tape in the drive.

Now to answer your question as to the method used for copiying data to and fro your tape.


I would suggest ufsdump to backup your system.

I would suggest ufsrestore to resotre your system(read the man page especially concerning the -i option for interactrive restore)
SOLUTION
yuzh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
micahman

I agree with yuzh.  I just wanted to add that you may want to buy/go to a bookstore and look at O'Reilly's "Unix Backup & Recovery" book (1999, W. Curtis Peterson author) if you are going to be doing any significant work in backup and recovery.  There is a LOT of good stuff in there.  You can look at http://www.oreilly.com/unixbr/ for more info on the book.

--- M
liddler

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Points split liddler, Otetelisanu & yuzh

Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

liddler
EE Cleanup Volunteer
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23