Name
update subclient
Synopsis
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]
Description
Update a subclient.
The table lists the options that the software supports.
|
Option |
Description |
|---|---|
|
-c |
The CommCell Console client name. This option is mandatory. |
|
-a |
The Commvault agent name. |
|
-i |
The instance name. |
|
-bk |
The CommCell Console backup set name. |
|
-sc |
The CommCell Console subclient name. This option is mandatory. |
|
-path |
The path to the directories to include in backup operations. |
|
-excludepath |
The entries to exclude from backup operations. |
|
-dsp |
The data backup storage policy. This option is mandatory. |
|
-overwrite {True,False} |
Option to overwrite an existing subclient. |
|
-k |
The 16-character encryption key. |
|
-tf |
Read token from a file. |
|
-h,--help |
Displays help. |
Example
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