Hub 2018.1 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).
      Hub 1 0 ZIP default thumbnail
    • 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 thumbnail
    • 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 thumbnail

    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. The directory should not contain any other files or folders.

Last modified: 22 May 2018