Restore Backup

Contents


1   Description

This instruction describes how to restore a backup.

2   Procedure

2.1   Restore Backup

Prerequisites

Steps

In certain cases, for example, node reinstantiation, the MAC addresses in the underlying infrastructure can be changed since the backup was created. Therefore, the restored backup does not work because the altered MAC addresses and additional steps are needed.

  1. To restore a backup, choose one of the following options:

2.2   Restore Backup When MAC Addresses Have Not Been Changed

Steps

  1. Navigate to the BrmBackupManager managed object, for example:

    >dn ManagedElement=NODE06ST,SystemFunctions=1,BrM=1,BrmBackupManager=SYSTEM_DATA

  2. Specify the backup to restore, for example:

    (BrmBackupManager=SYSTEM_DATA)>BrmBackup=PERF_BACKUP_NAME1_20140428_175907

  3. Start the restore operation:

    (BrmBackup=PERF_BACKUP_NAME1_20140428_175907)>restore

    The system returns output true or false.

    Attention!

    Risk of system malfunction or traffic disturbance.

    A cluster reboot is automatically triggered when restoring a System Data backup. The resulting In-Service Performance impact corresponds to the time required for a cluster to restart after reboot.

  4. Verify that the backup was successfully restored, for example:

    (BrmBackup=PERF_BACKUP_NAME1_20140428_175907>)show -v

    The following is an example output:

    BrmBackup=PERF_BACKUP_NAME1_20140428_175907
    [...]
       asyncActionProgress <read-only>
          actionId=3 <read-only>
          actionName="RESTORE" <read-only>
          additionalInfo=[] <empty>
          progressInfo="PERMIT_PHASE is completed" <read-only>
          progressPercentage=33 <read-only>
          result=NOT_AVAILABLE <read-only>
          resultInfo="" <read-only>
          state=RUNNING <read-only>
          timeActionCompleted="1970-01-01T05:00:00" <read-only>
          timeActionStarted="2014-09-08T10:55:54" <read-only>
          timeOfLastStatusUpdate="2014-09-08T10:55:55" <read-only>
       progressReport <read-only>
          actionId=3 <read-only>
          actionName="RESTORE" <read-only>
          additionalInfo=[] <empty>
          progressInfo="PERMIT_PHASE is completed" <read-only>
          progressPercentage=33 <read-only>
          result=NOT_AVAILABLE <read-only>
          resultInfo="" <read-only>
          state=RUNNING <read-only>
          timeActionCompleted="1970-01-01T05:00:00" <read-only>
          timeActionStarted="2014-09-08T10:55:54" <read-only>
          timeOfLastStatusUpdate="2014-09-08T10:55:55" <read-only>
    [...]
Note:  
When performing a System Data backup restore, the restore progress can be monitored (see View Progress Report) until the system reboot is triggered. After the system is rebooted, the progress report is reset to default values.

2.3   Restore Backup When MAC Addresses Have Been Changed

Note:  
Only instantiate the node with the same HOT file.

Steps

  1. On the instantiated Virtual Network Function (VNF), pull the MAC addresses section from cluster.conf /cluster/etc/cluster.conf.
    Note:  
    To keep the original Payload (PL) numbering for a scaled out cluster, add a comment about the MAC addresses in each of the PL-<X>.conf files under the /cluster/etc/cluster.conf.d.

  2. Decompress the exported backup.

    The following is an example file structure of the decompressed backup:

    backupinfo.xml backupinfo.xsd config.md5sum config.metadata config.tar.gz software.md5sum software.metadata software.tar.gz validate.md5

  3. Decompress the config.tar.gz file.
    Result:
    The file is decompressed in the /tmp/backup_x/system/config/lotc-ana90139/etc/ directory.
  4. In the decompressed cluster.conf file, replace the MAC addresses section with the pulled MAC addresses obtained in Step 1.
    Note:  
    To keep the original PL numbering, restore the MAC addresses in each of the PL-<X>.conf files under the /tmp/backup_x/system/config/lotc-ana90139/etc/cluster.conf.d directory, with the addresses collected in Step 1.

  5. Remove lde-config.xml in the /tmp/backup_x/system/config/lotc-ana90139/etc/ directory.
  6. Recompress the modified content of the config.tar.gz

    For example, tar -zcf config.tar.gz system

  7. Calculate and save the new checksum values:

    md5sum config.metadata config.tar.gz > config.md5sum

    md5sum backupinfo.xml backupinfo.xsd config.md5sum config.metadata config.tar.gz software.md5sum software.metadata software.tar.gz > validate.md5

  8. Recompress the backup file.
  9. Import the modified backup to the system, see Import Backup.
  10. Restore backup by following the instructions in Section 2.2 Restore Backup When MAC Addresses Have Not Been Changed.
    Note:  
    The following cluster sizes apply to backups created on a (2+N) VNF and restored on a (2+M) VNF:

    M>N: The result is (2+N).

    M≤N: The result is (2+M).