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.
-
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 -vminstance_name -
To rename the snapshot in the CommServe database, type the following command:
SnapManagementTool snapRename -vminstance_name-arrayarray_name-volvolume_name-oldsnapold_snap-newsnapnew_snap-jobidsnap_job_id [-svmvserver]Example:
SnapManagementTool snapRename -vmInstance001-arraynetapparray101-volsrc_PM1-oldsnapSP_2_0_0-newsnapSP_2_1_1-jobid100 -
To remove the write permission from the tool, type the post-run command:
SnapManagementTool.exe postRun -vminstance_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 Arrays page.
-
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.