In this article I will cover migrating ServiceDesk Plus from Linux to Windows.
1) Stopping the Application and Taking Backup in Linux
- Via terminal, go to the directory where the application is installed.
- Run the following commands one by one with “sudo”:
```
sudo ./shutdown.sh
sudo ./stopDB.sh
```
- After the application and database are stopped, to start the backup process:
```
sudo ./backupData.sh
```
- This command ensures that the application is stopped successfully and the backup process starts.
2) Checking the Completion of the Backup Process
- After the backup process is completed, you can observe the start and end date/time of the file creation via the terminal.
### 3) Accessing the Backup File
- To find the backup file, go to the `BackUp` folder in the directory where ServiceDesk Plus is installed.
- Check the date of the backup file created here to determine the correct file.
- **Note:** Copy this backup file to the Windows server to which you will migrate. For the restore process to be successful, the backup version and the version to be restored must be the same.
4) Starting the Restore Process on Windows Server
- On the Windows side, go to the directory where ServiceDesk Plus is installed:
```
..\ManageEngine\ServiceDesk\bin
```
- Open CMD as administrator and run the following command:
```
restoreData.bat
```
5) Specifying the Backup File Path
- Click on the "Browse" option on the screen that opens after the command is run.
- Go to the file path where the backup file you transferred from the Linux system to Windows is located.
6) Select Backup File
- After finding the file path, select the backup file and click the “Open” button.
7) Enter Password
- After selecting the backup file, enter the default password **“SDP123!”** on the screen that opens and click “Confirm”.
8) Version Control Information
- If a warning about version control of the backup file appears, select the "Yes" option.
9) Wait for the Backup Process to Complete
- After a while, you will receive notification that the backup process has been completed successfully.
- You can close the CMD window by saying “Close”.
10) Starting the Service and Accessing the Interface
- Run the ServiceDesk Plus service to start the product (check the wrapper file).
- Log in to access the interface.
11) Post-Backup Check
- After logging into the interface, check the tickets you have previously created.
By following the above steps, you have successfully restored the backup taken from the Linux environment to the Windows server.