This page last changed on Oct 03, 2007 by smaddox.

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 following files will be backed up:

  • config.xml
  • fisheye.license
  • var/data/data0.bin

No repository cache data will be backed up.

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.

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 Oct 10, 2007 12:46