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\
.
- Linux/Mac OS:
- 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\
.
- Linux/Mac OS:
Workflow
Cold backup and restore are performed when the system is not running.
- Check the Prerequisites.
- Depending on the OS of your source machine:
- Back Up the Data
- Verify Before Restore
- Restore the Data
- Start Seeker