1833513 Members
2831 Online
110061 Solutions
New Discussion

fbackup and frecover

 
Dario_4
Frequent Advisor

fbackup and frecover

Hello again,
I made a fbackup of some directory on tape.
I wuold like to verify the file on the tape without extract it (like in tar, when used -t options)

Is possible to sse the file contained in tape?

Thanks a lot
6 REPLIES 6
Helen French
Honored Contributor

Re: fbackup and frecover

hey,

it's again ...

use: 'frecover -N -v' option

this will give you the list and will not extract. Look 'man frecover'

HTH,
Shiju
Life is a promise, fulfill it!
James R. Ferguson
Acclaimed Contributor

Re: fbackup and frecover

Hi:

The best way to verify an 'fbackup' tape is to use the '-N' (no recovery option) of 'frecover'.

From the man pages for 'frecover', "...read the backup as if it was, in fact, recovering the data from the backup, producing the same output that it would on a normal recovery. This
option is useful for verifying backup media contents in terms of validity (block checksum errors are reported), and contents (a listing of files can be produced by using the -N and -v options together). Note that the listing of
files produced with the -N and -v options requires the reading of the entire backup, but is therefore a more accurate reflection of the backup's contents than the index stored at the beginning of the backup (which was created at the start of the backup session, and is not
changed during the course of the backup)."

Regards!

...JRF...
Ian Dennison_1
Honored Contributor

Re: fbackup and frecover

A very quick and dirty way is to use the frecover '-I [File Path]' option, which will extract the index file from the start of the tape.

This will tell you what 'fbackup' thought it was backing up at the start of the run, but will not actually verify that the data is on tape. it is handy to confirm the contents of a tape quickly, without reading through many or large size files.

Share and Enjoy! Ian
Building a dumber user
Sachin Patel
Honored Contributor

Re: fbackup and frecover

#frecover -f -rN (will not actual recover but just test because of "N")

#frecover -f -V - (for header file information)

Sachin
Is photography a hobby or another way to spend $
Sally  Devine
Frequent Advisor

Re: fbackup and frecover

frecover -xNv -f /dev/rmt/0m this will print it to the screen,

frecover -xNv -f /dev/rmt/0m 2>//filename this will print it to a file
Kelli Ward
Trusted Contributor

Re: fbackup and frecover

A small addition -

If you use SAM for your fbackup process, you can go to
sam
Click on the following:
Backup and Recovery
Interactive Backup and Recovery
(Click on your tape drive once to highlight.)
Actions
Get a list of files on a device
OK
(Default write file is /var/tmp/index.)

Hope this helps too,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!