4.2.4. Settings export and import

The administrator can save the current UserGate LogAn settings in a file and restore them later on the same or another UserGate LogAn server. This is different from a backup in that importing/exporting the settings does not preserve the current state of all system components --- only the current settings are saved.

Note

Importing/exporting the settings does not preserve the interface state or license information. After completing the import, you will need to re-register UserGate LogAn using the existing PIN code and configure the interfaces.

To export the settings, follow these steps:

Task

Description

Step 1. Export the settings.

In the Device management --> Settings export and import section, click Export and select Export all settings or Export network settings. The system will save:

nodename is the UserGate LogAn node name.

version is the UserGate LogAn version.

YYYYMMDD_HHMMSS is the date and time of the settings export in the UTC timezone.

Examples: logan_core-logan_core@ranreahattha_6.2.0.13494RS-1_20211227_091350.bin; network‑logan_core-logan_core@ranreahattha_6.2.0.13494RS-1_20211227_091407.bin.

To apply the exported settings, follow these steps:

Task

Description

Step 1. Import the settings.

In the Device management --> Settings export and import section, click Import and specify the location of the settings file created earlier. The settings will be applied to the server, after which the server will reboot.

In addition, the administrator can configure a scheduled settings upload to external servers (FTP, SSH). To create a schedule for uploading settings, follow these steps:

Task

Description

Step 1. Create an export rule.

In the Device management --> Settings export and import section, click Add and enter a name and description for the rule.

Step 2. Specify the remote server parameters.

In the Remote server tab of the rule, specify the parameters for the remote server:

  • Server type: FTP or SSH.

  • Address: the server's IP address.

  • Port: the server's port.

  • Login name: the user account on the remote server.

  • Password/Repeat password: the password for the user account.

  • Directory path: the path on the server where the settings will be uploaded.

Step 3. Select the upload schedule.

In the Schedule tab of the rule, specify when the settings should be uploaded. If specifying the time in the crontab format, enter it as follows:

(minutes: 0-59) (hours: 0-23) (days of the month: 1-31) (month: 1-12) (days of the week: 0-6, where 0 is Sunday)

Each of the first five fields can be defined using:

  • An asterisk (*) denotes the entire range (from the first number to the last).

  • A dash (-): denotes a number range. For example, "5-7" means 5, 6, and 7.

  • Lists: comma-separated numbers or ranges. For example, "1,5,10,11" or "1-11,19-23".

  • The asterisk and dash are also used for spacing out values in ranges. The increment is given after a slash. Examples: "2-10/2" means "2,4,6,8,10" while "*/2" in the "hours" field means "every two hours".