cancel
Showing results for 
Search instead for 
Did you mean: 

fbackup command

SOLVED
Go to solution
Son dam bi
Advisor

fbackup command

I have a old tape which used HP fbackup to backup , can advise if I want to know what files is in the tape , can advise how can I list it out ? thx
7 REPLIES
Suraj K Sankari
Honored Contributor

Re: fbackup command

Hi,
Restore your backup into any tmp area
with frestore command.

Suraj
SoorajCleris
Honored Contributor

Re: fbackup command

Hi,

Create a temporory mount point with enough spcae and restore the backup there. Use "frecover" command to restore the back up.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Dennis Handly
Acclaimed Contributor

Re: fbackup command

Just use frecover with "-I path" to get a list into "path".
OldSchool
Honored Contributor

Re: fbackup command

Dennis has it...if you want to know what's on the tape, extract the index from the tape to a file and examine that.

btw: there is no "frestore", and it why would you restore the entire tape to disk merely to find out what's on it???
Julián Aimar
Frequent Advisor
Solution

Re: fbackup command

Hi

generate the index in disk through the syntax:

#frecover -I // -f /dev/rmt/

after this you can verify the archives on the index file.

Index file contains the list of all files backed up by fbackup in that archive

Example,

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

#more /tmp/Index


Buena suerte !!
Bill Hassell
Honored Contributor

Re: fbackup command

You can use two methods to identify the tape:

frecover -V - -f /dev/rmt/

frecover -I - -f /dev/rmt/

The first (-V -) will show you the header on the tape (date/time when the tape was made, etc). The second (-I -) shows you the table of contents. While you can specify a file to contain the contents (-I /tmp/files.index) you can immediately se the results using - to specify standard output.


Bill Hassell, sysadmin
Michael Steele_2
Honored Contributor

Re: fbackup command

Hi

Actually, you want to use frecover to verify the contents of a fbackup tape. The 'N' arguement is 'no recover'

frecover -rNv -f /dev/rmt/0m 2> /tmp/file
-or- just
frecover -rNv -f /dev/rmt/0m | more
Support Fatherhood - Stop Family Law