Common options
Parameter
|
Description
|
-h [ --help ]
|
Show a short help message on how to use the program.
|
-v [ --verbosity ] arg
|
Log level. Can be one of following: error, info (standard), debug.
|
--rotate arg
|
Log rotation.<number of files>,<size value><size unit> where <size unit> is one of the following: k (kilobyte), m (megabyte), g (gigabyte).
|
-d [ --data-dir ] arg
|
Folder where repository and settings are located.
|
--log-dir arg
|
Folder for storing the log file.
|
-r [ --repo-dir ] arg
|
Repository folder (<data_dir>/repo by default).
|
-t [ --trace ]
|
Enable tracing.
|
-c [ --command ] arg (=update)
|
Command to execute: update, uninstall, exec, keyupdate, download andmirror.
|
-z [ --zone ] arg
|
Zones that are to be used instead of those specified in the configuration file.
|
update command parameters
Parameter
|
Description
|
-p [ --product ] arg
|
Product name. If specified, only this product will be updated. If neither a product nor certain components are specified, all products will be updated. If certain components are specified, only they will be updated.
|
-n [ --component ] arg
|
Components that are to be updated to the specified version.
<name>, <target revision>.
|
-x [ --selfrestart ] arg (=yes)
|
Reboot after an update of Dr.Web Updater. Default value is yes. If the value is set to no, notification that reboot is required will appear.
|
--geo-update
|
Get the list of IP addresses from update.drweb.com before updating.
|
--type arg (=normal)
|
Can be one of the following:
•reset-all—forced update of all components
•reset-failed—reset revision for damaged components
•normal-failed—try to update all components including damaged from the current revision to the newest or specified
•update-revision—try to update all components of the current revision to the newest if exists
•normal—update all components |
-g [ --proxy ] arg
|
Proxy server for updating. <address>:<port>.
|
-u [ --user ] arg
|
Username for proxy server.
|
-k [ --password ] arg
|
Password for proxy server.
|
--param arg
|
Pass additional parameters to the script.
<name>: <value>.
|
-l [ --progress-to-console ]
|
Print information about downloading and script execution to the console.
|
uninstall command parameters
Parameter
|
Description
|
-n [ --component ] arg
|
Name of the component that is to be uninstalled.
|
-l [ --progress-to-console ]
|
Print information about command execution to the console.
|
--param arg
|
Pass additional parameters to the script.
<name>: <value>.
|
-e [ --add-to-exclude ]
|
Components to be deleted. Update of this components will not be performed.
|
keyupdate command parameters
Parameter
|
Description
|
-m [ --md5 ] arg
|
MD5 hash of the previous key file.
|
-o [ --output ] arg
|
Output file name to store new key.
|
-b [ --backup ]
|
Backup of an old key file if exists.
|
-g [ --proxy ] arg
|
Proxy server for updating. <address>:<port>.
|
-u [ --user ] arg
|
Username for proxy server.
|
-k [ --password ] arg
|
Password for proxy server.
|
-l [ --progress-to-console ]
|
Print information about downloading of the key file to the console.
|
download command parameters
Parameter
|
Description
|
--zones arg
|
Zone description file.
|
--key-dir arg
|
Folder where the key file is located.
|
-l [ --progress-to-console ]
|
Print information about command execution to the console.
|
-g [ --proxy ] arg
|
Proxy server for updating. <address>:<port>.
|
-u [ --user ] arg
|
Username for proxy server.
|
-k [ --password ] arg
|
Password for proxy server.
|
-s [ --version ] arg
|
Version name.
|
-p [ --product ] arg
|
Name of the product to download.
|
mirror command parameters
Parameter
|
Description
|
--zones arg
|
Zone description file.
|
--key-dir arg
|
Folder where the key file is located.
|
-g [ --proxy ] arg
|
Proxy server for updating. <address>:<port>.
|
-u [ --user ] arg
|
Username for proxy server.
|
-k [ --password ] arg
|
Password for proxy server.
|
-s [ --version ] arg
|
Version name.
|
|