Skip to content

How to update and import a configuration

You can export a configuration, update it, and import the updated configuration into Sophos Firewall.

This example uses a configuration with sensitive information, for example User.

  1. Export the configuration.

    1. Go to Backup and firmware > Import export.
    2. Select Export selective configuration.
    3. Enter User to search, then select User and click Apply selected items.

      Sophos Firewall exports the configuration as a .tar file.

      Here's an example:

      Export user configuration.

  2. To extract the files, go to the Windows or Linux command-line console on your endpoint, go to the folder containing the .tar file, and enter the following command:

    tar -xvf <tarfilename>.tar
    

    This exported file contains sensitive information, such as users' passwords. So, it contains the following files:

    • Entities.xml
    • hashFile.json
    • propertyfile

    Here's an example:

    Extracted files.

  3. Open the .xml file in a text editor, such as Notepad, and make the configuration changes you want.

  4. To compress the updated .xml file and the other files into a .tar file, enter the following command:

    tar -cvf <newtarfilename.tar> Entities.xml hashFile.json propertyfile
    

    Here's an example:

    Compressed into a .tar file.

  5. On the web admin console, go to Backup and firmware > Import export, and import the .tar file.

    Import a .tar file.

  6. Enter the Secure storage master key.

    Enter the secure storage master key.

Sophos Firewall imports the configuration.