eornate 4 Posted October 4, 2023 Share Posted October 4, 2023 (edited) 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 October 4, 2023 by eornate Link to comment Share on other sites More sharing options...
Solution Mitazi 1 Posted October 6, 2023 Solution Share Posted October 6, 2023 (edited) 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 October 6, 2023 by Mitazi Link to comment Share on other sites More sharing options...
eornate 4 Posted October 8, 2023 Author Share Posted October 8, 2023 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 More sharing options...
Recommended Posts