All Versions
Fisheye 4.2 DocumentationFisheye 4.1 Documentation
Fisheye 4.0 Documentation
More...
To switch to a PostgreSQL database, install PostgreSQL and follow the steps below. Please note that during the migration of database servers, the FishEye instance will not be available to users or to external API clients.
.jar file from the PostgreSQL website and copy the .jar file to your FISHEYE_INST/lib directory (create the lib/ directory if it doesn't already exist). Move the existing JDBC .jar file to another location (and back it up). Restart FishEye or Crucible to have it pick up the new driver.
$ psql > create user username password 'password';
> create database crucible ENCODING 'UTF-8' OWNER username;
> grant all on database crucible to username;
In order to migrate to a different database backend, you must create a backup of sql data, configure the database and finally import the data via a backup restoration process. This can be done from either the FishEye administration console, which streamlines the process, or via the command line tool which FishEye provides.
Database page in FishEye's Administration console
PostgreSQL from the database type
Test Connection to validate the values
.jar file in the classpath (by placing the .jar file in FISHEYE_INST/lib). Also, ensure that the database user can log in to the database from the machine that Crucible or FishEye is running on and that all the required privileges are present.
sql data from the FishEye instance. Information on how to create a backup can be found at Backing up and restoring Fisheye databin directory in FISHEYE_INST
$ ./fisheyectl.sh restore --sql \
--file /path/to/backup.zip \
--dbtype postgresql \
--jdbcurl jdbc:postgresql://hostname/dbname \
--username crucible \
--password password