Migration from Windows to Linux Server

Migration from Windows to Linux Server

The following instructions will help you migrate the ServiceDesk Plus MSP from Windows to Linux Server

1. Take a trimmed backup using the commands below,

cmd> cd [ServiceDesk msp-Home]\bin
cmd> backupdata.bat --trimmed

The backup will now be created under [ServiceDesk msp-Home]. Copy the following folders and replace them in the same location as another server.

Please ensure that you are moving the below-given files,

(i). FileAttachments, Inline Images, Custom, Archives from the [ServiceDesk-msp-Home]\ManageEngine\ServiceDesk-msp location.

(ii). sdparchive_dynamic.xml, SnmpConfgurations.xml files under [ServiceDesk-msp-Home]\ManageEngine\ServiceDesk-msp\server\default\conf. 

(iii). LuceneIndex, zreports, app_relationships, scannedXML, exportimport folders under [ServiceDesk-msp-Home]\ManageEngine\ServiceDesk-msp. 


2. To restore the backed up data, Go to [ServiceDeskPlus-msp-Home]\bin directory and execute sh restoredata.sh, Choose the backup file while prompted.
NOTE: Restart the ServiceDesk-MSP service once before restore.

3. Start the ServiceDesk service once after restoring the data in the new server.

4. Connect to the database and execute the query below.

For MSSQL use the below query:

update sdeskattachment set ATTACHMENTPATH = replace(ATTACHMENTPATH, '\\', '/');

For PGSQL Database use this query:

update sdeskattachment set attachmentpath=replace (attachmentpath,'\','/') ; 


                  New to ADSelfService Plus?

                    • Related Articles

                    • Linux to Windows server migration

                      The following instructions will help you migrate the ServiceDesk Plus MSP from Windows to Linux Server 1. Goto the installation folder. [The default installation folder is Drive:/AdventNet/ME/ServiceDesk/. The installation folder will now be referred ...
                    • Migration of ServiceDesk Plus from Windows to Linux Server

                      The following instructions will help you migrate the ServiceDesk Plus from Windows to Linux Server 1. Take a trimmed backup using the commands below, cmd> cd [ServiceDesk-Home]\bin cmd> backupdata.bat --trimmed The backup will now be created under ...
                    • Syntax for SDP MSP migration to Linux

                      While migrating to different database you can use backupdataold.bat. Here backup will be in .data format and this can be restored in across DB platform. Note: Backup from taken from a particular build can be restored only on the same build. Example: ...
                    • Linux to windows migration

                      Please follow the steps to migrate the application from Linux to Windows 1. Stop the application. 2. Take a full backup by referring the below link,  ...
                    • Migration failure for Postgres Database with a blank space in it

                      Trace : \ManageEngine\ServiceDesk\Patch\AdventNet_ManageEngine_ServiceDesk_Plus-14.2.0-SP-1.0.0\SERVICEDESK\PreInstall\pg_migrate\pgsql_old\bin\pg_dumpall.exe", -U, postgres, -p, 65433, -h, 127.0.0.1, -r, -w, |, ...