| 1 | Introduction |
| 1.1 | Prerequisites |
2 | Procedure |
| 2.1 | Cancel a User Data Backup |
| 2.2 | Cancel a System Data Backup |
1 Introduction
This document describes how to cancel a backup operation.
- Note:
-
- Currently, the cancel restore operation is not supported.
- To cancel the deletion of the backup, type cancelCurrentAction. If the delete operation is in the Prepare or Commit phase, the cancel is rejected.
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:
- A backup operation is in progress.
- The backup name is known.
- An Ericsson Command-Line Interface (ECLI) session in Exec mode is in progress.
- The user has the System Administrator role.
2 Procedure
2.1 Cancel a User Data Backup
To cancel a backup:
- Navigate to the BrMBackupManager Managed Object (MO), for example:
>dn ManagedElement=<Node Name>,SystemFunctions=1,BrM=1,BrmBackupManager=USER_DATA
- Select the appropriate action:
- Cancel the create, delete, or import
operation:
(BrmBackupManager=USER_DATA)>cancelCurrentAction
The system returns output true or false.
- Verify that the operation was canceled:
(BrmBackupManager=USER_DATA)>show -v
- Note:
- It can be required to enter the command several times until result=SUCCESS is shown in the progress report.
- Proceed with Step 9.
- Navigate to the BrmBackup MO, for example:
(BrmBackupManager=USER_DATA)>BrmBackup=testBackup_20150617
- Cancel export operation:
(BrmBackup=testBackup_20150617)>cancelCurrentAction
The system returns output true or false.
- Verify that the operation was canceled:
(BrmBackup=testBackup_20150617)>show -v
- Note:
- It can be required to enter the command several times until state=CANCELLED is shown in the progress report.
- After an operation is successfully
canceled, the progress report shows the following when a create operation
has been canceled:
actionName="CREATE" additionalInfo "Cancel Current Action Request was invoked by the operator." "Backup Object [testBackup_20150617] was successfully deleted" "Create Backup for testBackup_20150617: Failed" progressInfo="" progressPercentage=50 result=FAILURE resultInfo="Backup cancelled successfully." state=CANCELLEDThe progress report shows the following when a delete operation has been canceled:
actionName="DELETE" <read-only> additionalInfo "Cancel Current Action Request was invoked by the ⇒ operator." [...] result=FAILURE <read-only> resultInfo="CANCEL_PHASE is completed" <read-only> state=CANCELLED <read-only>
The progress report shows the following when an import operation has been canceled:
actionName="IMPORT" <read-only> additionalInfo "Cancel Current Action Request was invoked by the ⇒ operator." [...] result=FAILURE <read-only> resultInfo="CANCEL_PHASE is completed" <read-only> state=CANCELLED <read-only>
The progress report shows the following when an export operation has been canceled:
actionName="EXPORT" <read-only> additionalInfo "CANCEL_PHASE is completed" [...] result=FAILURE <read-only> resultInfo="CANCEL_PHASE is completed" <read-only> state=CANCELLED <read-only>
If an error occurs during the execution of the action, attribute reportProgress shows result=FAILURE and resultInfo shows the cause of the failure.
For more information on the progress report, refer to View Progress Report.
2.2 Cancel a System Data Backup
To cancel a backup:
- Navigate to the BrMBackupManager Managed Object (MO), for example:
>dn ManagedElement=<Node Name>,SystemFunctions=1,BrM=1,BrmBackupManager=SYSTEM_DATA
- Select the appropriate action:
- Cancel the create, delete, or import
operation:
(BrmBackupManager=SYSTEM_DATA)>cancelCurrentAction
The system returns output true or false.
- Verify that the operation was canceled:
(BrmBackupManager=SYSTEM_DATA)>show -v
- Note:
- It can be required to enter the command several times until result=SUCCESS is shown in the progress report.
- Proceed with Step 9.
- Navigate to the BrmBackup MO, for example:
(BrmBackupManager=SYSTEM_DATA)>BrmBackup=testBackup_system_20160701
- Cancel export operation:
(BrmBackup=testBackup_system_20160701)>cancelCurrentAction
The system returns output true or false.
- Verify that the operation was canceled:
(BrmBackup=testBackup_system_20160701)>show -v
- Note:
- It can be required to enter the command several times until state=CANCELLED is shown in the progress report.
- After an operation is successfully
canceled, the progress report shows the following when a create operation
has been canceled:
actionName="CREATE" <read-only> additionalInfo <read-only> "Create Backup for testBackup_system_20160701_for_cancel: Initialized" "Cancel Current Action Request was invoked by the operator." "Backup Object [testBackup_system_20160701_for_cancel] was successfully deleted" "Create Backup for testBackup_system_20160701_for_cancel: Failed" progressInfo="" <read-only> progressPercentage=25 <read-only> result=FAILURE <read-only> resultInfo="Backup cancelled successfully." <read-only> state=CANCELLED <read-only>The progress report shows the following when a delete operation has been canceled:
actionName="DELETE" <read-only> additionalInfo <read-only> "Delete Backup for testBackup_system_20160701: Initialized" "Delete Backup for testBackup_system_20160701: Succeeded" progressInfo="" <read-only> progressPercentage=100 <read-only> result=SUCCESS <read-only> resultInfo="testBackup_system_20160701 was deleted successfully." <read-only> state=FINISHED <read-only>The progress report shows the following when an import operation has been canceled:
actionName="IMPORT" <read-only> additionalInfo <read-only> "Import Backup for : Initialized" "Cancel current action request was invoked By the operator, Cancelling Import Backup Request" "CANCEL_PHASE is completed" "Import Backup for : Failed" progressInfo="" <read-only> progressPercentage=40 <read-only> result=FAILURE <read-only> resultInfo="CANCEL_PHASE is completed" <read-only> state=CANCELLED <read-only>The progress report shows the following when an export operation has been canceled:
actionName="EXPORT" <read-only> additionalInfo <read-only> "Export Backup for testBackup_system_20160701: Initialized" "CANCEL_PHASE is completed" "Export Backup for testBackup_system_20160701: Failed" progressInfo="" <read-only> progressPercentage=50 <read-only> result=FAILURE <read-only> resultInfo="CANCEL_PHASE is completed" <read-only> state=CANCELLED <read-only>If an error occurs during the execution of the action, attribute reportProgress shows result=FAILURE and resultInfo shows the cause of the failure.
For more information on the progress report, refer to View Progress Report.

Contents