H7.5. Dr.Web Repository Loader |
The following versions of Dr.Web Repository Loader console utility are provided:
To simplify specifying the switches to run the console utility, you can use the Repository Loader configuration file. In the pre-installed configuration file, the switches values correspond to the default values listed below, except the --ssh-auth switch: its value is redefined to the pubkey in the configuration file. Possible Switches •--archive—archive the repository. Default is no. •--auth <argument>—credentials for authorization on the update server in the following format: <user>[:<password>]. •--cert-file <path>—path to the root certificates storage for SSL authorization. •--cert-mode [<argument>]—the type of SSL certificates that will be automatically accepted. This option is used only for secure protocols that support encrypting. The <argument> may take one of the following values: ▫any—accept all certificates, ▫valid—accept only valid certificates, ▫drweb—accept only Dr.Web certificates, ▫custom—accept user-defined certificates. The drweb value is used by default. •--config <path>—path to the Repository Loader configuration file. •--cwd <path>—path to the current working directory. •--ipc—enable the transfer of data on the utility operation to the standard output stream. Default is no. •--help—show help message on switches. •--license-key <path>—path to the license key file (the key file or its MD5 hash must be specified). •--log <path>—path to the log file on the repository downloading process. •--mode <mode>—updates loading mode: ▫repo—repository is downloaded in the Server repository format. Loaded files can be directly imported via the Control Center as the Server repository updates. Value is used by default. ▫mirror—repository is downloaded in the GUS updates zone format. Loaded files can be placed on the updates mirror in your local network. Further, Servers can be configures to receive updates directly from this updates mirror containing the last version of the repository but not from the GUS servers. •--only-bases—download only virus databases. Default is no. •--path <argument>—download the repository from GUS to the folder specified as <argument>. When you archive the repository using the --archive switch, you can specify the path either to the folder name or to the archive file name. If the archive name is not specified, the repository.zip default name is used. •--product <argument>—updated product. By default, entire repository is downloaded. •--prohibit-cdn—deny CDN usage when downloading updates. Default is no, i.e. CDN is allowed to be used. •--proto <protocol>—updates loading protocol: file | ftp | ftps | http | https | scp | sftp | smb | smbs. Default is https. •--proxy-auth <argument>—data for authentication on the proxy server: user login and password in the following format: <login>[:<password>]. •--proxy-host <argument>—proxy server address specified in the following format: <server>[:<port>]. Default is 3128. •--rotate <N><f>,<M><u>—Repository Loader log rotation mode. Same as Server log rotation. By default, it is 10,10m, which means storing of 10 files 10 megabytes each, use compression. •--servers <argument>—GUS servers addresses. It is recommended to leave the default value: esuite.geo.drweb.com. •--show-products—show the list of GUS products. Default is no. •--ssh-auth <type>—type of the authorization on the update server when accessing by SCP/SFTP. For the <type> parameter, the one of the following values is allowed: ▫pwd—authorization using a password. A password is set in the --auth switch. ▫pubkey—authorization using a public key. You must specify a private key in the --ssh-prikey switch to extract corresponding public key. •--ssh-prikey <path>—path to the SSH private key. •--ssh-pubkey <path>—path to the SSH public key. •--strict—terminate downloading if an error occurred. Default is no. •--update-key <path>—path to a public key or to a folder with a public key to validate the signature of updates that are loaded from GUS. The update-key-*.upub public keys to validate updates can be found on Dr.Web Server in the etc folder. •--update-url <argument>—GUS servers folder where updates of Dr.Web products are located. It is recommended to leave the default value: /update. •--verbosity <details_level>—log level of detail. TRACE3 is by default. Allowed values are: ALL, DEBUG3, DEBUG2, DEBUG1, DEBUG, TRACE3, TRACE2, TRACE1, TRACE, INFO, NOTICE, WARNING, ERROR, CRIT. The ALL and DEBUG3 values are synonyms. •--version <version>—the Server version to which the updates must be loaded if the following format: <major_version>.<minor_version>. For example, for the Server of the 11 version, the <version> parameter takes the value 11.00. Switches Usage Features When launching the Repository Loader, please note the following rules:
Examples of Use 1.To create an imported archive with all products:
2.To create an imported archive with virus bases:
3.To create an imported archive with the Server only:
|