The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-01-2007
ravager's Avatar
ravager ravager is offline
Registered User
 

Join Date: Sep 2005
Posts: 81
1. Load the tape in to the drive
2. Check to see if the tape is in
mt -f /dev/rmt/0 noret
3. Rewind the tape
mt -f /dev/rmt/0 rewind
4. Tar the files to the tape dev with the no rewind option set .
tar -cvf /dev/rmt/0n /opt
mt -f /dev/rmt/0 rewind
5. Now check to see if the tar was successfull. ( What is on the Tape )
6. tar -tvf /dev/rmt/0n

tar ( old vertion ) you can use tar tvf as well

Reply With Quote