Backup and Restore

 

The following information will guide you to take a complete user backup of your NSG system. Backup files can be expanded for review and used to restore a system if catastrophic failure should occur.

The Backup files can only be used to restore on the same system since the backup package contains licensing information which is locked to the server it was running on

 

NetBorder SS7 Appliance 

Backup

The following backup procedure is a complete backup including the following files:

  • license

  • NSG user configuration

  • TDM card configuration

  • Dial plan

  • SIP profiles

  • NSG network configuration

 

  • Log into the NSG Gateway WebGUI using your credentials

  • Navigate to Configuration > Management > Backup - Restore

     

  • Click the Backup and Download Now button to download a full configuration backup to your local system

  • A backup file should now be saved on your local system with the following name format:
    > backup-localhost.localnet-<time & date>.tar

Restore

  • Log into the NSG Gateway WebGUI using your credentials


  • Navigate to Configuration > Management > Backup - Restore

     

  • Click on the Choose button which will prompt you to find a previous backup file on the local system

  • Find the backup file you wish to restore onto the NSG Gateway

    • The backup file should look something like this: backup-localhost.localnet-12-01-2015-15-23-05.tar.gz

      • The numbers in the backup file will be different for you since they represent time and date information 

  • The WebGUI will now update with the backup file attached.
    Example:

  • Click the upload button, as seen in the previous image, to install the backup file and restore all your configuration

  • Click Continue button to confirm the restore of the specific backup file, as seen in the image below

  • The restore process will  will only take a few.

  • Once the restoration is completed the NSG Gateway should be operational again

NetBorder SS7 Software 

NSG Software backup requires Linux Command line entry

Backup

The following backup procedure is a complete backup including the following files:

  • license

  • NSG user configuration

  • TDM card configuration

  • Dial plan

  • SIP profiles

  • NSG network configuration

The backup can be used to restore on a new NSG Gateway installation in the case of a catastrophic failure.

 

  • Log into the NSG Linux Command line using a terminal program of your choice (example: putty)

    • Example:

 

  • Navigate to the NSG directory /usr/local/nsg/ :

    • Type the following on the Linux command line:

      • cd  /usr/local/nsg

      • press <enter>

         

  • Type the following command within the /usr/local/nsg directory to create the backup package

    • tar cfz nsg-backup.tgz conf/ .   (make sure to include the '.' at the end which saves the backup in the same directory)
      example:

       

  • A file called nsg-backup.tgz will be saved in the current directory.  To verify simply type the following command and look for your file:

    • ls
      example: 

       

    • This process has backed up the NSG Gateway configuration

    • Move this file to a directory of your choice for safe keeping. For example, you can move this to the root directory by typing:
      -> cp nsg-backup.tgz /root
       

  •  To backup the TDM configuration follow the same process inside the /etc/wanpipe directory

    • Change directory to /etc/wanpipe:

      • type: cd /etc/wanpipe

      • press <enter>
        example: 

      • type: tar cfz wanpipe-backup.tgz wan* .   (make sure to include the '.' at the end which saves the backup in the same directory)
        example:

      • Move this file to a location of your choice.  For example to move to the root directory type:
        > cp wanpipe-backup.tgz /root

  • The NSG Gateway is now completely backup up

    • nsg-backup.tgz contains the NSG Gateway portion

    • wanpipe-backup.tgz contains the TDM card(s) backup

 

Restore

In the case of catastrophic failure the NSG backup can be restored on any NSG Gateway to restore full operation

The files required for a complete restoration are:

  • nag-backup.tgz

  • wanpipe-backup.tgz

To restore your NSG Gateway follow the procedure below:

 

  1. Insert the nsg-backup.tgz file within the /usr/local/nsg directory.  This will overwrite the default /conf directory within /usr/local/nsg

    1. If you have the nsg-backup.tgz file located in the root directory of your system, type:
      > cp /root/nsg-backup.tgz /usr/loca/nsg

      If you have saved the nsg-backup.tgz file in a different directory, replace /root/ with the unique directory.  

  2.  Insert the wanpipe-backup.tgz file within the /etc/ directory.  This will overwrite the default /wanpipe directory within /etc/wanpipe

    1. If you have the wanpipe-backup.tgz file located in the root directory of your system, type:
      > cp /root/wanpipe-backup.tgz /etc/wanpipe

      If you have saved the wanpipe-backup.tgz file in a different directory, replace /root/ with the unique directory.

A restart of the NSG Gateway is required for the restoration to take affect.

Within the Linux command line type:
> /etc/init.d/nsg stop  (this will stop the NSG Gateway if started)
> /etc/init.d/nsg start (this will start the NSG Gateway if stopped)

 

Your NSG Gateway is fully restored and operational at this point.

If issues exist please connect with our Support team by submitting a support request at support.sangoma.com

Return to Documentation Home I Return to Sangoma Support