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


create subclient


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


Create 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 files.


The 16-character encryption key.


Read token from a file.


Displays help.


Create a Subclient That Has Content and Filters

The following command creates a subclient that has content and filters for the backup operation. In this example, the parameters are listed on the command line.

python3 cvc.py subclient -create -c example_client -sc ‘MySubclient’ -path "/QSYS.LIB/APP1.LIB" –path “/QSYS.LIB/APP2.LIB” –excludepath “/QSYS.LIB/APP2.LIB/OUTQ1.OUTQ” -dsp “MyStoragePcy” -tf objfile

The software creates the subclient with the following contents:


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