Syntax for SDP MSP migration to Linux

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: Backup from 10600 build can only be restored on 10600 build. 

Use the below syntax to restore backup of SDP MSP from windows to Linux

sh  restoredata.sh -c <backup file path> --dbmigration

Note:
If in case if it fails again even after executing the above command. stating invalid file extension (we face this under some Linux versions)

Kindly add below line as shown below 'echo "Total Number of Parameters : $#"' in restoreData.sh file. (Refer the pic)

dbmigration="yes"




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


 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 ADManager Plus?

                    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 ...
                      • Linux console commands

                        Linux console commands *. To Install from console mode : - Download bin - Execute the command to make the bin executable - chmod 755 ManageEngine_ServiceDeskPlus_MSP_64bit.bin ( Color of the bin will get changed to green I.e Executable mode ) - ...
                      • 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 ...
                      • Steps to migrate ServiceDeskPlus – MSP from One Linux server to another Linux server.

                        Following are the steps to move ServiceDeskPlus – MSP from One Linux server to another Linux server. Steps to take data backup in Linux machine is given below, 1.Go to the installation folder. [The default installation folder is ...
                      • How to migrate data from SDP to SDP MSP.

                        Below are the only details which can be exported from SDP and imported to SDP MSP application. 1) You can export request data from ServiceDesk Plus (SDP) using XLS format. Requests -> Goto Admin -> Reports -> New custom report -> Tabular reports -> ...