This page last changed on Jun 29, 2009 by rosie@atlassian.com.

You can use one of the following methods to create a zip archive of all FishEye configuration files:

  • Click 'Backup' on the 'Admin Menu'.
  • Or use the fisheyectl script.

The FishEye backup and restore procedure requires you to use the FISHEYE_INST system variable.

A backup and restore allows you to move your FishEye instance to another location or host. It also allows you to upgrade to another version of FishEye without losing any configuration or user data.

Backup

The backup includes all configuration settings, all FishEye user accounts and the FishEye license.
(it also includes reviews and comments, when running Crucible and FishEye together).

The following files will be backed up (when running FishEye only):

  • config.xml (contains the FishEye license)
  • var/data/data0.bin
No repository cache data will be backed up. This means that you will need to re-index the repository once you have restored the FishEye backup data.

Backup via the FishEye Administration Pages

  1. Click 'Backup' on the 'Admin Menu'.
  2. Click the 'Create Archive' button to create a .zip file in the $FISHEYE_INST/backup directory.

Backup via the Command Line

The fisheyectl script takes a backup command and an optional filename for the backup archive. See Command-Line Options.

Scheduled Backup

See Running Scheduled Events

Restore

To restore from a backup:

  1. Stop the FishEye server.
  2. Unzip the backup file (created above) into the $FISHEYE_INST directory.

For example, say you have a backup_20060101120000.zip in /tmp and you have stopped FishEye, the restore procedure would be something like this:

$ cd $FISHEYE_INST
$ unzip /tmp/backup_20060101120000.zip
Document generated by Confluence on Jul 06, 2009 21:40