Unable to restore DB in build 8107

Unable to restore DB in build 8107

Hello,
We are preparing to migrate our ServiceDesk from a Windows 2003 server to a Windows 2008 R2. We already installed the same version on the new server, 8.1.0 Build 8107 however the database restore is failing with the error below. We are using a full db backup file which includes attachments.
After it came back to the \bin> prompt the application is unable to start basically forcing us to reinstall. Any help will be appreciated.
Please wait ! Deleting table data in Progress..
0-----------------------50------------------------100(%)
===================================================
Error Tables : wordmap,wordoccurrences
0-----------------------50------------------------100(%)




Please wait ! Restoring in Progress...................
Error Tables : wordmap,wordoccurrences
0-----------------------50------------------------100(%)
==============================QUERY = INSERT INTO softwaremanufacturer (SWMANUFA
CTURERID,NAME,CREATEDBY,SUPPORTDEFLICENSETYPES,DESCRIPTION) VALUES(377, N'YouSen
dIt', NULL, 1, N'No Description');





java.sql.BatchUpdateException: null, message from server: "Duplicate entry 'Software
Technologies Inc\Software Tech' for key 'SoftwareManufacturer_UK1'"
at com.mysql.jdbc.Statement.executeBatch(Statement.java:1057)
at com.adventnet.servicedesk.tools.RestoreSDBackup.restoreTableData(Rest
oreSDBackup.java:638)
at com.adventnet.servicedesk.tools.RestoreSDBackup.restoreDatabase(Resto
reSDBackup.java:278)
at com.adventnet.servicedesk.tools.RestoreSDBackup.main(RestoreSDBackup.
java:131)
at com.adventnet.servicedesk.tools.RestoreDialog$5.run(RestoreDialog.jav
a:186)
at java.lang.Thread.run(Unknown Source)
Unable to restore database : null, message from server: "Duplicate entry 'Software
Technologies Inc\Software Tech' for key 'SoftwareManufacturer_UK1'"
null, message from server: "Duplicate entry 'Software
Technologies Inc\Software Tech' for key 'SoftwareManufacturer_UK1'"














Jul 15, 2012 10:37:53 AM com.adventnet.updatemgr.util.ConfUtils stopDB
INFO: dbadapter :: [com.adventnet.db.adapter.mysql.MysqlDBAdapter@113981b], star
tDBServer :: [true], dbProp :: {Password=null, ConnectionProperties=useUnicode=t
rue
characterEncoding=UTF-8
, TransactionIsolation=TRANSACTION_READ_COMMITTED, DriverClass=org.gjt.mm.mysql.
Driver, UserName=root, ConnectionURL=jdbc:mysql://localhost:33366/servicedesk}
Jul 15, 2012 10:37:53 AM com.adventnet.db.adapter.mysql.MysqlDBAdapter shutDownD
B
INFO: connectionURL :: [jdbc:mysql://localhost:33366/servicedesk], userName :: [
root], password :: [null]
Jul 15, 2012 10:37:53 AM com.adventnet.db.adapter.mysql.MysqlDBAdapter shutDownD
B
INFO: Stopping MySQL Server ...
Jul 15, 2012 10:37:53 AM com.adventnet.db.adapter.DBInitializer stopDBServer
INFO: Command to stop DB server [cmd, /c, .\bin\stopDB.bat, 33366, root]
Jul 15, 2012 10:37:53 AM com.adventnet.updatemgr.util.ConfUtils stopDB
INFO: waitAfterDBStop :: val :: [5]
Jul 15, 2012 10:37:53 AM com.adventnet.updatemgr.util.ConfUtils stopDB
INFO: Thread is going to sleep for [5] seconds
Jul 15, 2012 10:37:58 AM com.adventnet.updatemgr.util.ConfUtils stopDB
INFO: Coming out of stopDB




















                  New to ADSelfService Plus?