Skip to main content

Delete restartable contexts

Contributors netapp-aherbin

If you want to start a backup instead of restarting a context, you can delete the context.

About this task

You can delete a restartable context using the vserver services ndmp restartable-backup delete command by providing the SVM name and the context ID.

Steps
  1. Delete a restartable context:

    vserver services ndmp restartable-backup delete -vserver vserver-name -context-id context_identifier.

    cluster::> vserver services ndmpd restartable-backup show
    Vserver     Context Identifier                   Is Cleanup Pending?
    ----------- ------------------------------------ -------------------
    vserver1    330e6739-0179-11e6-a299-005056bb4bc9 false
    vserver1    481025c1-0179-11e6-a299-005056bb4bc9 false
    vserver2    5cf10132-0179-11e6-a299-005056bb4bc9 false
    3 entries were displayed.
    
    cluster::>
    cluster::> vserver services ndmp restartable-backup delete -vserver vserver1 -context-id 481025c1-0179-11e6-a299-005056bb4bc9
    
    cluster::> vserver services ndmpd restartable-backup show
    Vserver     Context Identifier                   Is Cleanup Pending?
    ----------- ------------------------------------ -------------------
    vserver1    330e6739-0179-11e6-a299-005056bb4bc9 false
    vserver2    5cf10132-0179-11e6-a299-005056bb4bc9 false
    3 entries were displayed.
    
    cluster::>"