Downloads (PDF, HTML & XML formats)
[FishEye Knowledge Base]
Documentation for FishEye 2.10.x. Documentation for other versions is available too. 
![]()
To migrate FishEye/Crucible to an SQL Server database, install SQL Server and follow the steps below. When they are used together, FishEye and Crucible share the same external database.
Check that you are using version of SQL Server that is supported for use with FishEye. See Supported platforms.
See the SQL Server Online resources (MSDN) for instructions on how to install and create an SQL Server database.
Please note the following FishEye/Crucible-specific information when installing and creating an SQL Server database:
Latin1_General_CS_AS collation set.Your database should be configured to use snapshot mode for the transaction isolation level. To enable snapshot mode, run:
ALTER DATABASE crucible SET READ_COMMITTED_SNAPSHOT ON;
See this and this Microsoft MSDN articles for more information.
Note that it is preferable to run the above command after stopping FishEye/Crucible (and with no other applications connected to the SQL Server database), especially if you find that the alter statement does not complete quickly.
In order to migrate to a different database backend, you must create a backup of your SQL data, configure the database and finally import the data via a backup restoration process. This can be done from either the Crucible administration console, which streamlines the process, or via the command line tool which Crucible provides. These two methods are described below. The following resources may be of interest:
Before you begin:
.jar file in the classpath (by placing the .jar file in FISHEYE_INST/lib).To configure FishEye/Crucible to use SQL Server and migrate data using the administration console:
Please ensure that you use a SQL Server user account to log into your database, not a Windows user account.
Screenshots: Configuring FishEye/Crucible to use SQL Server and migrating data (click to view full-size images)
|
|
|
|
2. Migrating Data
|
1. Configuring the Database
|
To configure FishEye/Crucible to use SQL Server and migrate data using the command line:
sql data from the FishEye/Crucible instance. Information on how to create a backup can be found at Backing up and restoring FishEye data \ Backing up and restoring Crucible dataRun the following command from the bin directory in FISHEYE_INST:
$ ./fisheyectl.sh restore --sql \
--file /path/to/backup.zip \
--dbtype sqlserver2008 \
--jdbcurl "jdbc:jtds:sqlserver://hostname:port;databaseName=dbName;" \
--username crucible \
--password password
4 Comments
Anonymous
Mar 11, 2013What SQL permissions are required for the user?
Daniel R
Apr 16, 2013Ensure that the database user has permission to connect to the database and to create and populate tables.
Anonymous
Mar 19, 2013Do Fisheye and Crucible require different databases?
Daniel R
Apr 16, 2013Both applications share the same database.