Operating System - HP-UX
1827802 Members
2341 Online
109969 Solutions
New Discussion

Re: restore directory from tape

 
Michael_33
Regular Advisor

restore directory from tape

Hi all,

I have a full backup tape with fbackup.
I want to restore /user1 directory to /user2
directory, is it possible? if yes, how can I do?

btw, /user1 is a file system,/dev/vg00/lvol10
and /user2 is also a file system (empty),/dev/vg03/lvol

Thanks!
7 REPLIES 7
Michael_33
Regular Advisor

Re: restore directory from tape

and /user2 is also a file system (empty),/dev/vg03/lvol6
Sebastian Galeski_1
Trusted Contributor

Re: restore directory from tape

try to use:
#cd /user2

frecover ???f /dev/rmt/0m ???i /user1 ???Xxv : -x recover a piece of archive to current directory

regards seba
Michael_33
Regular Advisor

Re: restore directory from tape

thanks!

to seba:

frecover ???f /dev/rmt/0m ???i /user1 ???Xxv

this cmd can restore all the files under /user1?

steven Burgess_2
Honored Contributor

Re: restore directory from tape

Michael

How did you get on with your damaged filesystem ?

Steve
take your time and think things through
Michael_33
Regular Advisor

Re: restore directory from tape

hi steven

I try to recover whole files from tape.
steven Burgess_2
Honored Contributor

Re: restore directory from tape

Michael

Did you clear your errors first ?

Just recovering the files from tape won't resolve your problem.

Steve
take your time and think things through
Michael_33
Regular Advisor

Re: restore directory from tape

can not fix the error.
I create a new lvol, and do the recover.