Import Backup

Contents

1Introduction
1.1Prerequisites

2

Procedure

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:

2   Procedure

To import a backup:

  1. Navigate to the BrmBackupManager Managed Object (MO), for example:

    >dn ManagedElement=<Node Name>,SystemFunctions=1,BrM=1,BrmBackupManager=USER_DATA

  2. Import the backup, for example:

    (BrmBackupManager=USER_DATA)>importBackup --uri "sftp://hostuser1@host1/home/testBackup_20150617_USER_20150617_183207.tar.gz" --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.

  3. 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.