Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- erik-van-zijsts-mac-pro:bin ervzijst$ ./fisheyectl.sh restore -f /tmp/backup2.zip -j "jdbc:mysql://localhost:3306/test" -u root -d com.mysql.jdbc.Driver -i crucible -t mysql
- Listening for transport dt_socket at address: 5005
- Restoring crucible...
- log4j:WARN No appenders could be found for logger (fisheye.app).
- log4j:WARN Please initialize the log4j system properly.
- 1 rows written, 0 tables completed.
- 751 rows written, 0 tables completed.
- 2798 rows written, 0 tables completed.
- 5418 rows written, 5 tables completed.
- 8739 rows written, 5 tables completed.
- java.io.IOException: Error writing to the database: Duplicate entry 'mm011744' for key 2
- at com.atlassian.crucible.migration.item.CrucibleDBBackup.restore(CrucibleDBBackup.java:153)
- at com.cenqua.fisheye.ctl.Restore.run(Restore.java:86)
- at com.cenqua.fisheye.ctl.Restore.main(Restore.java:102)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:585)
- at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:107)
- at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:40)
- Caused by: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry 'mm011744' for key 2
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1011)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3515)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3447)
- at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)
- at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
- at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2554)
- at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1761)
- at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2046)
- at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1964)
- at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1949)
- at com.atlassian.crucible.migration.item.DBImporter$InserterBuilder$1.execute(DBImporter.java:197)
- at com.atlassian.crucible.migration.item.DBImporter.importTable(DBImporter.java:138)
- at com.atlassian.crucible.migration.item.DBImporter.importData(DBImporter.java:98)
- at com.atlassian.crucible.migration.item.CrucibleDBBackup.restore(CrucibleDBBackup.java:120)
- ... 8 more
- erik-van-zijsts-mac-pro:bin ervzijst$
Add Comment
Please, Sign In to add comment