Tape Driver Command for search


 
Thread Tools Search this Thread
Operating Systems Solaris Tape Driver Command for search
# 1  
Old 09-22-2009
Tape Driver Command for search

I am new to using a tape drive in Solaris 10.
Our tape drive is working fine but what I was wondering is this.

If I back up 10 files a day for 10 days that is 100 files and I want to restore a file that I backed up on Tuesday of that week. How do I find that file on the tape drive with out having to rewind to the beginning and type tar tvf /dev/rmt/0n ?
# 2  
Old 09-23-2009
Let's say you do a ufsdump of /, /usr, /export, /opt to a single tape.

To restore a file xxx from /export/home, you would load the tape into the tape drive (write-protected) and issue commands in order (your tape device may be different):
# mt -f /dev/rmt/1n 2 fsf
# ufsrestore -ivf /dev/rmt/1n
ufsrestore> cd home
ufsrestore> add xxx
ufsrestore> extract

You can also use the what command inside the ufsrestore interactive to insure you are on the correct dump file and ls to show the files in the 'directory'.
# 3  
Old 09-28-2009
thanks for the information. I am using the tar commands
# 4  
Old 09-28-2009
Quote:
Originally Posted by deaconf19
thanks for the information. I am using the tar commands
Hope this helps tar - restore a file
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Hardware

Difference between platform driver,codec driver and Machine driver

In general terms what are the differences platform driver,codec driver and Machine driver? (1 Reply)
Discussion started by: rupeshkp728
1 Replies

2. UNIX for Advanced & Expert Users

SCSI Command Sample Driver

Can anybody get me some sample driver code of linux block drivers to send request to scsi disks? Basically I need a sample code of linux scsi block driver. I tried googling for sample code but did not find it. (1 Reply)
Discussion started by: rupeshkp728
1 Replies

3. UNIX for Advanced & Expert Users

which shell command or utility will call the net device driver?

Hi, all: Which shell command or utility will call the open(), close(), hard_start_xmit(), rtl8139_rx(), or interrupt() functions in a network device driver I am debugging? Can "ping", "ftp", "scp", or "internet browser" finally call them? Best regards! li, kunlun (0 Replies)
Discussion started by: liklstar
0 Replies

4. UNIX for Dummies Questions & Answers

boot option Available partitions 0b00 1048575 sr0 driver:sr 0800 488386584 sda driver:sd

Help, suspect hacked via serial or electric! any ideas on error "Pid:1, comm:swapper Tainted:G W 2.6.35-22 generic #33 -unbutu device = "(null)" or unknown-blocklist(8.1) please append a correct "root"boot option Available partitions 0b00 1048575 sr0 driver:sr 0800 488386584 sda driver:sd. Thanks... (3 Replies)
Discussion started by: kryclear
3 Replies

5. Solaris

Tape Driver Install

Hi , How to check the drivers of a dat tape? And once downloaded how to install drivers for the same?? Where to download drivers from? Having some trouble with Dat tape drive configuration.. (2 Replies)
Discussion started by: saurabh84g
2 Replies

6. HP-UX

HP Tape Driver "Unknown Density"

Dear Experts and Advanced User, I encounter a rare problem as mentioned above. I am not able to read the tape cartridge using the following command: #dd if=/dev/rmt/0mnb ibs=16k | tar tvf - It will prompt me with the message saying DD I/O error, broken pipe; everytime the above command is... (2 Replies)
Discussion started by: stufftiger
2 Replies

7. UNIX for Dummies Questions & Answers

HP Unix 10.20 DDS Tape Driver Corruption

Dear Experts and Advanced User, I encounter a rare problem as mentioned above. I am not able to read the tape cartridge using the following command: #dd if=/dev/rmt/0mnb ibs=16k | tar tvf - It will prompt me with the message saying DD I/O error, broken pipe; everytime the above command... (1 Reply)
Discussion started by: stufftiger
1 Replies

8. Solaris

SUNWglmr -- rasctrl environment monitoring driver for i2c or SCSI device driver ?

I've been researching minimizeing Solaris 8 and found that on the web page http://www.sun.com/bigadmin/content/packagelist/s8u7PkgList/p2.html the package SUNWglmr is listed as "rasctrl environment monitoring driver for i2c, (Root) (32-bit)" while in the document "Solaris 8 minimize-updt1.pdf"... (1 Reply)
Discussion started by: roygoodwin
1 Replies

9. SCO

tape drive driver device file

i have a sco-unix box. I want to access tape driver (sdt-700) on scsi. but i dont know how? where is this device file for tape driver is located? how do i access this tape? pls help this fool. (1 Reply)
Discussion started by: mchitrakar
1 Replies

10. UNIX for Dummies Questions & Answers

tape driver slots confgure

Hi Does anyone know the command to configure HP tape slots. I have tried the following on Sun, but its notworking. This is the first time I have configured a tape drive with muiltple slots. root@ssdb0009 # cfgadm -l Ap_Id Type Receptacle Occupant Conditio... (3 Replies)
Discussion started by: dennisca
3 Replies
Login or Register to Ask a Question