Loading...

Commvault End-User Command Line (cvc) Interface Example: backup

Name

backup

Synopsis

backup [-l {full,incremental,synthetic_full,differential}] [-c CLIENTNAME] [-i INSTANCENAME] [-bk BACKUPSETNAME] [-sc SUBCLIENTNAME | -scid SUBCLIENTID] [-path CONTENTPATH [CONTENTPATH ...] | -df DIRECTIVEFILEPATH | -list] [path]

Description

Perform a backup operation on a client.

The table lists the options that the software supports.

Note: If you only specify the client, then the software performs a full backup on the default subclient that is part of the default backup set.

Option

Description

-l

The backup type. Valid values are:

full - For information on full backups, see Full Backups.

incremental - For information on incremental backups, see Incremental Backups.

differential - For information on differential backups, see Differential Backups.

-c

The CommCell Console client name.

The software uses the information that is in the computer registry when you do not specify this option.

-i

The CommCell Console instance name.

-bk

The CommCell Console backup set name.

The software uses the DefaultBackupSet when you do not specify this option.

-sc

The CommCell Console subclient name.

The software uses the DefaultBackupSet and the default subclient when you do not specify this option.

-scid

The CommCell Console subclient id.

-path

The path to the data that you want to back up. Use this option when you want to perform an adhoc backup operation.

-df

The path to a text file on the local host that contains a list of directories to include in backup operations.

-list

Use this option when you created the content to back up by using the backup_list command.

Example

Perform a Full Backup Operation on the Default Subclient

The following command performs a full backup on the default subclient that is part of the default backup set. In this example, the parameters are listed on the command line.

cvc> backup -c example_client
<?xml version="1.0" ?>
<Task>
  <JobId>1205693</JobId>
</Task>
Backup Initiated Successfully :1205693

Perform an Incremental Backup Operation on a Specific Subclient

The following command performs an incremental backup of the test subclient that is part of the test backup set. In this example, the parameters are listed on the command line.

cvc> backup -c example_client -bk test -sc test -l incremental
<?xml version="1.0" ?>
<Task>
  <JobId>1205695</JobId>
</Task>
Backup Initiated Successfully :1205695

Last modified: 10/29/2018 6:06:28 PM