Backup Restoration
Backup Restoration
Backup Restoration
a. Taking Backup
For taking backup automatically, all LAG nodes must be discovered in LAGEMS.
Always add nodes through Manage Nodes option. Right Click on Map and Manage
nodes.
After discovery of nodes, Select EMS & Backup Restore option in EMS.
In this, lagdata.tar and Automatic/Manual will be seen. This means lagdata.tar
which are created automatically will be seen in the list of backup files having
Automatic. If backup is taken manually using then Manual will be seen.
If operator runs this command through Thin Client PC then after taking backup,
EMS will ask the path in
Thin Client PC and operator may select path in which operator wish to save
backup.
In LAGEMS server *_A and *_M will be seen which means A for Automatically
and M for Manually.
Location of Backup Files in EMS and NGTJ card are as
follows:
EMS: /home/admin/AdventNet/WebNMS/Backup/Lag
NGTJ: /mmc/etc/BACKUP
Important Note: In LAGEMS server, LAG IP Wise Backup will be saved.
b. Restoring Backup
Note: For restoring Backup through EMS, give soft shutdown to standby copy first
then restore backup to NGTJ card. For this, login into card and give following
commands
# cd /mmc/etc
#. /lag_shutdown.sh 2
After discovery of nodes, Select EMS & Backup Restore option in EMS.
Select Restore from Thin Client and select files operator wish to restore and
restore.
# cd /mmc/etc
# ./lag_restore.sh
Untar & copy required files at required path and make System UP.
Always run this command in active copy.
Why it is required?
Backup can be taken on require basis for the CACU chassis in case any mis
configuration , data corruption or card mmc corruption. If backup is taken then
this backup can be restored and the exchange downtime will be less.
So it is always advisable to take the backup on regular basis.
In CACU system user can take back of following gateway applications:
1. V5 AG backup
2. PRIAG backup
3. TMG backup
Step 1
Step 2
We are using the FTP utility for transferring the backup to thin client PC.
Open the terminal. Go to Backup folder using commands
$ cd /Desktop/Backup
$ftp 10.178.84.147========> (IP address of NGTJ card in the CACU chassis having
V5AG)
$ cd /mmc/ag
$ bi
$ ha
$ mget CdotAgwDb.bin
$ bye
Now, this file can be saved in the Backup folder in Thin Client PC or Pen drive for
restoring Backup file in case of Data /Card corruption.
ii) Similarly take the backup of file extensions.conf file.
extensions.conf from /mmc/etc/v5ag/ path of the NGTJ card. 2. PRIAG backup
procedure
Following two files are need to be backup .Backup can be taken at the Thin client
and later on transferred to USB also.
I) priag.conf (This file has all the information of PDDI created on the NGTJ card)
ii) Extensions.conf (This file has the information of C5 IP)
Step 1: We are using the FTP utility for transferring the backup to thin client PC.
Open the terminal. Go to Backup folder using commands
$ cd /Desktop/Backup
$ftp 10.178.84.147========> (IP address of NGTJ card in the CACU chassis having
PRI)
USERNAME is root PASSWORD is root
$ cd /mmc/etc/priag/
$bin
$ha
$ mget extensions.conf
$ bye
Note: extensions.conf file contains the SSIP of the core sbc.
STEP 2:
Open the terminal. Go to Backup folder using commands
$ cd /Desktop/Backup
$ftp 10.178.84.147========> (IP address of NGTJ card in the CACU chassis having
PRI)
USERNAME is root PASSWORD is root
$ cd /mmc/etc/priag/
$ bin
$ ha
$ mget priag.conf
$ bye
Step 1
#cd /home/ubuntu/Desktop
#ssh root@<NGTJ card IP>
Step 2
We are using the FTP utility for transferring the backup to NGTJ card.
Open the terminal. Go to Backup folder using commands
$ cd /home/ubuntu/Desktop/Backup
$ftp 10.178.84.147========> (IP address of NGTJ card in the CACU chassis having
V5AG)
ftp> cd /mmc/ag
ftp> bi
ftp> ha
ftp> mput CdotAgwDb.bin
ftp> bye
Now, this file has been saved in the Backup folder in NGTJ card.
Step 3
Now your card is UP. Check AI status, Dial tone and all types of calls from and to
ANRAXs.
STEP 3. TMG Backup Procedure
Following file is need to be backup .Backup can be taken at the Thin client and
later on transferred to USB also.
I) cdot_tmg.cfg ( This file contains the all configuration data for TMG)
We are using the FTP utility for transferring the backup to thin client PC.
Open the terminal. Go to Backup folder using commands
$ cd /Desktop/Backup
$ftp 10.178.84.147========> (IP address of NGTJ card in the CACU chassis having
TMG)
$ cd /mmc/opt/tmg/etc/
$ bi
$ ha
$ mget cdot_tmg.cfg
$ bye
For Restoring Backup to CACU NGTJ Card from Thin Client
PC
Step 1
Go to Backup Directory in Thin Client PC and folder where Backup File is saved.
#cd /home/ubuntu/Desktop/Backup
#ls
#ssh root@<Card IP>
Enter default password root
#cd /mmc/ngtj
#./service ag stop
#logout
Step 2
We are using the FTP utility for transferring the backup to thin client PC.
Open the terminal. Go to Backup folder using commands
$ cd /home/ubuntu/Desktop/Backup
$ftp 10.178.84.147========> (IP address of NGTJ card in the CACU chassis having
V5AG)
$ cd /mmc/ag
$ bi
$ ha
$ mput CdotAgwDb.bin
$ bye
Step 3
For MLS, open MLS GUI in Firefox Browser in Thin Client PC. Enter Management IP
of MLS card for example MLS FVIP of site 10.x.x.4 or 10.x.x.7 or 10.x.x.132 or
10.x.x.135.