Hub 2017.2 Help

Backup Hub 1.0

With Hub versions 2.0 and later, you can create a backup of your database on the Backup Settings page. For instructions, see Backup.

For earlier versions, follow these instructions to 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 an empty 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).
      /help/img/hub/2017.2/Hub_1_0_ZIP_default_thumbnail.png
    • 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.
      /help/img/hub/2017.2/Hub_1_0_ZIP_with_ext_data_directory_thumbnail.png
    • 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.
      /help/img/hub/2017.2/Hub_1_0_MSI_with_ext_data_directory_thumbnail.png

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

    /help/img/hub/2017.2/backupResult.png

The resulting directory that contains the conf and data directories is a valid backup. The directory should not contain any other files or folders.

Last modified: 19 July 2017