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

Updated

Name

subclient_update

Synopsis

subclient_update [-c CLIENTNAME] [-i INSTANCENAME] [-bk BACKUPSETNAME] -sc SUBCLIENT (-d [DIRPATH [DIRPATH ...]] | -f DIRECTIVEFILE) [-ep EXCLUDEPATHS] [-overwrite {True,False}]

Description

Modify the subclient content.

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 update 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 DefaultBackupSet and the default subclient when you do not specify this option.

-d

The folders to include in backup operations.

-f

The path to a text file on the local host that contains a list of directories to include in backup operations.

-ep

The entries to exclude from backup operations.

-overwrite

Valid values are true and false.

If you set this value to true, then the software removes the current content and replaces it with the content that you specify on the command line.

If you set this value to false, then the software leaves the current content and adds the content that you specify on the command line to the subclient content.

Example

Modify the Subclient Content

The following command modifies the subclient content. In this example, the parameters are listed on the command line.

cvc> subclient_update -c example_client -bk example_backup_set -sc data_subclient -d /emc/vmc -ep /lp/mp -overwrite False

Subclient with same name exist in this backupset.

Lets update the subclient based on overwrite option

Updating content

Updating filters

Subclient Content Addition Completed