1834395 Members
1697 Online
110066 Solutions
New Discussion

Need backup Help

 
Vivek Shrivastava_1
Frequent Advisor

Need backup Help

Hi,

I am required to backup the UNIX server which is running HP-UX 11.00. Please help me with this.

What are the steps to fully backup a system so that we can recover it in case of major problem?

I need to backup full vg00. I need to make sure that it also has the backup of mapfiles for and all other conf files for all the volume groups.

I need to backup few file system not on vg00.

I am also asked to rcp all the important files to some other box.

Should I do this on a tape or multiple tapes? I mean vg00 on one and files systems on other tape.

Please help me with this. Please provide me a detail steps.

Thanks
VivekS
10 REPLIES 10
Vivek Shrivastava_1
Frequent Advisor

Re: Need backup Help

Please also ecommand which version of Ignite i should use.

Thanks
Bharat Katkar
Honored Contributor

Re: Need backup Help

Download the Ignite UX depot file from ITRC.

Install it using

# swinstall -s

After installing Ignite UX, you be able to use make_recovery command.

# make_recovery -ACv -d

This will backup entire VG00 volume group and your Tape becomes bootable one.

For doing rcp you need to configure .rhosts and hosts.equiv file.

See man rhosts and man hosts.equiv.

Hope that helps.
Regards,
You need to know a lot to actually know how little you know
Vivek Shrivastava_1
Frequent Advisor

Re: Need backup Help

Thanks Bharat,

Could your please provide the link for Ignite?

# make_recovery -ACv -d

does above command ceate the mapfiles?

I did the setup for rcp and it working. i just need to know all th epossible files that may be usefull to have.

how can i creat VG mapfile without effecting system? system is up and running ant it should be up and running. users are using the system.


Please do help me.
Thanks
Marvin Strong
Honored Contributor

Re: Need backup Help

to make map files:

vgexport -p -m vg??.map /dev/vg??
or
vgexport -s -p -m vg??.map /dev/vg??

depending on what you are looking for in your mapfile.

man vgexport
Vivek Shrivastava_1
Frequent Advisor

Re: Need backup Help

I want to have as much as information possible.

So if run following command then system wil be running fine.

vgexport -p -m vg??.map /dev/vg??
or
vgexport -s -p -m vg??.map /dev/vg??

it will not deactivate or do something bad with all the volume group including vg00.

please help.

Thanks
Bharat Katkar
Honored Contributor

Re: Need backup Help

Hi Vivek,
vgexport command as mentioned above will not do any harm. It will not deactivate VG. -p option will do that magic for you. You can make make map file online when VG are activated. You can then backup this map files separately and can use then later to do vgimport as and when needed.
And for Ignite, i don't remeber the exact link but if you serach for IGnite UX in ITRC forum you will get the link, that is not a big issue.

Regards,
You need to know a lot to actually know how little you know
Bharat Katkar
Honored Contributor

Re: Need backup Help

Hi Vivek,
I got the link for Ignite Download. Just click on the link below.

http://www.software.hp.com/products/IUX/download.html

Regards,
You need to know a lot to actually know how little you know
Vivek Shrivastava_1
Frequent Advisor

Re: Need backup Help

thanks bharat,

I also found it.

Could you please also tell me how should i bakup some file systems? may be using fbackup or something else?

Please do help.

thanks
iminus
Frequent Advisor

Re: Need backup Help

Use Ignite,
then use the ignite command:
make_tape_recovery -x inc_entire=vg00

To monitor the progress, check the log file:
/var/opt/ignite/recovery/latest/recovery.log
hope it helps
Michael Tully
Honored Contributor

Re: Need backup Help

My suggestion is you have two backups, one for /dev/vg00 and one for the rest.

Backing up /dev/vg00
# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/?mn (note the use of the no-rewind device.

The rest can be backed up using fbackup.
a) Create a graph file, and place the contents of all other filesystems in it.

e.g.

i /myotherfs1
i /myotherfs2

# /usr/sbin/fbackup -g /tmp/graph -f /dev/rmt/?m
Anyone for a Mutiny ?