11.4. Changing Configuration Location

Retrospective stores its configuration files, its disk storage (H2 database) and its log files in a directory named .Retrospective in the user home. Inside that directory it uses release-dependent folders. In the following cases, we recommend that you change the default location and select a custom directory:

  • When your user home is located on a network drive and you face long startup times and problems with the Retrospective disk storage (H2 database).

  • When you search or monitor large amounts of data and the space available in the user home may not be sufficient to hold all fetched data in the disk storage (H2 database).

Table 11.1 What lives at which level

Path

Contents

.Retrospective/keystore

The key that opens your stored credentials. Shared by every release installed on the machine, which is why it sits above the version folders. See Security.

.Retrospective/installation.key

Present only while no master password is set; deleted when you set one.

.Retrospective/<version>/

Configuration, preferences, bookmarks, the H2 database, the log files, credential-audit.log and known_hosts (the stored host keys) — one folder per release.

To move the configuration and log files to a custom location, do the following:

  1. Shut down Retrospective.

  2. Create a local folder in your preferred location (referred to as <custom-dir> below). This folder must be readable and writable for the user that runs Retrospective.

  3. Add the following line to the retrospective.vmoptions file beside the launcher in the Retrospective installation directory (editing it may require administrator rights):

    -Dretrospective.home=<custom-dir>
    

    On macOS, put the line in a plain-text file named Retrospective.vmoptions in the folder that holds Retrospective.app, normally /Applications. Creating it there may require administrator rights. Do not edit Contents/vmoptions.txt inside the app: that breaks the app’s signature.

  4. Restart Retrospective.

Retrospective checks <custom-dir> at startup. If the folder does not exist, is a file, or cannot be read or written, an error dialog names the folder and the fix. Retrospective then exits. Correct the folder or the retrospective.vmoptions line, and start Retrospective again.

Note

The release-dependent subfolder is appended automatically. You only point retrospective.home at the parent directory that replaces .Retrospective. With -Dretrospective.home=C:/tools/retro, Retrospective 8.0.0 stores its data under C:/tools/retro/8.0.0/.

Log files follow the same location. Use the additional property -Dlog.dir=<log-dir> only if the log files should be written to yet another place. Crash logs of the Java runtime (hs_err_pid*.log) stay in .Retrospective/<version> in the user home.

Warning

retrospective.home moves the keystore as well. Point it at a network share, a synchronized folder or a removable drive, and the key to your stored credentials goes there too. Such a location is often readable far more widely than your own account on your own computer. Prefer a local directory, and set a master password if it cannot be local (see Turning On Master-Password Protection).

Example configurations

Platform

VM option

Resulting data location

Windows

-Dretrospective.home=C:/tools/retro

C:/tools/retro/8.0.0/

Linux

-Dretrospective.home=/home/dev/retro

/home/dev/retro/8.0.0/

macOS

-Dretrospective.home=/Users/dev/retro

/Users/dev/retro/8.0.0/

If you already created hosts, profiles and bookmark definitions, you have two options:

  • Copy the complete folder .Retrospective/<version> found in your user home directory to <custom-dir>/<version>. Also copy the keystore file, and installation.key if it is present, from .Retrospective itself. Those two sit above the version folder and open your stored credentials. Left behind, every stored password arrives unreadable and has to be entered again.

  • Before the move, use File ‣ Export Hosts and Profiles and File ‣ Export Bookmarks. After the move, import the files again (see Exporting and Importing Hosts, Profiles and Bookmarks). The importer of Import from Previous Version cannot help here: it only looks in the new location.