How do I convert the database from PGSQL to MSSQL?

How do I convert the database from PGSQL to MSSQL?

1. . Stop ManageEngine ServiceDeskPlus – MSP service.
2. Take a backup of the existing data and configuration under PGSQL database by following the below steps

Open CMD as an admin and execute  command to start the data backup.

\ManageEngine\ServiceDeskPlus-MSP\bin>backUpData.bat
This backup will be stored under \ManageEngine\ServiceDeskPlus-MSP\backup.

3. Open database setup wizard using the below command,

\ManageEngine\ServiceDeskPlus-MSP\bin>Changedbserver.bat

4. Provide the details of the SQL server (i.e.) Host name, username and password and click Test, By doing this, we will be able to check the connectivity with the SQL server. The message should say connection established. Then click Save.
5. Start and stop the ServiceDeskPlus – MSP service once.

NOTE: A database called ServiceDesk would be created in the SQL server.

6. Now open the restore process wizard using below command,

\ManageEngine\ServiceDeskPlus-MSP\bin>restoreData.bat​
The data should now be restored under your MSSQL server instance. Follow the on screen instructions to restore the latest backup data performed in step 2.

7. Start ManageEngine ServiceDeskPlus – MSP service once the restore process is complete.

          • Related Articles

          • How do I convert the database from MSSQL to PGSQL ?

            Kindly plan to perform this process ONLY during Non Operational hours. You can do this process in the same server that you have SDP MSP installed. Step 1:  Stop the application and Take a backup of the existing data in the application. Navigate to ...
          • Error While connecting default Postgres Database

            If you are getting the below error while connecting the postgresDB , please follow the steps below : Error : psql: FATAL: no pg_hba.conf entry for host “::1”, user “postgres”, database “servicedesk”,SSL off     Please open pg_hba.conf under ...
          • How to Connect to SDP MSP Database ?

            1. In-Built POSTGRES (PGSQL) : Open a CMD prompt as an administrator and navigate to ManageEngine\ServiceDeskPlus-MSP\pgsql\bin and run the below command                                     From SDP MSP version 10.6 , please use the below method.     ...
          • Connect to default PGSQL database remotely

            1. To be able to reach the server remotely you have to add the following line into the file: ManageEngine/ServiceDeskPlus-MSP/pgsql/data/postgresql.conf:   listen_addresses = '*'   2. PostgreSQL, by default, refuses all connections it receives from ...
          • Steps to take PGSQL Dump Backup and Restore

            PGSQL – DUMP – Backup Procedure : Login to the MSP application server and perform the below steps, 1. Start the application To take Postgres (Psql) Dump : 3. Open a command prompt and navigate into <ServiceDeskPlus-MSP>/pgsql/bin directory. 4.  ...