Jump to content

How to reduce the download size of the folder repository for offline Eset protect server


Go to solution Solved by Mitazi,

Recommended Posts

Hi everyone,
Currently, i'm setting up the Eset server for offline environment.I've just wanted to download the latest ESET like version 10( protect server, endpoint product, agent, update database)
So how to i run with script on mirror tool to create repository only version 10 (with only language ENGLISH) ? Because if give default the size is too large ( > 100GB) 
MirrorTool.exe --repositoryServer AUTOSELECT ^
--intermediateRepositoryDirectory repository-intermediate ^
--outputRepositoryDirectory repository-final 

 

Edited by eornate
Link to comment
Share on other sites

  • Solution

For this you need a JSON file as described here:

https://help.eset.com/protect_install/10.1/en-US/mirror_tool_windows.html

Use the -dryRun option to find out which products you need.

 

Examples (this works for me):

1. Repository part

JSON file (json_filter.txt):

{
	"defaults": {
		"languages": [ "en_US" ],
		"platforms": [ "x64", "x86" ],
		"os_types": [ "windows" ]
	},
	"products": [
		{
			"name": "ESET Endpoint Antivirus",
			"version": ">=10.0.2045.0"
		},
		{
			"name": "ESET Endpoint Security",
			"version": ">=10.0.2045.0"
		},
		{
			"name": "ESET Management Agent"
		},
		{
			"name": "ESET PROTECT Bootstrapper"
		},
		{
			"name": "ESET Server Security for Microsoft Windows Server",
			"version": ">=9.0.12017.0"
		}
	]
}

MirrorTool with dryRun:

MirrorTool.exe >D:\MirrorTool\repository_log.txt ^
--repositoryServer AUTOSELECT ^
--filterFilePath json_filter.txt ^
--dryRun filtered.csv
pause

MirrorTool - real download:

MirrorTool.exe >D:\MirrorTool\repository_log.txt ^
--repositoryServer AUTOSELECT ^
--intermediateRepositoryDirectory D:\MirrorTool\Repository\repository-Temp ^
--outputRepositoryDirectory D:\MirrorTool\Repository\repository ^
--filterFilePath json_filter.txt ^
--trustDownloadedFilesInRepositoryTemp
pause

 

2. Module Updates part:

MirrorTool.exe >D:\MirrorTool\updates_log.txt ^
--mirrorType regular ^
--intermediateUpdateDirectory D:\MirrorTool\Updates\updates-Temp_ ^
--offlineLicenseFilename D:\MirrorTool\Updates\MirrorTool.lf ^
--outputDirectory D:\MirrorTool\Updates ^
--excludedProducts ep4 ep5 ep6 ep7 ep8

 

🙂

 

Edited by Mitazi
Link to comment
Share on other sites

On 10/6/2023 at 2:25 PM, Mitazi said:

For this you need a JSON file as described here:

https://help.eset.com/protect_install/10.1/en-US/mirror_tool_windows.html

Use the -dryRun option to find out which products you need.

 

Examples (this works for me):

1. Repository part

JSON file (json_filter.txt):

{
	"defaults": {
		"languages": [ "en_US" ],
		"platforms": [ "x64", "x86" ],
		"os_types": [ "windows" ]
	},
	"products": [
		{
			"name": "ESET Endpoint Antivirus",
			"version": ">=10.0.2045.0"
		},
		{
			"name": "ESET Endpoint Security",
			"version": ">=10.0.2045.0"
		},
		{
			"name": "ESET Management Agent"
		},
		{
			"name": "ESET PROTECT Bootstrapper"
		},
		{
			"name": "ESET Server Security for Microsoft Windows Server",
			"version": ">=9.0.12017.0"
		}
	]
}

MirrorTool with dryRun:

MirrorTool.exe >D:\MirrorTool\repository_log.txt ^
--repositoryServer AUTOSELECT ^
--filterFilePath json_filter.txt ^
--dryRun filtered.csv
pause

MirrorTool - real download:

MirrorTool.exe >D:\MirrorTool\repository_log.txt ^
--repositoryServer AUTOSELECT ^
--intermediateRepositoryDirectory D:\MirrorTool\Repository\repository-Temp ^
--outputRepositoryDirectory D:\MirrorTool\Repository\repository ^
--filterFilePath json_filter.txt ^
--trustDownloadedFilesInRepositoryTemp
pause

 

2. Module Updates part:

MirrorTool.exe >D:\MirrorTool\updates_log.txt ^
--mirrorType regular ^
--intermediateUpdateDirectory D:\MirrorTool\Updates\updates-Temp_ ^
--offlineLicenseFilename D:\MirrorTool\Updates\MirrorTool.lf ^
--outputDirectory D:\MirrorTool\Updates ^
--excludedProducts ep4 ep5 ep6 ep7 ep8

 

🙂

 

Thanks your response.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...