Cancel Backup Operation

Contents

1Introduction
1.1Prerequisites

2

Procedure
2.1Cancel a User Data Backup
2.2Cancel 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:

2   Procedure

2.1   Cancel a User Data Backup

To cancel a backup:

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

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

  2. Select the appropriate action:
    • Cancel a create, delete, or import operation: Proceed with Step 3.
    • Cancel export operation: Process with Step 6.
  3. Cancel the create, delete, or import operation:

    (BrmBackupManager=USER_DATA)>cancelCurrentAction

    The system returns output true or false.

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

  5. Proceed with Step 9.
  6. Navigate to the BrmBackup MO, for example:

    (BrmBackupManager=USER_DATA)>BrmBackup=testBackup_20150617

  7. Cancel export operation:

    (BrmBackup=testBackup_20150617)>cancelCurrentAction

    The system returns output true or false.

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

  9. 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=CANCELLED
    

    The 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:

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

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

  2. Select the appropriate action:
    • Cancel a create, delete, or import operation: Proceed with Step 3.
    • Cancel export operation: Process with Step 6.
  3. Cancel the create, delete, or import operation:

    (BrmBackupManager=SYSTEM_DATA)>cancelCurrentAction

    The system returns output true or false.

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

  5. Proceed with Step 9.
  6. Navigate to the BrmBackup MO, for example:

    (BrmBackupManager=SYSTEM_DATA)>BrmBackup=testBackup_system_20160701

  7. Cancel export operation:

    (BrmBackup=testBackup_system_20160701)>cancelCurrentAction

    The system returns output true or false.

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

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



Copyright

© Ericsson AB 2017, 2018. 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.

    Cancel Backup Operation