ESET Online Help

Search English
Select the category
Select the topic

Offline Repository

You can use the Mirror Tool to create an offline repository (on Windows). Usually this is needed for closed computer networks or networks with limited internet access. The Mirror Tool can be used to create a clone of the ESET repository in a local folder. This cloned repository can be afterward moved (for example, onto an external disk) to a location in the closed network. You can copy the repository to a secure location in the local network and make it available via HTTP server.

To update the offline repository, run the same command with the same parameters as used for offline repository creation. Previous data in the intermediary folder will be used and only outdated files will be downloaded.


important

Be aware that the size of the repository is growing and the intermediary directory will be the same size. Make sure you have at least 1.2 TB of free space before starting this procedure.

Best practices

See also the ESET Knowledgebase article Best practices for using the ESET PROTECT in an offline environment.

Example scenario for Windows

I. Create repository clone

1.Download the Mirror Tool.

2.Extract the Mirror Tool from the downloaded .zip file.

3.Prepare (create) folders for:

intermediary files

final repository

4.Open command prompt and change the directory to the folder where the Mirror Tool is extracted (cd command).

5.Run the following command (change the intermediary and output repository directories to the folders from step 3):

MirrorTool.exe --repositoryServer AUTOSELECT ^
--intermediateRepositoryDirectory C:\Intermediary ^
--outputRepositoryDirectory C:\Repository

6.After the repository is copied to the outputRepositoryDirectory folder, move the folder and its contents to another machine where your closed network is accessible.

II. Set up HTTP server

7.You need an HTTP server running on the machine in the closed network. You can use:

Apache HTTP Proxy from the ESET download site (this scenario)

a different HTTP server

8.Open apachehttp.zip and extract the files to C:\Program Files\Apache HTTP Proxy 2.[x.xx]

9.Open an administrative command prompt and change the directory to C:\Program Files\Apache HTTP Proxy 2.[x.xx]\bin (cd command).

10.Execute the following command:

httpd.exe -k install -n ApacheHttpProxy

 

11.Using a simple text editor, open the C:\Program Files\Apache HTTP Proxy 2.[x.xx]\conf\httpd.conf file and add the following lines at the bottom of the file:

Listen 80
ServerRoot "C:\Program Files\Apache HTTP Proxy 2.[x.xx]"
DocumentRoot "C:\Program Files\Apache HTTP Proxy 2.[x.xx]\htdocs"
<Directory "C:\Program Files\Apache HTTP Proxy 2.[x.xx]\htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
CacheRoot "C:\Program Files\Apache HTTP Proxy 2.[x.xx]\cache"

12. Start the ApacheHttpProxy service using the following command:

sc start ApacheHttpProxy

13. Test if the service is running by opening http://YourIPaddress:80/index.html in your web browser (replace YourIPaddress with IP address of your computer).

III. Run the offline repository

14. Create a new folder for the offline repository, for example, C:\Repository.

15. In the httpd.conf file, replace the following lines

DocumentRoot "C:\Program Files\Apache HTTP Proxy 2.[x.xx]\htdocs"
<Directory "C:\Program Files\Apache HTTP Proxy 2.[x.xx]\htdocs">

with the address of the repository folder, as follows:

DocumentRoot "C:\Repository"
<Directory "C:\Repository">

16. Copy the downloaded repository into C:\Repository .

17. Restart the ApacheHttpProxy service using the following command:

sc restart ApacheHttpProxy

18. Now your offline repository is running on the address http://YourIPaddress (for example, http://10.1.1.10).

19. Set the new repository address using the ESET PROTECT Web Console:

a.ESET PROTECT Server -  Click More > Server Settings > Advanced Settings > Repository and enter the offline repository address to the Server field.

b.ESET Management Agents - Click Policies, click the Agent policy > Edit > Settings > Advanced Settings > Repository > enter the offline repository address to the Server field.

c.ESET endpoint products (for Windows) - Click Policies, click the ESET Endpoint for Windows policy > Edit > Settings > Update > Profiles > Updates > Modules Updates > Deselect Choose automatically and enter the offline repository address to the Custom server field.