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

Updated

Name

restore_list

Synopsis

restore_list

Description

Create a restore list so that you can restore a subset of the backed up data, for example a single directory.

You can add or remove content from the restore list.

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

Option

Description

add

Add content to the list. When you specify the list option in the restore command, the software restores the content that is in the list to the destination client.

list

Display the restore list content.

remove

Remove content from the restore list.

reset

Remove all of the content from the restore list.

Example

Add Content to a Restore List

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

cvc> restore_list

cvc> add /tmp

cvc add /usr/johndoe

Add Multiple Directories to a Restore List

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

cvc > restore_list

cvc> add /tmp

cvc> add /etc

cvc > list

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

Remove a Directory from a Restore List

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

cvc> restore_list

cvc> remove /tmp

cvc list

Restore list: ['/etc']