Hub 2.5 Help

Backup Hub 1.0

With Hub 2.0, you can create a backup of your database on the Backup Settings page. For earlier versions, you must create a backup manually.

To create a backup manually:

  1. Stop the Hub service. For more information, see Stop and Start the Hub Service.
  2. Create a directory where you want to store the backup.
  3. In the directory, create two subdirectories:
    • conf
    • data
  4. Copy the contents of the conf directory that are used by the existing Hub service to the conf directory in the prepared backup location.
    • For a ZIP distribution, the conf folder is located in the installation directory (the target directory where the ZIP installation packages was extracted).
      Hub_1_0_ZIP_default
    • For an MSI distribution, the conf folder is located in the %programdata%\JetBrains\Hub\ directory.
  5. Copy the contents of the data directory that is used by the existing Hub service to the data directory in the prepared backup location.
    • For a ZIP distribution, the data directory is located in the installation directory (the target directory where the ZIP installation packages was extracted). If the default data directory was changed during installation, the data directory is found in the set location. If you don't know where the data directory is located, open the configuration file internal\bundle.properties in the conf directory. The current path to the data directory is set in the data-dir parameter.
      Hub_1_0_ZIP_with_ext_data_directory
    • For an MSI distribution, the data directory is located in the %programdata%\JetBrains\Hub\ directory. If the default data directory was changed during installation, the data directory is found in the set location. If you don't know where the data directory is located, open the configuration file internal\bundle.properties in the conf directory. The current path to the data directory is set in the data-dir parameter.
      Hub_1_0_MSI_with_ext_data_directory

    The finished backup directory should be similar to the directory that is shown below:

    backupResult

The resulting directory that contains the conf and data directories is a valid backup.

Last modified: 20 September 2016