Operating System - HP-UX
1748162 Members
3826 Online
108758 Solutions
New Discussion юеВ

Listing files on make_tape_recovery

 
SOLVED
Go to solution
Anand Sreenivasan
Regular Advisor

Listing files on make_tape_recovery

I want to check to see only if selected files are backed up in the tape. Is this possible ? . Thanks for any help
3 REPLIES 3
Torsten.
Acclaimed Contributor

Re: Listing files on make_tape_recovery

Yes, run

# mt -f /dev/rmt/?mn rew
# mt -f /dev/rmt/?mn fsf 1
# tar -tvf /dev/rmt/?mn

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Anand Sreenivasan
Regular Advisor

Re: Listing files on make_tape_recovery

This will list the entire tape which I dont want. I want to see only for particular files...
Josiah Henline
Valued Contributor
Solution

Re: Listing files on make_tape_recovery

tar tvf /dev/rmt/Xm |grep filename

tar will have to go through the whole tape to see if more than one file of the same name exist.
If at first you don't succeed, read the man page.