Downloading the protection definitions to an online management server

After installing a management server that can access the Internet, download the latest protection definitions to it, and then copy them to a removable drive, such as a USB flash memory stick or an external hard drive.

To download and copy the protection definitions

  1. On the machine with the online management server, copy the AtpDatabaseMirror folder to a location of your choice. For example, the desktop or the Temp folder.

    You can find the AtpDatabaseMirror folder in the following location:

    • Windows: %ProgramFiles%\Acronis\

    • Linux: /usr/lib/Acronis/

  2. In the copied AtpDatabaseMirror folder, edit the atp_database_mirror.json file as follows:

    1. Change the value of enable_appdata_as_root to false.
    2. Change the value of is_on_premise to false.

    3. Change the values of all entries of local_path to the absolute path of the location where you want to save the protection definitions.

      Use only forward slashes, both for Windows and Linux file paths.

      For example:

      Original value Edited value (Windows) Edited value (Linux)
      "name": "WWW_VERSIONDIR",
      "desc": "Document root for the versioned updates",
      "local_path": "scanner"
      "name": "WWW_VERSIONDIR",
      "desc": "Document root for the versioned updates",
      "local_path": "C:/Users/JohnDoe/Desktop/definitions/scanner"
      "name": "WWW_VERSIONDIR",
      "desc": "Document root for the versioned updates",
      "local_path": "/home/JohnDoe/Desktop/scanner"
      "name": "WWW_DIR",
      "desc": "x86 32-bit anti-malware database",
      "download_url": "av32bit"
      "local_path": "scanner/av32bit"
      "name": "WWW_DIR",
      "desc": "x86 32-bit anti-malware database",
      "download_url": "av32bit"
      "local_path": "C:/Users/JohnDoe/Desktop/definitions/scanner/av32bit"
      "name": "WWW_DIR",
      "desc": "x86 32-bit anti-malware database",
      "download_url": "av32bit"
      "local_path": "/home/JohnDoe/Desktop/scanner/av32bit"
      "name": "WWW_DIR64",
      "desc": "x86-64 64-bit anti-malware database",
      "download_url": "av64bit"
      "local_path": "scanner/av64bit"
      name": "WWW_DIR64",
      "desc": "x86-64 64-bit anti-malware database",
      "download_url": "av64bit"
      "local_path": "C:/Users/JohnDoe/Desktop/definitions/scanner/av64bit"
      name": "WWW_DIR64",
      "desc": "x86-64 64-bit anti-malware database",
      "download_url": "av64bit"
      "local_path": "/home/JohnDoe/Desktop/scanner/av64bit"
       "name": "ngmp",
      "download_url": "https://dl.acronis.com/u/am/
      ngmp/update-index.json",
      "local_path": "ngmp"
      "name": "ngmp",
      "download_url": "https://dl.acronis.com/u/am/
      ngmp/update-index.json",
      "local_path": "C:/Users/JohnDoe/Desktop/definitions/ngmp"
      "name": "ngmp",
      "download_url": "https://dl.acronis.com/u/am/
      ngmp/update-index.json",
      "local_path": "/home/JohnDoe/Desktop/ngmp"
      "name": "vapm",
      "download_url": "https://dl.acronis.com/u/
      vapm/v2/update-index.json",
      "local_path": "vapm"
      "name": "vapm",
      "download_url": 
      "https://dl.acronis.com/u/
      vapm/v2/update-index.json",
      "local_path": "C:/Users/JohnDoe/Desktop/definitions/vapm"
      "name": "vapm",
      "download_url": 
      "https://dl.acronis.com/u/
      vapm/v2/update-index.json",
      "local_path": "/home/JohnDoe/Desktop/vapm"
  3. Save the edited atp_database_mirror.json file.

  4. Stop the Acronis Management Server service by using the following command:

    • Windows (Command Prompt):

      sc stop AcrMngSrv
    • Linux (Terminal):

      sudo systemctl stop acronis_ams.service
  5. Use Command Prompt or Terminal to navigate to the copied AtpDatabaseMirror folder and start the AtpDatabaseMirror tool by using the following command:

    • Windows (Command Prompt)

      atp_database_mirror.exe -config atp_database_mirror.json

      For example, if you copied the folder to the desktop:

      cd C:\Users\JohnDoe\Desktop\ AtpDatabaseMirror
      atp_database_mirror.exe -config atp_database_mirror.json
    • Linux (Terminal)

      Navigate to the copied folder by using the cd command and then run

      sudo ./atp_database_mirror -config atp_database_mirror.json

    When all updates are downloaded to the folders that you specified in local_path, the following line will appear in the Command Prompt or the Terminal window:

    standing by for 1m0s
  6. Stop the AtpDatabaseMirror tool by pressing CTRL+C.

    At this point, the definitions are downloaded to the folders that you specified as local_path in the atp_database_mirror.json file. Per the example above, the definitions will be located as follows:

    Folder Contents
    C:\Users\JohnDoe\Desktop\definitions\ngmp Advanced detection definitions
    C:\Users\JohnDoe\Desktop\definitions\scanner Antivirus and Antimalware definitions
    C:\Users\JohnDoe\Desktop\definitions\vapm Vulnerability assessment and patch management definitions
  7. Zip the folder that contains the definitions to a removable drive.

    In this example, zip the definitions folder.

Next, you must copy the definitions from the removable drive to an HTTP server in your air-gapped environment. You can use the air-gapped management server as an HTTP server. For more information, see Transferring protection definitions to an HTTP server.