1834089 Members
2253 Online
110063 Solutions
New Discussion

Re: fbackup / frecover

 
SOLVED
Go to solution
nick_202
Occasional Contributor

fbackup / frecover

Hi,

I have 2 hp machines abc and xyz
all the data file systems on abc are in the form /abc/....
and these data file systems reside in vg01
i have a full system backup of this machine (abc) which i took using the fbackup command.

i want to restore the data form this backup tape on to the machine xyz so that machine xyz also has all the filesystems that are there on abc. And if i am not asking for too much i would like all the file systems on the machine xyz to be in the form /xyz/....

Currently the machine is newly set up with only os. I just created a vg vg01 of 4080 mb.
I am willing to delete this vg. and i also have other unused harddisks on xyz.

Please can some one advice how i can go about doing this.
4 REPLIES 4
Rodney Hills
Honored Contributor
Solution

Re: fbackup / frecover

Do the following-

mkdir /xyz
cd /xyz
frecover -xX -f /dev/rmt/0m -i ...

where ... of following -i is the files/directories you wish to restore.

The -X option of frecover will restore relative to the current working directory.

HTH

-- Rod Hills
There be dragons...
Devender Khatana
Honored Contributor

Re: fbackup / frecover

Hi,

Your fbackup will not create your VG & File systems as it restore only files. And if you make a directory & restore it will restore it in root.So before restore create VG & file systems as per requirement. To achive this first identify the unused disks and create VG on these disks and then create file systems as per required sizes ( may be even more also then that of host abc).
Give any default vg & lvol name but give mount path as /xyz/...

If you are not very familiar with LVM commands it can be easily done through SAM itself.
Go to SAM->Disks & File Systems->Volume Groups->actions->create

After this you can do a restore as told by hills.

HTH,
Devender
Impossible itself mentions "I m possible"
Hoang Chi Cong_1
Honored Contributor

Re: fbackup / frecover

Hi nick
I attached a .pdf documentation file.
It will discrible in detail about backup and recover system....
First, need to create a logical volume
#lvcreate.....
#newfs.....

#frecover -f /dev/rmt/XX -i /xyz -xv

Hope this helps for you
Goodluck!
HoangChiCong
Looking for a special chance.......
Rashid Hamid
Regular Advisor

Re: fbackup / frecover

Hi Nick
Normally I will do like this

fbackup once again to the particular directory in abc.
#fbackup -f /dev/rmt/0m -0vi /directory

In xyz machine, create a new vg, logical volume and file system accordingly...

#frecover -f /dev/rmt/0m -ro

Regards
Rashid
I'm Parit Madirono/Parit Betak Boyz