Loading...

Perform an Adhoc Backup Using the Commvault End-User Command Line (cvc) Interface

Use the Commvault cvc interface to perform an adhoc backup of a subclient.

Use a Backup List

Log on to CommServe Computer

Log on to the CommServe computer.

cvc> login
Proceeding with Local Commvault Detection
WebConsole HostName : test.example.com
Login Successful

Create a Subclient

Create your initial subclient.

cvc> ./add_subclient -c example_client -bk example_backup_set -sc data_subclient -d '/tmp/data1' '/tmp/data2' -dsp data_storage_policy
Subclient Creation Completed

Create a Backup List

Create a backup list that contains the content that you want to include in the backup.

cvc> backup_list
cvc > add /example_demo_directory,/usr/johndoe/test_files
cvc > list
Backup list: ['/example_demo_directory,/usr/johndoe/test_files']

Perform a Backup Operation

Perform a backup operation on the subclient. Specify the backup list in the command.

cvc> backup -c example_client -list

Default Subclient Backup of Specific Directories

Log on to CommServe Computer

Log on to the CommServe computer.

cvc> login
Proceeding with Local Commvault Detection
WebConsole HostName : test.example.com
Login Successful

Perform a Backup Operation

Perform a backup operation. You can specify the path by using the -path option or the -df option,

When you do not specify the client, backup set, and subclient, the software uses the information that is in the computer registry for the client and performs the operation on the DefaultBackupSet and default subclient.

Example of the -path option.

cvc> backup -path /example_demo_directory

Example of the -df option.

cvc> backup -df /example_demo_directory

Last modified: 6/10/2018 8:21:43 PM