Operating System - HP-UX
1834942 Members
2203 Online
110071 Solutions
New Discussion

make_net_recovery question

 
Terryt14
New Member

make_net_recovery question

Hi,

Is there a way of running the make_net_recovery command to include all of vg00 but only create the volume group structure of any addtional volume groups without recovering the data in those volume groups?

I have a system with about 4 volume groups. There is about 900GB of data on vg01, vg02 and vg03, there are lots of logical volumes and file systems. I want to create an image that will bring back all of vg00 and create the volume groups and file systems of the other volume groups without including the data in the image. when I try it with -x inc_entire=vg01 it trys to include all the data in vg01 and the image is huge.
6 REPLIES 6
Ivan Krastev
Honored Contributor

Re: make_net_recovery question

Yes, you can with include/exclude options. For example if you have:
/dev/vg01/lvol1 mounted as /opt/data1

you can use:

make_net_recovery -x inc_entire=vg01 -x exclude=/opt/data1

regards,
ivan
Terryt14
New Member

Re: make_net_recovery question

HI ivan,

thanks for your reply.

I would like to actually keep all the volume group information for vg01, vg02, vg03 so that these volume groups are created by the ignite image but they will be empty as the data is not stored as part of the image. so basically once i run the ignite image I'll have the whole of vg00 including data and vg01, vg02 and vg03 created but with no data so my next task would then be to recovery data to the file systems in vg01, vg02 and vg03. Is there a command to do this?
Ivan Krastev
Honored Contributor

Re: make_net_recovery question

This is the idea - add all volume groups, but exclude files/directories in this groups.

What are your mount points to give you an exact example?

regards,
ivan
Terryt14
New Member

Re: make_net_recovery question

Thanks Ivan,

I'll give that a try.

Thanks again

Terry.
Avinash20
Honored Contributor

Re: make_net_recovery question

Hi,

I believe you like to take the backup of complete vg00 configuration and data + Only configuration of vg01 - vg03

NOTE: Configuration of VG include, vgcfgbackup and vgimport
This will be automically taken by Ignite

You only have to use the following command

# make_tape_recovery -v -x inc_entire=vg00 -a

>> The above command will take conf+data backup of vg00 and configuration backup of all the other VG's

For Data backup on other vg, you might choose fbackup or application backup tools.

PS: Please assign point to your posts
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
sujit kumar singh
Honored Contributor

Re: make_net_recovery question

hi

As per the requiremnt that you have posted just do
1)make_net_recovery only so as to have the vg00 included in the archive.
2)for the other VGs on the source you can copy the files in (Please do not include vg00 conf files) the /etc/lvmconf/.conf and /etc/lvmconf/.conf.old

keep a copy of the same and if reqd you can copy to the system after you have ignite restored on to the client.

regards
sujit