Cancel Backup and Restore Operation

Contents


1   Description

This instruction describes how to cancel a backup and restore operation.

2   Procedure

2.1   Cancel Backup and Restore Operation

Prerequisites

Steps

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

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

  2. Select the appropriate action:
    • Cancel a create operation, delete operation, or import operation: Proceed with Step 3.
    • Cancel a restore or export operation: Process with Step 6.
  3. Cancel the create operation, delete operation, 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=PERF_BACKUP_NAME1_20140428_175907

  7. Cancel the restore or export operation:

    (BrmBackup=PERF_BACKUP_NAME1_20140428_175907)>cancelCurrentAction

    The system returns output true or false.

  8. Verify that the operation was canceled:

    (BrmBackup=PERF_BACKUP_NAME1_20140428_175907)>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
       "Cancel Current Action Request was invoked by the ⇒
    operator."
    [...]
       result=FAILURE <read-only>
       resultInfo="Backup Object [PERF_BACKUP_NAME1_⇒
    20140428_175907] was successfully deleted" <read-only>
       state=CANCELLED <read-only>

    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 a restore operation has been canceled:

    actionName="RESTORE" <read-only>
    additionalInfo
       "CANCEL_PHASE is completed"
    [...]
       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.