1830933 Members
1963 Online
110017 Solutions
New Discussion

Fbackup

 
YOGI_3
Frequent Advisor

Fbackup

Helloo all..
i am taking backup by following command
# fbackup -v /I /var/tmp/back05 -i /back05 -f /dev/rmt/0mn
#####################
After finishing backup i want to restore it on /back05_new instead of /back05
How to achieve it ..

Waiting for replies..
thanx...
yogesh
There is never a wrong time to do the right things
4 REPLIES 4
steven Burgess_2
Honored Contributor

Re: Fbackup

Hi

Have a look at the -X (upper case) option for frecover

-X

Recover files relative to the current working directory. Normally frecover recovers files to their absolute path name.

HTH

Steven
take your time and think things through
Patrick Wallek
Honored Contributor

Re: Fbackup

You need to use the '-X' option to frecover.

# cd /back05_new
# frecover -X -f /dev/rmt/0mn -i /back05
and whatever other options you need

# man frecover
for more details
DCE
Honored Contributor

Re: Fbackup

Create the directory /back05_new
change to it
issue frecover -X (see man page)

the -X tells frecover to restore relative to the current working directory
Cem Tugrul
Esteemed Contributor

Re: Fbackup

frecover -xvf /dev/rmt/0m
(restore entire tape to originating directory
structure)

frecover -xovf /dev/rmt/0m
(restore entire tape to originating directory structure and overwrite any existing files)

(restore entire tape to /tmp originating directory structure will be overwritten)
cd /tmp
frecover -xXvf /dev/rmt/0m

hope this helps,
Our greatest duty in this life is to help others. And please, if you can't