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

Updated

Name

setBrowseOptions

Synopsis

setBrowseOptions [-c CLIENTNAME] [-i INSTANCENAME] [-bk BACKUPSETNAME] [-sc SUBCLIENTNAME] ] [-ftime FROMTIME] [-ttime TOTIME]

Description

Set the browse options so that you can browse the backed up data to find a particular backup that you want to restore.

If you want to perform a point-in-time browse, then you must use one of the following options:

  • The from time

  • The to time

  • The from and to time

The table lists the options that the software supports.

Note: If you do not specify the backup set and the subclient, then the software performs the browse operation on the default backup set.

Option

Description

-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.

-ftime

The from time that you specify for a point-in-time browse operations. The format is yyyy-mm-dd hh:mm:ss.

-ttime

The to time that you specify for a point-in-time browse operations. The format is yyyy-mm-dd hh:mm:ss.

Examples

Change to the Directory That Contains the Data

Set the brose options for the client1 client and the default backup set and subclient. In this example, the parameters are listed on the command line.

cvc > setBrowseOptions -c client1 -i Instance001 -bk defaultBackupSet -sc default

{'Instance': 'Instance001', 'Client': 'client1', 'Backupset': 'defaultBackupSet', 'Subclient': 'default', 'FromTime': 0, 'ToTime': 0}