Link to home
Start Free TrialLog in
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.
ASKER CERTIFIED SOLUTION
Avatar of liddler
liddler
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
Avatar of yuzh
yuzh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of micahman
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
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