Loading...

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

Name

create subclient

Synopsis

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]

Description

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

-k

The 16-character encryption key.

-tf

Read token from a file.

-h,--help

Displays help.

Example

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:

[‘/QSYS.LIB/APP1.LIB’ ‘/QSYS.LIB/APP2.LIB’]

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