How to update and import a configuration
Zitat von mpachmann am 27. Juni 2023, 15:21 Uhrhttps://doc.sophos.com/nsg/sophos-firewall/18.5/help/en-us/webhelp/onlinehelp/AdministratorHelp/BackupAndFirmware/ImportExport/BackupsImportExportUpdateConfiguration/index.html
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.
- Export the configuration.
- Go to Backup and firmware > Import export.
- Select Export selective configuration.
- Enter
User
to search, select User, and click Apply selected items.Sophos Firewall exports the configuration as a
.tar
file.Here's an example:
- 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:
- Open the
.xml
file in a text editor, such as Notepad, and make the configuration changes you want.- 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:
- On the web admin console, go to Backup and firmware > Import export, and import the
.tar
file.- Enter the Secure storage master key.
Sophos Firewall imports the 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.
- Export the configuration.
- Go to Backup and firmware > Import export.
- Select Export selective configuration.
- Enter
User
to search, select User, and click Apply selected items.Sophos Firewall exports the configuration as a
.tar
file.Here's an example:
- 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:
- Open the
.xml
file in a text editor, such as Notepad, and make the configuration changes you want. - 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:
- On the web admin console, go to Backup and firmware > Import export, and import the
.tar
file. - Enter the Secure storage master key.
Sophos Firewall imports the configuration.