To upgrade the MSSQL Database Protector:
Drop the existing UDFs.
Uninstall the existing version of the protector.
Install the new version of the protector.
Start the RPAgent.
Create the new user-defined functions.
This is the multi-page printable view of this section. Click here to print.
To upgrade the MSSQL Database Protector:
Drop the existing UDFs.
Uninstall the existing version of the protector.
Install the new version of the protector.
Start the RPAgent.
Create the new user-defined functions.
Before proceeding with an upgrade, stop the required services and create a backup of all the configuration files.
To prepare the system for an upgrade:
Log in to the database server as a user with the required permissions.
In the Windows search box, type Run
Press ENTER.
The Run dialog box appears.
Type services.msc.
Press ENTER.
The Services window appears.
To stop the RPAgent, right-click the Resilient Package Agent service and select Stop.
To stop the Log Forwarder, right-click the Logforwarder service and select Stop.
Note: To preserve the current configuration, copy the
config.inifile to the required location. Theconfig.inifile is available in theC:\Program Files\Protegrity\Database Protector\sqlserver\datadirectory.
After stopping the services and creating a backup of the configuration files, drop the existing user defined functions.
To delete the UDFs:
Log in to the database server as the user that has the permissions.
Navigate to the C:\Program Files\Protegrity\Database Protector\sqlserver\sqlscripts folder.
Execute the DropObjects.sql file.
Create a backup of the Database Protector directory.
Note: Starting with version 7.2.0, for first‑time ESA installations, initialize Policy Management before installing the protector. For more information about initializing the Policy Management, refer to the section Initializing the Policy Management.
To upgrade the Database Protector, install the newer version of the Database protector. For more information, refer Installing the MSSQL Database Protector.
After the upgrade, recreate the required UDFs to restore the Database Protector functionality.
To re-create the UDFs:
Log in to the database server as the user that has the permissions.
Navigate to the C:\Program Files\Protegrity\Database Protector\sqlserver\sqlscripts directory.
To register the assembly, execute the CreateAssembly.sql script.
To create the UDFs, execute the CreateFunctions.sql script.
After the upgrade, restart the required services and deploy policies to restore Database Protector operations.
To restart the RPAgent service:
In the Windows search box, type Run.
Press ENTER.
The Run dialog box appears.
Type services.msc.
Press ENTER.
The Services window appears.
To restart the RPAgent service, right-click Resilient Package Agent service and select Restart.
To restart SQL Server, right-click on the SQL Server service and select Restart.
Deploy the policies from the ESA to the Database Protector.