Operating System - HP-UX
1826373 Members
4511 Online
109692 Solutions
New Discussion

frecover command problems

 
SOLVED
Go to solution
Becke
Super Advisor

frecover command problems

Hi Guys,

I'm trying to restore just a single file (ie /etc/passwd) from fbackup tape, but it doesn't restore it.

I have read the contents of fbackup tape and it does have /etc/passwd file, however I'm able to restore other files successfully which means there is nothing wrong with the tape or tape drive itself.

The command I have used to restore /etc/passwd file is below...

frecover -xXvf /dev/rmt/3m -g /graph.

The contents of graph file is below....

i /etc/passwd...

Please advise what should i do to restore the /etc/passwd file successfully...

Thanks in advance...
Raf
4 REPLIES 4
saju_2
Respected Contributor
Solution

Re: frecover command problems

Hi

Frecover, by default will not restore a file, if the time stamp of the file in disk is newer than that in the fbackup.

Chek the time stamp of /etc/passwd and if it is modified after ur fabckup was taken , frecover will not restore it. In that case you have to use -o option along with frecover.

Regards
CS

Adisuria Wangsadinata_1
Honored Contributor

Re: frecover command problems

Hi,

You need to follow the command below to restore a single file with frecover command :

# cd /etc
# frecover -xvF -i /etc/passwd

Following url (docID : KBRC00006523) about 'Example backup/recover commands for fbackup, cpio, tar' for your reference :

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000076534448

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Adisuria Wangsadinata_1
Honored Contributor

Re: frecover command problems

Hi,

Check the url below :

Which query concerning frecover do you have?
http://www2.itrc.hp.com/service/iv/node.do?source=search&node=prodITRC/WW_Start/N1|20|4|9|3

How to restore single files?
http://www2.itrc.hp.com/service/iv/node.do?node=prodITRC%2FWW_Start%2FN1%7C20%7C4%7C9%7C3%7C4

Check also the man page of frecover :

# man frecover

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Becke
Super Advisor

Re: frecover command problems


Thanks Guys,

This has resolved my problem, I will now assign points. We have a great team here.

Kind Regards,
Raf