If a snapshot is renamed on the file server, use this command to update the database with the new snapshot name.
Before You Begin
Verify the following:
-
No jobs are running. If jobs are running, suspend them.
-
The OnCommand Unified Manager (OCUM) server displays the new volume names correctly.
-
For NFS configurations, the junction path used by the application is valid.
Procedure
-
Run a DR backup of the CommServe database.
-
On the command line of the CommServe computer, go to software_installation_directory/Base and type the following commands:
-
To allow the tool to modify the database, type the pre-run command:
SnapManagementTool.exe preRun -vm$[instance_name] -
To rename the snapshot in the CommServe database, type the following command:
SnapManagementTool snapRename -vm$[instance_name]-array$[array_name]-vol$[volume_name]-oldsnap$[old_snap]-newsnap$[new_snap]-jobid$[snap_job_id] [-svm$[vserver]]Example:
SnapManagementTool snapRename -vm$[Instance001]-array$[netapparray101]-vol$[src_PM1]-oldsnap$[SP_2_0_0]-newsnap$[SP_2_1_1]-jobid$[100] -
To remove the write permission from the tool, type the post-run command:
SnapManagementTool.exe postRun -vm$[instance_name]
-
where:
-
instance_name is the name of the Commvault instance (for example, instance00).
-
array_name is the name of the NetApp storage array, as entered in the Array Management dialog box.
-
volume_name is the name of the volume that stores the snapshots.
-
old_snap is the current name of the snapshot.
-
new_snap is the new name of the snapshot.
-
snap_job_id is the job ID of the snapshot backup operation.
-
vserver is the name of the virtual storage computer. This parameter is required for NetApp C-Mode only.