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,'\','/') ;