Commvault End-User Command Line (cvc) Interface Example: restore_list
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. Separate each entry by a comma (,) to add multiple folders, directories, or files. |
list |
Display the restore list content. |
remove |
Remove content from the restore list. Separate each entry by a comma (,) to remove multiple folders, directories, or files. |
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,/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']
Last modified: 10/29/2018 6:17:15 PM