Operating System - HP-UX
1829598 Members
1668 Online
109992 Solutions
New Discussion

Fbackup tape file location

 
SOLVED
Go to solution
Ross Asbury
New Member

Fbackup tape file location

What is the syntax taht I use to determine if a specific file is on a tape created with fbackup?
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: Fbackup tape file location

Hi Ross:

# frecover -I /tmp/frecoverlist -f /dev/rmt/0m

...will list the files written to your tape. The contents (index of files) are written to the output file specified by '-I'. No recovery occurs.

Regards!

...JRF...
Sajjad Sahir
Honored Contributor

Re: Fbackup tape file location

dear ross
if u used fbackup for back up a file u can use frecover command to restore the files
u can use different opitons with frecover command see man frecover

What is the syntax taht I use to determine if a specific file is on a tape created with fbackup?

here
u have specific path
for that u can use
frecover -l then pathname -f /dev/rmt/0m
where l is path and f is device

thanks and regards

sajjad
Bill Hassell
Honored Contributor

Re: Fbackup tape file location

frecover understands stdout so this will very quickly find the file for you:

frecover -I - -f /dev/rmt/0m | grep YourFile

fbackup stores an index to all files and directories at the front of the tape so the -I - option will immediately return the entire index.


Bill Hassell, sysadmin
Ross Asbury
New Member

Re: Fbackup tape file location

I used teh syntax:
frecover -I /tmp/frecoverlist -f /dev/rmt/0m to gerneate a list of files and then did a find within the file.