Import Backup

Contents


1   Description

This instruction describes how to import a backup from an external storage system or from a local storage location.

Import is used to make a backup locally available on the Managed Element (ME) after the backup has previously been exported and deleted from the ME. Import can be done before a coming backup restore operation or as preventive maintenance to ensure that important backups are locally available.

A backup can be imported for System Data or User Data.

Note:  
Avoid importing a non-locally exported backup, as it results in a restore failure. If a backup created on another system must be imported for disaster recovery reasons, please contact Ericsson support for further instructions.

2   Procedure

2.1   Import Backup

Prerequisites

Steps

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

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

  2. Start the import operation. A backup can be imported from a remote server or a local directory.
    • To import from a remote server, for example:

      (BrmBackupManager=SYSTEM_DATA)>importBackup --uri "sftp://hostuser1@host1/home/hostuser1/PERF_BACKUP_NAME1_20140428_175907.tar.gz" --password "hostuser1pw"

      Where:

      • hostuser1@host1 is the <user_id>@<hostname_or_IP_address> of the remote server.
      • The <hostname_or_IP_address> must be enclosed by [ ] for IPv6.
      • /home/hostuser1/ is the remote destination directory of the remote server.
      • PERF_BACKUP_NAME1_20140428_175907.tar.gz is an example of the filename of the backup.
      • hostuser1pw is the password of the remote server. This password is optional. If a password is not required to access the URI, leave out the --password parameter.
    • To import from a local file directory, for example:

      (BrmBackupManager=SYSTEM_DATA)>importBackup --uri "file:///BackupAndRestoreManagementFiles/BACKUP_NAME1_20140428_175907.tar.gz"

      Where:

      • BackupAndRestoreManagementFiles is the local directory where the backup was exported. Backups can be exported to a subfolder under the BackupAndRestoreManagementFiles folder.
      • BACKUP_NAME1_20140428_175907.tar.gz is an example of the filename of the backup.

    The system returns output true when the process starts.

    Note:  
    • BRM supports the import of files with GZIP and TAR formats.
    • To cancel the import of a backup, type cancelCurrentAction.

  3. Verify that the backup is imported.

    (BrmBackupManager=SYSTEM_DATA)>show progressReport

    Note:  
    As this is a long-running operation, it can be required to enter the command several times until the final operation result is shown in the progress report.

    After a backup is successfully imported, the following shows an example of the progress report:

    [...]
    actionName="IMPORT"
    additionalInfo="Import Backup for PERF_BACKUP_NAME1_20140428_175907:⇒
    Succeeded" 
    progressInfo=""
    progressPercentage=100
    result=SUCCESS
    resultInfo="PERF_BACKUP_NAME1_20140428_175907 was imported ⇒
    successfully
    state=FINISHED
    [...]

    If an error occurs during the execution of the operation, the progress report shows result=FAILURE and additionalInfo shows the cause of the failure. The cause can be an invalid URI, a password error, backup integrity issues, or communication issues.

    To cancel the ongoing backup import, use action cancelCurrentAction.

    The name of the imported backup is listed at the end of the progress report along with other available backups. For more information on the progress report, refer to View Progress Report.



Copyright

© Ericsson AB 2016, 2017. All rights reserved. No part of this document may be reproduced in any form without the written permission of the copyright owner.

Disclaimer

The contents of this document are subject to revision without notice due to continued progress in methodology, design and manufacturing. Ericsson shall have no liability for any error or damage of any kind resulting from the use of this document.

Trademark List
All trademarks mentioned herein are the property of their respective owners. These are shown in the document Trademark Information.

    Import Backup