You can perform a restore operation from the command line. However, to perform a restore operation with additional options, go to the CommCell Console to perform the restore.
To perform a restore operation from the command line, you need an input XML file that contains the parameter values to configure the options for the restore operation. This input xml file can be obtained using one of the following ways:
- Download the input xml file template, and then save the file on the computer from where the restore will be performed.
Generate the input xml file from the CommCell Console by using the Save as Script option, and then save the file on the computer from where the restore will be performed.
Procedure
-
Download the restore_template.xml file and save it on the computer from where the command will be executed.
-
On the command line, go to software_installation_directory/Base and type the following command:
qoperation execute -af restore_template.xml -appName NDMP -clientName client_name -sourceItem 'source_item'Note: If the sourceItem parameter contains a directory path, verify the path is valid before you run the command.
Examples
|
Restoring Data to the original location |
qoperation execute -af restore_template.xml -appName NDMP -clientName client1 -sourceItem '/vol/vol1' |
|
Restoring Data to a point-in-time |
qoperation execute -af restore_template.xml -appName NDMP -clientName client1 -toTimeValue '2018-07-13 10:10:00' -sourceItem '/vol/vol1' |