# Commvault End-User Command Line (cvc) Interface Example: subclient_delete

## Name

subclient_delete

## Synopsis

subclient_delete [-c CLIENTNAME] [-i INSTANCENAME][-bk BACKUPSETNAME] -[sc SUBCLIENT]

## Description

Delete a subclient.

The table lists the options that the software supports.

Note

You must use either the -d option, or the -f option when you modify a subclient.

The localadmin user cannot delete a subclient.

Option | Description
--- | ---
-c | The CommCell Console client name. The software uses the information that is in the computer registry when you do not specify this option.
-i | The CommCell Console instance name.
-bk | The CommCell Console backup set name. The software uses the DefaultBackupSet when you do not specify this option.
-sc | The CommCell Console subclient name. The software uses the default subclient when you do not specify this option.

## Example

### Delete a Subclient

The following command deletes a subclient that is part of the default backup set. In this example, the parameters are listed on the command line.

    cvc> subclient_update -c example_client -bk example_backup_set -sc example_subclient
    Subclient with same name exist in this backupset.
    Lets delete this subclient
    Subclient deletion Completed

### Delete a Subclient That Is in the Default Backup Set

The following command deletes a subclient that is part of the default backup set. In this example, the parameters are listed on the command line.

    cvc> subclient_update -cc example_client -sc data_subclient
    Subclient with same name exist in this backupset.
    Lets delete this subclient
    Subclient deletion Completed

×

Loading...