1753604 Members
6383 Online
108797 Solutions
New Discussion юеВ

Re: Make_net_recovery

 
Khashru
Valued Contributor

Make_net_recovery

Hi,

i am taking make net recovery of one server using the following script.

MAKE_REC=/opt/ignite/bin/make_net_recovery
UXSERVER=10.6.140.95
LOG=/root/Make_Net_Recovery.log
ADMINS=john.makdessi@au.towerlimited.com,mohammad.ayub@au.towerlimited.com

nohup $MAKE_REC -s $UXSERVER -n 3 -AvI -x inc_entire=/dev/vg00 >$LOG 2>&1
mailx -s "AUSYD116 Ignite Backup Log" $ADMINS < $LOG


I like to exclude /var/opt/ignite/recovery/archives the following directory and its contains from the backup.

What will be the syntax
4 REPLIES 4
Sameer_Nirmal
Honored Contributor

Re: Make_net_recovery

Just add -x exclude option as

" -x inc_entire=/dev/vg00 -x exclude=/var/opt/ignite/recovery/archives "

Run net recovery with "-p" mode. You would see the vg00 would "partially included" in the archive for verification. then continue to create the net archive as per your defined syntax. Note there is no option as "-I" in net recovery.
Khashru
Valued Contributor

Re: Make_net_recovery

so the command will be nohup $MAKE_REC -s $UXSERVER -n 3 -AvI -x inc_entire=/dev/vg00 exclude=/var/opt/ignite/recovery/archives >$LOG 2>&1

I run this from cron. Where should i put the p option.
Sameer_Nirmal
Honored Contributor

Re: Make_net_recovery

Well. I mentioned about "-p" option just to verify the vg00 inclusion status in the archive before creating actual archive. Just run the preview before you putting the complete command ( without -p ) in the cron.

The command with "preview" would be ( not in crontab )
# $MAKE_REC -p -s $UXSERVER -n 3 -AvI -x inc_entire=/dev/vg00 -x exclude=/var/opt/ignite/recovery/archives >$LOG

The complete command in the crontab would be
# nohup $MAKE_REC -s $UXSERVER -n 3 -AvI -x inc_entire=/dev/vg00 -x exclude=/var/opt/ignite/recovery/archives >$LOG 2>&1
Khashru
Valued Contributor

Re: Make_net_recovery

It is working. I was trying to submit point but could not. can you make a post so that i can submit point.