1 Introduction
This document describes how to import a backup.
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.
1.1 Prerequisites
This section describes the prerequisites, which must be fulfilled before using the procedure.
1.1.1 Conditions
The following conditions must apply:
- No other backup operation is in progress.
- The backup type is known.
- The name of the backup to import is known.
- The Uniform Resource Identifier (URI) of where the backup is to be imported from is known.
- Before importing, make sure that there is no backup
under the related item with the same name as <prefix_label>_<backup_name> in
comcli by executing the command:
- For
<prefix_label>_<backup_name>_SYSTEM_<YYYYMMDD>_<hhmmss>.tar,
ManagedElement=1,SystemFunctions=1,BrM=1,BrmBackupManager=SYSTEM_DATA, BrmBackup=<prefix_label>_<backup_name>
- For <prefix_label>_<backup_name>_USER_<YYYYMMDD>_<hhmmss>.tar,
ManagedElement=1,SystemFunctions=1,BrM=1,BrmBackupManager=USER_DATA BrmBackup=<prefix_label>_<backup_name>
- For
- If the URI requires a password, the password is known.
- An Ericsson Command-Line Interface (ECLI) session in Exec mode is in progress.
2 Procedure
To import a backup:
- Navigate to the BrmBackupManager Managed Object (MO), for example:
>dn ManagedElement=<Node Name>,SystemFunctions=1,BrM=1,BrmBackupManager=USER_DATA
- Import the backup, for example:
(BrmBackupManager=USER_DATA)>importBackup --uri "sftp://hostuser1@host1/home/testBackup_20150617_USER_20150617_183207.tar" --password "hostuser1pw"
- Note:
- The password is optional. If a password is not required to access the URI, enter an empty string ("").
The system returns output true when the process starts.
- Verify that the backup is imported.
(BrmBackupManager=USER_DATA)>show -v
- Note:
- Since 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 exported, the following shows an example of the progress report:
additionalInfo
"Import Backup for testBackup_20150617: Succeeded"
progressInfo=""
progressPercentage=100
result=SUCCESS
resultInfo="testBackup_20150617 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.

Contents