Operating System - HP-UX
1828317 Members
4600 Online
109976 Solutions
New Discussion

Need help on ignite backup script

 
Gaby1110
Frequent Advisor

Need help on ignite backup script

Hi,

I need help for modifying the attached script to take ignite backup to tape.
Earlier I was using this script to take ignite backup of my server to snah5(server name in the script).
Now We have decommisioned the snah5 server and would like to take ignite backup of
my HP-UX machine (10.20) to the tape drive connected.

Please help...

Thanks
Gaby
3 REPLIES 3
Stephan.
Honored Contributor

Re: Need help on ignite backup script

Hi,
these are two different things so changing the script is not that simple.

To run the ignite on tape use 'make_tape_recovery' instead of make_net_recovery.

Uday_S_Ankolekar
Honored Contributor

Re: Need help on ignite backup script

Your CMD should be
/opt/ignite/bin/make_tape_recovery -a ${NTAPE}

where NTAPE is device name for Tape
ex: /dev/rmt/0m


-Goodluck

-USA..
Good Luck..
James R. Ferguson
Acclaimed Contributor

Re: Need help on ignite backup script

Hi Gaby:

Using Ignite to make a recovery tape is easy:

#!/usr/bin/sh
/opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn
IGNITE_RC=$?
if (( $IGNITE_RC != 1 ))
then
mt -t /dev/rmt/0m offl > /dev/null 2>&1
fi
mailx -s "IGNITE Notification (rc=${IGNITE_RC})" root < /dev/null
exit 0

...
This will create a recovery tape of all of vg00. Change the tape device if necessary. The result (success or failure) of the operation will be mailed to the root account (under which this should run). If successful, the tape will be ejected from its drive for "safety".

Regards!

...JRF...