Console Utility

Top  Previous  Next

Console version of Dr.Web Repository Loader utility is located in the bin subfolder of Dr.Web Server installation folder. You are allowed to run this utility version only from this Server folder. Executable file is drwreploader.

Possible Switches

--help—show help message on switches.

--show-products—show the list of GUS products.

--path <argument>—download the repository from GUS to the folder specified as <argument>.

--etc <argument>—path to the etc Server folder (used to search root certificates and update public keys).

--archive—archive the repository.

--key <argument>—path to the license key file (the key file or its MD5 hash must be specified).

--key-md5 <argument>—MD5 hash of the license key (the key file or its MD5 hash must be specified).

--product <argument>—updated product. By default, entire repository is downloaded.

--only-bases—download only virus bases.

--update-url <argument>—GUS servers folder where updates of Dr.Web products are located (it is recommended to leave default value).

--servers <argument>—GUS servers addresses (it is recommended to leave default value).

--prohibit-cdn—deny CDN usage when downloading updates (by default is off, i.e. CND is used).

--prohibit-ssl—use insecure HTTP instead of HTTPS (by default is off, i.e. HTTPS is used).

--cert-mode [<argument>]—automatically accept HTTPS certificates.

The <argument> may take one of the following values:

any—accept all certificates,

valid—accept only valid certificates,

drweb—accept only Dr.Web certificates.

The drweb value is used by default.

--proxy-host <argument>—proxy server specified in the following format: <server>[:<port>].

--proxy-auth <argument>—data for authentication on the proxy server: user login and password <login>[:<password>].

--strict—terminate downloading if an error occurred.

--log <argument>—create a log file of the Server log file format to register information on the downloading process and located it in the folder specified as <argument>.

Examples of Use

1.To create an imported archive with all products:

drwreploader.exe --path=C:\Temp\repository.zip --archive --key "C:\Program Files\DrWeb Server\etc\agent.key" --etc "C:\Program Files\DrWeb Server\etc"

2.To create an imported archive with virus bases:

drwreploader.exe --path=C:\Temp\repository.zip --archive --key "C:\Program Files\DrWeb Server\etc\agent.key" --only-bases --etc "C:\Program Files\DrWeb Server\etc"

3.To create an imported archive with Server only:

drwreploader.exe --path=C:\Temp\repository.zip --archive --key "C:\Program Files\DrWeb Server\etc\agent.key" --product=20-drwcs --etc "C:\Program Files\DrWeb Server\etc"