Table of ContentsView in Frames

Uninstalling SnapManager

Before you uninstall SnapManager

Note: Unless it is specified for a particular upgrade path or for a particular troubleshooting situation, you do not need to uninstall SnapManager before reinstalling it or upgrading to a newer version.

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.

Attention: If you configure SnapManager with different SnapInfo directory locations than used previously, then SnapManager no longer has records of any backups taken before the reinstallation of SnapManager occurred. As a result, your prior backup sets could be invalidated or deleted the next time you perform a backup operation.

Comparison of the two uninstallation modes

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.

Uninstalling SnapManager in interactive mode

To uninstall SnapManager for Microsoft SQL Server and all its components by using the Windows Add or Remove Programs utility, complete the following steps.

Note: You can also uninstall SnapManager in unattended mode.
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.

Note: In a cluster configuration, be sure to uninstall SnapManager from all nodes of the cluster.

Uninstalling SnapManager in unattended mode

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”

Note: In a cluster configuration, be sure to uninstall SnapManager from all nodes of the cluster.

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.

Example

C:\NetApp\downloads\SMSQL7.0_x64.exe /s /v"REMOVE=ALL [REMOVEREPORTFOLDER=1] /qb”