1752790 Members
6272 Online
108789 Solutions
New Discussion юеВ

make_tape_recovery

 
Md. Minhaz Khan
Super Advisor

make_tape_recovery

Dear All,

What is the difference between below commands:

#make_tape_recovery -Av -a /dev/rmt/0m
#make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn

I think both commands took entire image of root VG(vg00) and if any system crash occur we can restore our system from backup tape.

So please give me your opinion which command i should use to take complete image of vg00.

Thanks
Minhaz
5 REPLIES 5
Michal Kapalka (mikap)
Honored Contributor

Re: make_tape_recovery

hi,

i use the second option :

example1 :

nohup make_tape_recovery -I -v -x inc_entire=vg00 -a /dev/rmt/0mn -x exclude=/INSTALATION_MEDIA &

= yes i know, that 0mn is default, but i always do -a switch.

example2 :

nohup make_tape_recovery -I -v -x inc_entire=vg00 \
-x exclude=/temp \
-x exclude=/sapmnt/EE2 \
-x exclude=/oracle \
-x exclude=/oracle/EE2/sapdata2 \
-x exclude=/oracle/EE2/sapdata1 \
-x exclude=/oracle/EE2/origlogC \
-x exclude=/oracle/EE2/origlogB \
-x exclude=/oracle/EE2/origlogA \
-x exclude=/oracle/EE2 \
-x exclude=/oracle/EE2/mirrlogC \
-x exclude=/oracle/EE2/mirrlogB \
-x exclude=/oracle/EE2/mirrlogA \
-x exclude=/usr/sap/EE2 \
-a /dev/rmt/1mn &

mikap
Pete Randall
Outstanding Contributor

Re: make_tape_recovery

Look at the EXAMPLES section of the man page:

"Create a system recovery tape with all the files/directories on the disk(s)/volume group(s) containing the files specified by the default essentials file list /opt/ignite/recovery/mnr_essentials or the user defined version of this file, that replaces this file, /var/opt/ignite/recovery/mnr_essentials.

make_tape_recovery -A"

The tape will contain only the files specified by the default essentials file list. Using the -x inc_entire option is the only way to ensure that vg00 is copied in its entirety.


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: make_tape_recovery

Shalom Minhaz,

This statement is wrong:
I think both commands took entire image of root VG(vg00) and if any system crash occur we can restore our system from backup tape.

If your system crashes you should diagnose the probelem and see if you can correct with patches or configuration changes.

Ignite is a Disaster Recvoery tool. IF you lose the system and can't fix it, you can restore it.

You should run Ignite on a regular basis to catch backups.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Johnson Punniyalingam
Honored Contributor

Re: make_tape_recovery

You can use the second Once

make_tape_recovery -x inc_entire=vg00 -Iv -a /dev/rmt/0mn

man make_tape_recovery ,

>>So please give me your opinion which command i should use to take complete image of vg00.<<

man make_tape_recovery
Problems are common to all, but attitude makes the difference
Md. Minhaz Khan
Super Advisor

Re: make_tape_recovery

Thanks a lot to give me expert opinion

Reg
Minhaz