Start a conversation

Importing and Exporting GFI LanGuard Settings

Overview

GFI LanGuard allows users to import and export the configuration settings to be able to recover the configuration in case of data loss and to reuse them during the migration or an upgrade to a new version. This article describes the required steps to export and import the GFI LanGuard configuration.

Solution

The Import and Export Configurations Wizard is a GFI LanGuard feature that enables you to import and export settings. This feature is useful when you want to retain configuration settings from an older version of GFI LanGuard and reuse them in a new version, as well as to backup the configuration to be able to recover in case of data loss.

The following settings can be exported using the Import and Export Configuration Wizard:
  • Scanning Profiles
  • Vulnerability Assessment
  • Ports (TCP/UDP)
  • Results Filtering Reports (Custom Reports, Scheduled Reports)
  • Auto-Remediate Settings (Application Auto-Uninstall and Patch Settings)
  • Options
    • Alerting Options
    • Computer Filters
    • Internal Settings 

The following sections provide information about:

Note: If you want to export/import only the scanning profiles and vulnerability definitions it is possible to use Impex command line tool. For example, to set up an automated scanning profiles backup.

 

Exporting Configuration To a File

  1. Open the GFI LanGuard console and go to File > Import and Export Configuration.
    mceclip0.png
  2. Select the Export the Desired Configurations to File option and click Next.
  3. Select the location to save the file and click Next.
  4. Wait for the configuration tree to load, select the configuration options to export, and DO NOT select the Database Backend option, If unchecking Database Backend disables Scheduled Reports too, then export the settings with Database Backend enabled, but DO NOT import the Database Backend
  5. Click Next

    2021-12-30_07_01_18-1Server2019_on_DESKTOP-DH70P07_-_Virtual_Machine_Connection.png
  6. Once complete, a .cfg file is created in the location specified.
  7. Click OK to finish.

Note: Remember to make a backup of the exported configurations file.

 

Importing Configuration From a File

  1. Open the GFI LanGuard console and go to File > Import and Export Configuration.
  2. Select the Import the Desired Configurations to File option and click Next.
  3. Specify the path from where to load configuration, and click Next.
  4. Wait for the configuration tree to load, select the configurations to import, and click Next. 
    mceclip2.png

    Note: Only actually exported configurations will be present in the list.

  5. Confirm the override dialog box by clicking Yes or No as required.
  6. A notify dialog will confirm that exporting is completed. Click OK to finish.

 

Importing Configuration From Another Instance of GFI LanGuard

  1. Open the GFI LanGuard console and go to File > Import and Export Configuration.
  2. Select the Import the configuration from another instance and click Next.
  3. Click Browse to select the GFI LanGuard installation folder on the machine from where you want to import the configurations. The default location is listed in the table below, where XX is the LanGuard version:
    Operating Systems Path
    Windows® XP Professional (SP2 or higher) C:\Documents and Settings\All Users\Application Data\GFI\LanGuard XX
    Windows® Server 2003 Standard/Enterprise C:\Documents and Settings\All Users\Application Data\GFI\LanGuard XX
    Windows® Vista Business/Enterprise/Ultimate and later C:\Program Files\GFI\LanGuard XX
    Windows® Server 2008 (including R2) Standard/Enterprise and later C:\Program Files\GFI\LanGuard XX
  4. Select which settings you want to import and click Next. 
  5. While importing, GFI LanGuard will ask you whether you want to override or keep your settings. Select one of the following options:
    Operating Systems Path
    Yes Override the current setting with the imported setting.
    No Keep the current setting and ignore the imported setting.
    Auto Rename Rename the imported settings and keep the current settings.
  6. Click OK when the import is ready.

 

Related Articles

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments