Cold Backup and Restore

When updating to a new version, or migrating an existing installation of Seeker to another machine, you might want to perform a cold back up of the Seeker data, and then restore it in an appropriate location.

Seeker Data Locations

The Seeker data is stored in the following locations:

  • Home Directory

    The Seeker home directory contains all the dynamic data and configuration files that are used by Seeker. It also contains the PostgreSQL database data directory that is managed by Seeker.

    The home directory path is stored in the SEEKER_HOME_DIR environment variable. The default values of this variable are:

    • Linux/Mac OS: ${HOME}/seeker/data/. For example, /Users/myuser/seeker/data/.
    • Windows: %SEEKER_HOME_DIR%. For example, C:\ProgramData\Seeker Security\inline\.
  • Install Directory

    The Seeker Install directory, or Bin directory, contains the binary files that are required to run Seeker.

    The Install directory path is stored in the SEEKER_INSTALL_DIR environment variable. The default values of this variable are:

    • Linux/Mac OS: ${HOME}/seeker/install/. For example, /Users/myuser/seeker/install/.
    • Windows: %SEEKER_INSTALL_DIR%. For example, C:\Synopsys\Seeker\.

Workflow

Cold backup and restore are performed when the system is not running.

  1. Check the Prerequisites.
  2. Depending on the OS of your source machine:
  3. Back Up the Data
  4. Verify Before Restore
  5. Restore the Data
  6. Start Seeker