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

Updated

Name

backup_list

Synopsis

backup_list

Description

Create a backup list so that you can perform adhoc backup operations for a client, backup set, or subclient.

You can add or remove content from the backup list.

If you need to create a new backup list, then use the reset option.

Option

Description

add

Add content to the list. When you specify the list option in the backup command, the software includes the content that is in the list in the backup.

Separate each entry by a comma (,) to add multiple folders, directories, or files.

list

List the backup list content.

remove

Remove content from the backup list.

Separate each entry by a comma (,) to remove multiple folders, directories, or files.

reset

Remove all of the content from the backup list.

Example

Add Content to a Backup List

Add directories to a backup list. In this example, the parameters are listed on the command line.

cvc> backup_list

cvc> add /tmp

cvc add /usr/johndoe

Add Multiple Directories to a Backup List

Add directories to a backup list, and then display the backup list content. In this example, the parameters are listed on the command line.

cvc> backup_list

cvc > add /tmp,/etc

cvc > list

Backup list: ['/tmp,/etc']

Remove a Directory from a Backup List

Remove a directory from a backup list, and then display the backup list content. In this example, the parameters are listed on the command line.

cvc> backup_list

cvc> remove /tmp

cvc list

Backup list: ['/etc']