If you have used SnapManager to manage your SQL Server databases and you plan to reinstall SnapManager later, be sure to record the drive letter and path of the SnapInfo directory locations before you uninstall SnapManager.
Single SnapInfo directory If you have set up a single SnapInfo directory for all databases on this host, you can record the location of the storage that contains a single SnapInfo directory for all SQL Server instances and their associated databases.
Multiple SnapInfo directories If you have set up multiple SnapInfo directories, you can record the following information:
SnapManager Reports records the current SnapInfo directory locations in the most recent logs contained in the Backup folder and in the Config folder.
After you reinstall SnapManager, be sure to reconfigure SnapManager with the same SnapInfo directory locations that were used by SnapManager previously.
The software installation utility for SnapManager can be run in either interactive mode or unattended mode. These two modes are described in the following table.
Feature | SnapManager uninstallation mode | |
---|---|---|
Interactive | Unattended | |
Access |
Require user interaction and access to the user interface. You can also uninstall using the .exe file that you used to install the software. |
Allows automated uninstallation by executing a script or command line |
Tool used |
The Windows utility Add or Remove Programs (in Control Panel) |
The software installation utility for SnapManager for Microsoft SQL Server |
Options |
You can also remove the Report directory. |
To uninstall SnapManager for Microsoft SQL Server and all its components by using the Windows Add or Remove Programs utility, complete the following steps.
Step | Action | |
---|---|---|
1 | If SnapManager is running, close it. Note: You
do not need to stop SQL Server or remove the SQL Server databases
before you uninstall SnapManager. SQL Server
continues to run during the uninstallation process and after the
uninstallation completes.
|
|
2 | Use the Control Panel to uninstall SnapManager for Microsoft SQL Server. |
|
3 | At the prompt, click Yes to proceed with removing the SnapManager software. |
This topic describes how to uninstall SnapManager using the software installation utility in unattended mode. This enables you to uninstall SnapManager under the control of a script for an unattended uninstallation.
How to uninstall in unattended mode
Step | Action |
---|---|
1 | Access the command line of the target host system. |
2 | At the command line, enter the following command either directly at the command line or through a script: CommandName /v”REMOVE=ALL [REMOVEREPORTFOLDER=1] [/L* TempDirPath\LogFileName] /qb” |
The following table describes each of the parameters.
Command or parameter | Description |
---|---|
CommandName |
The location and name of the executable. |
REMOVE=ALL |
Causes the software installation utility to remove SnapManager (as if you selected the Remove option in the Program Maintenance screen). |
REMOVEREPORTFOLDER=1 |
(Optional) Causes the software installation utility to remove the Report folder (as if you selected the Remove Report Folder option in the Remove the Program screen). |
/L* TempDirPath\LogFileName |
(Optional) If you specify this option, detailed information about the installation is written to the specified log file. This information can be used to investigate details about how a particular instance of SnapManager for Microsoft SQL Server is installed. The asterisk (“*”) is a wildcard character specifying that all the installation information (such as status messages, nonfatal warnings, and error messages) should be logged. TempDirPath is the fully qualified name of the directory in which the installation log is created or overwritten. LogFileName is the name of the file to which the installation information is written. |
C:\NetApp\downloads\SMSQL7.0_x64.exe /s /v"REMOVE=ALL [REMOVEREPORTFOLDER=1] /qb”