Commvault End-User Non-Interactive Command Line Operations for IBM i File System Example: update subclient


update subclient


subclient [-h] -update -c CLIENTNAME [-a AGENTNAME] [-bk BACKUPSETNAME] -sc SUBCLIENTNAME [-path PATH] [-excludepath EXCLUDE_PATH] [-dsp DSP] [-overwrite {True,False}] [-i INSTANCENAME] [-k KEY] [-tf TOKENFILEPATH]


Update a subclient.

The table lists the options that the software supports.




The CommCell Console client name. This option is mandatory.


The Commvault agent name.


The instance name.


The CommCell Console backup set name.


The CommCell Console subclient name. This option is mandatory.


The path to the directories to include in backup operations.


The entries to exclude from backup operations.


The data backup storage policy. This option is mandatory.

-overwrite {True,False}

Option to overwrite an existing subclient.


The 16-character encryption key.


Read token from a file.


Displays help.


Update an Existing Subclient With Different Content

The following command updates an existing subclient with different content for the backup operation. In this example, the parameters are listed on the command line.

python3 cvc.py subclient -update -c example_client -sc ‘MySubclient’ -path "/QSYS.LIB/APP3.LIB" -excludepath "/QSYS.LIB/APP3.LIB/PF1.FILE" -tf objfile –overwrite True

Last modified: 11/14/2018 11:37:22 AM