6.5.5. Procedure – Exporting and importing the configuration of PSM using the console

Purpose: 

You can export/import the configuration of PSM (for manual archiving, or to migrate it to another PSM unit) from the console using the /opt/scb/bin/configbundle.php script.

Note

The configuration of your PSM may contain sensitive information. Make sure you delete any configuration export files that are not needed anymore.

Steps: 

  1. Execute the following command to export the configuration of your PSM:

    /opt/scb/bin/configbundle.php export /<my destination folder>/bundle.tar.gz

    Where:

    • /opt/scb/bin/configbundle.php: The script you execute to export the configuration.

    • export: The option that lets you export a configuration.

    • /<my destination folder>/bundle.tar.gz: The path to the file where you wish to export the configuration.

      Replace <my destination folder> with the name of the folder where you wish to store the exported configuration.

  2. Execute the following command to import the configuration of your PSM:

    /opt/scb/bin/configbundle.php import /<my destination folder>/bundle.tar.gz

    Where:

    • /opt/scb/bin/configbundle.php: The script you execute to import the configuration.

    • import: The option that lets you import a configuration.

    • /<my destination folder>/bundle.tar.gz: The path to the file from which you wish to import the configuration.

      Replace <my destination folder> with the name of the folder where your configuration export file is stored.