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.
Start the ServiceDesk service once after restoring the data in the new server.
For MSSQL use the below query:
update sdeskattachment set ATTACHMENTPATH = replace(ATTACHMENTPATH, '\\', '/');
For PGSQL Database use this query:
update sdeskattachment set attachmentpath=replace (attachmentpath,'\','/') ;