Operating System - HP-UX
1825775 Members
2296 Online
109687 Solutions
New Discussion

Re: restore file from fbackup

 
hangyu
Regular Advisor

restore file from fbackup

I use fbackup to backup a file to the tape , can advise if I want to list out and restore all file in the tape , what can I do ? thx
5 REPLIES 5
Ludovic Derlyn
Esteemed Contributor

Re: restore file from fbackup

hi

for restore use frecover

to list , files on dat user frecover -Nrv

Regards

L-DERLYN
James R. Ferguson
Acclaimed Contributor

Re: restore file from fbackup

Hi:

To list the contents of your tape:

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

To recover all the files on the tape:

# frecover -v -x -g /tmp/graph -o -f /dev/rmt/0m

Note that you define the files and or directories that you want restored in your graph file (e.g. /tmp/graph) just as you use a graph to configure 'fbackup'.

Regards!

...JRF...
hangyu
Regular Advisor

Re: restore file from fbackup

thx reply ,

the full command is frecover -Nrx -f /dev/rmt/0m ?

but it seems not work , sorry to my ignorance

frecover -Nrx -f /dev/rmt/0m
frecover(3205): specified options are mutually exclusive
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
Ludovic Derlyn
Esteemed Contributor

Re: restore file from fbackup

hi,

Full command is frecover -Nrv /dev/rmt/xx

you have specified Nrx

regards

L-DERLYN

hangyu
Regular Advisor

Re: restore file from fbackup

I got it , thx all much.