1752610 Members
4541 Online
108788 Solutions
New Discussion юеВ

Backup's

 
SOLVED
Go to solution
Grayh
Trusted Contributor

Re: Backup's

ok..

So do I need to hit this command at source(I have to make a exact copy of this on new server) or target(new system)

#make_net_recovery

Is it just that one line.... or do I have to specify a sequence of commands.. if so plz advise
Tingli
Esteemed Contributor

Re: Backup's

Usually, I make the ignite backup through gui from there server. It is a lazy but easy way.
Grayh
Trusted Contributor

Re: Backup's

Thats nice... Could you plz tell how to take backup using ignite in GUI...

Could you plz give me any doc on how to do it...
Tingli
Esteemed Contributor

Re: Backup's

In your server, set up its DISPLAY first. Then use ignite & to start it. The server will scan the net to find the clients by itself and creates icon for each client. And you can open the icon, which will lead you to where you want.
Gokul Chandola
Trusted Contributor

Re: Backup's

Hi,
For Ignite backup you have to install ignite s/w in a separate machine that will work as Ignite Server and from client end we can difine ignite Server for that and we will push for backup and time-to-time we can synchronise it and whenever we required restore.
We can Full system restore to Put Server ip in booting time.
Your full system will restore.

please read the Ignite document for that, this is simple and very safe But you need a separate server for that.

Regards,
Gokul Chandola
There is always some scope for improvment.
Grayh
Trusted Contributor

Re: Backup's

I am confused...

Should I take backups to clone the target from the source or from the Ignite server...

Where should I hit these commands or invoke the gui...
Grayh
Trusted Contributor

Re: Backup's

will the below script work....

#!/usr/bin/sh
# tape recover from net image.
# Author
#####
IGNDIR=/var/opt/ignite/clients
TMP=/tmp
TAPEDRIVE=/dev/rmt/0mn
#####

#########################
check ()
{
if [ "$(id -u)" != "0" ] ; then
echo "This script must be run as root" 1>&2
exit 1
fi
}

#########################
input ()
{
count=1
while [ $count -eq 1 ]
do
echo "Please enter name of system you want yo make image of:"
read System
if [ -d $IGNDIR/$System ] ;
then
echo "$System exist on mou065"
count=0
else
echo "!!! System You entered $System doesn't exist on Ignite Server !!!"
echo "!!! Please check and re-enter host !!!"
count=1
fi
done

echo "Please make selection what HP version to use"
echo "B.11.11, B.11.23, B.11.31:"
read var
case "$var" in
"B.11.11")
Ver=`echo "B.11.11"`
;;
"B.11.23")
Ver=`echo "B.11.23"`
;;
"B.11.31")
Ver=`echo "B.11.31"`
;;
*)
echo "No HP matching OS version found !"
exit 1
;;
esac
}
#############################
make_lif ()
{
REAL=`ls -l $IGNDIR/$System/recovery/| grep "latest" | awk -F"->" ' { pr
int $2 } ' | sed 's/ //g'`
cd $IGNDIR/$System/recovery/$REAL
/opt/ignite/bin/make_medialif -f system_cfg -f control_cfg -f archive_cf
g \
-C "$REAL $System recovery image" \
-l $TMP/lif -a -r $Ver
instl_adm -d -F $TMP/lif > $TMP/cfg.tmp
cat $TMP/cfg.tmp | grep -v "end instl_adm defaults." > /$TMP/cfg
echo "control_from_server=FALSE" >> $TMP/cfg
echo "run_ui=TRUE" >> $TMP/cfg
echo "env_vars += \"INST_ALLOW_WARNINGS=10\"" >> $TMP/cfg
echo "# end instl_adm defaults." >> $TMP/cfg
instl_adm -F $TMP/lif -f $TMP/cfg
}

###############################
make_tape ()
{
mt -t $TAPEDRIVE rew
dd if=$TMP/lif of=$TAPEDRIVE obs=2k
dd if=/var/opt/ignite/recovery/archives/$System/$REAL \
of=$TAPEDRIVE obs=10k
mt -t $TAPEDRIVE rew
}
###############################
cleanup ()
{
rm /tmp/lif
rm /tmp/cfg.tmp
rm /tmp/cfg
}

check
input
make_lif
make_tape
cleanup
Tingli
Esteemed Contributor

Re: Backup's

First, you make a vg00 backup from your old system. Then you create a backup clone following the clone document. After that, you install the new system from the backup clone.
Grayh
Trusted Contributor

Re: Backup's

How to take a backup & clone on a external disk...

could u plz give me the step by step instruction to do this please....
Tingli
Esteemed Contributor

Re: Backup's

Does your rp5450 have a tape drive?