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 [ServiceDesk-Home]. Copy the following folders and replace it in the same location of the another server.
Please ensure that you are moving the below-given files,
(i). FileAttachments, Inline Images, Custom, Archives from the [ServiceDesk-Home]\ManageEngine\ServiceDesk location.
(ii). sdparchive_dynamic.xml, SnmpConfgurations.xml files under [ServiceDesk-Home]\ManageEngine\ServiceDesk\server\default\conf.
(iii). LuceneIndex, zreports, app_relationships, scannedXML, exportimport folders under [ServiceDesk-Home]\ManageEngine\ServiceDesk.
2. To restore the backed up data, Go to [ServiceDeskPlus-Home]\bin directory and execute sh restoredata.sh, Choose the backup file while prompted.
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,'\','/') ;