1833873 Members
2924 Online
110063 Solutions
New Discussion

frecover

 
SOLVED
Go to solution
Jim92900
Occasional Advisor

frecover

Hi,

I would like to view only the contents of a backed up tape using fbackup. I do not want to restore the filesystems...please help me to find out what command do i need to give to check the contents of the tape.

Thanks,
Jim
9 REPLIES 9
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: frecover

The frecover -I /xxx/yyy/file.list -f /dev/rmt/xxx will do the job. Man frecover.
If it ain't broke, I can fix that.
DCE
Honored Contributor

Re: frecover



From the man page for frecover

issue the command "man frecover" for the full info

-N (no recovery) Prevent frecover from actually recovering
any files onto disk, but 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).
Jim92900
Occasional Advisor

Re: frecover

Hi,

How do i handle if i use

frecover -N -v -f /dev/rmt/xxx do i need to rediect the output to a file....lets say /tmp/aaa
DCE
Honored Contributor

Re: frecover


How do i handle if i use

frecover -N -v -f /dev/rmt/xxx do i need to rediect the output to a file....lets say /tmp/aaa

The command you listed should display its results to screen. you can redirect the output to file with ">"
frecover -N -v -f /dev/rmt/xxx > /tmp/aaa

Jim92900
Occasional Advisor

Re: frecover

if i give the command

frecover -N -v -f /dev/rmt/om > /tmp/aaa its giving me an error which reads like i need to give some other options that i must specify like V, I, x, r or R

Please advice
Patrick Wallek
Honored Contributor

Re: frecover

The exact error it is giving you would be much more helpful that just "...its giving me an error which reads like i need to give some other options that i must specify like V, I, x, r or R"
DCE
Honored Contributor

Re: frecover


try

frecover-x -vN -f /dev/rmt/om > /tmp/aaa
Jim92900
Occasional Advisor

Re: frecover

The command i gave is:

# frecover -N -v -f /dev/rmt/om > /tmp/aaa

frecover(3208): must specify at least one of V, I, x, r, or R
frecover -r [-hosvymFNOX] [-c config] [-f device] [-S skip] [-E extarg]
frecover -R path [-f device]
frecover -x [-hosvymFNOX] [-c config] [-e path] [-f device]
[-g graph] [-i path] [-S skip] [-E extarg]
frecover [-I | -V] path [-vy] [-f device] [-c config]
-{r,x} - full/partial recovery
-{I,V} - write index/volume-header to path
-{F,X} - flat/relative recovery
-{i,e} - specify a path to include/exclude
-{g,c} - specify a graph/configuration file
-{N,h} - No files recovered-Only verify/graph information
-R - continue an interrupted session
-f - specify an input device
-o - overwrite existing files
-v - verbose mode
-y - answer yes to all questions
-S - specify a file for skipped blocks
-s - sparse file recovery
-O - set ownership of files to the user running the recovery
-m - Print marker information (checksums, filemarks, setmarks)
-E - specify extent attributes handling: warn, force, or ignore

Thanks,
Jim
James R. Ferguson
Acclaimed Contributor

Re: frecover

Hi Jim:

> if i give the command

frecover -N -v -f /dev/rmt/om

...would yield:

...must specify at least one of V, I, x, r, or R

Hence, do that: add either -I /tmp/findex' or simply '-N'. Also, fix the 'om' to be '0m' in your tape device specification!

...JRF...