Skip to content

Migrating to Salomon

Ralf Kilian edited this page Dec 21, 2021 · 8 revisions

Migrating to Salomon

Table of contents

Notice

If the Salomon-BSD installation directory (/opt/salomon-bsd) exists on your system, you can migrate the config files from Salomon-BSD to Salomon.

Before migrating the config files it is recommended to create a backup first.

The steps below require superuser privileges. In case you are logged in as root, sudo can be omitted.

Migration with a new Salomon installation

This applies to the case when Salomon-BSD is already installed on the system and you are installing Salomon via its installation script.

When installing Salomon, you will be prompted whether you want to migrate the config files or not.

After confirming the migration the installation process will copy the config files as follows:

Source files Destination directory
/opt/salomon-bsd/*.cfg /opt/salomon
/opt/salomon-bsd/colors/* /opt/salomon/colors
/opt/salomon-bsd/filters/* /opt/salomon/filters

The Salomon-BSD installation directory (including all files) will remain untainted.

After the installation is completed you can uninstall Salomon-BSD by simply removing its installation directory:

sudo rm -fR /opt/salomon-bsd

Do not use the /opt/salomon-bsd/install.sh script to uninstall Salomon-BSD it as this would cause problems with the current Salomon installation.

Top

Migration with Salomon already installed

This applies to the case when Salomon was already installed in parallel with Salomon-BSD installed before.

The easiest and recommended way is to manually copy them as follows:

sudo cp /opt/salomon-bsd/salomon.cfg  /opt/salomon
sudo cp /opt/salomon-bsd/colors/*     /opt/salomon/colors
sudo cp /opt/salomon-bsd/filters/*    /opt/salomon/filters

When done, you can uninstall Salomon-BSD by simply removing its installation directory:

sudo rm -fR /opt/salomon-bsd

Do not use the /opt/salomon-bsd/install.sh script to uninstall Salomon-BSD it as this would cause problems with the current Salomon installation.

Top