
|
All actions must be performed under the root administrator account.
|
Upgrading the Server software of the previous version to version 10 is possible not for all UNIX system-based OS. Thus, under UNIX system-based OS, in which upgrading is not supported, it is recommended to delete the Server software of previous versions saving the backup copy and install the 10.0 version based on the saved backup copy.
Upgrading the Server software within version 10 for the same package types is performed automatically.

|
Upgrading the Server within version 10 can be also performed via the Control Center. The procedure is described in the Administrator Manual, in the Updating Dr.Web Server and Restoring from the Backup section.
Not all Server updates within version 10 have the distribution kit file. Some of them can be installed via the Control Center only.
|
Saving Configuration Files
After the Server of 6.X version has been removed, the following files are automatically saved:
File
|
Description
|
Default folder
|
agent.key (the name may vary)
|
Agent license key file
|
• | for Linux OS and Solaris OS:
/var/opt/drwcs/etc |
• | for FreeBSD OS:
/var/drwcs/etc |
|
certificate.pem
|
SSL certificate
|
download.conf
|
network settings for generating of the Agent installation packages
|
drwcsd.conf (the name may vary)
|
Server configuration file
|
drwcsd.pri
|
private encryption key
|
enterprise.key (the name may vary)
|
Server license key file
|
private-key.pem
|
RSA private key
|
webmin.conf
|
Dr.Web Security Control Center configuration file
|
common.conf
|
configuration file (for some UNIX system-based OS)
|
local.conf
|
Server log settings
|
dbinternal.dbs
|
embedded database
|
• | for Linux OS and Solaris OS:
/var/opt/drwcs/ |
• | for FreeBSD OS:
/var/drwcs/ |
|
drwcsd.pub
|
public encryption key
|
• | for Linux OS and Solaris OS:
/opt/drwcs/webmin/install |
• | for FreeBSD OS:
/usr/local/drwcs/webmin/install |
|
After the Server of 10.0 version has been removed, the following configuration files are automatically saved to the default backup folder:
File
|
Description
|
Default folder
|
agent.key (the name may vary)
|
Agent license key file
|
/var/tmp/drwcs/
|
certificate.pem
|
SSL certificate
|
download.conf
|
network settings for generating of the Agent installation packages
|
drwcsd.conf (the name may vary)
|
Server configuration file
|
drwcsd.pri
|
private encryption key
|
enterprise.key (the name may vary)
|
Server license key file. The file is saved if it presented after the upgrade from the previous versions. For the new Server 10.0 installation, the file is absent
|
frontdoor.conf
|
configuration file for the Server remote diagnostic utility
|
private-key.pem
|
RSA private key
|
webmin.conf
|
Dr.Web Security Control Center configuration file
|
common.conf
|
configuration file (for some UNIX system-based OS)
|
local.conf
|
Server log settings
|
dbexport.gz
|
database export
|
drwcsd.pub
|
public encryption key
|
After the automatic upgrade for Linux OS and Solaris OS, the following files are also saved:
For the Server 10.0:
File
|
Description
|
Default folder
|
auth-ldap.conf
|
configuration file for administrators external authorization via LDAP
|
/var/tmp/drwcs/
|
auth-pam.conf
|
configuration file for administrators external authorization via PAM
|
auth-radius.conf
|
configuration file for administrators external authorization via RADIUS
|

|
If you are planning to use configuration files from the previous version of the Server, please note:
1. | Server license key is no longer supported (see Licensing). |
2. | The embedded database is upgraded and configuration files of the Server is converted by the means of the installer. You cannot replace these files with a backup copies when upgrading to the Server 10.0. |
|
Saving Database
Before upgrade Dr.Web AV-Desk software, it is recommender to backup database.
To backup database:
◆ | For FreeBSD OS:
# /usr/local/etc/rc.d/drwcsd.sh exportdb /var/drwcs/etc/avdbase.avd |
◆ | For Linux OS:
# /etc/init.d/drwcsd exportdb /var/opt/drwcs/etc/avdbase.avd |
◆ | For Solaris OS:
# /etc/init.d/drwcsd exportdb /var/drwcs/etc/avdbase.avd |
For Servers with external DB, it is recommended to use standard tools supplied with the database.

|
Make sure, that Dr.Web AV-Desk DB export completed successfully. If DB backup copy is not available, the Server could not be restored in emergency case.
|
Automatic Upgrade
If you update the Server from 6.0 and later versions to 10.0 version for Linux and Solaris OS, instead of deleting old version and installing new version of the Server, you can use the package update of the Server. For this, launch the installation of corresponding Server package.
All automatically saved files will be stored in corresponding directories and manual replacement is not required.
Manual Upgrade
If using an embedded database:
2. | If you plan to use any files (besides files which are copied automatically during Server uninstall at step 4), backup these files manually. For instance, copy the report templates to a backup folder. |
3. | Remove all contents of the repository. |
5. | Install Dr.Web Server version 10.0 according to the general installation procedure (see Installing Dr.Web Server for UNIX® System-Based OS) based on the backup copy from the step 4. All saved configuration files and embedded database will be automatically converted for the Server of the 10.0 version. Without automatic conversion, database and some of Server configuration files from the previous version cannot be used. |
In case of manual backup, replace the files in the same folders from which you copied the files before new install.

|
For all backup files from the previous Server version (see step 6) assign the user, selected at the installation of the new Server version (drwcs by default), as files owner.
|
7. | Set up repository upgrade and perform the upgrade. |
If using an external database:
2. | If you plan to use any files (besides files which are copied automatically during Server uninstall at step 4), backup these files manually. For instance, copy the report templates to a backup folder. |
3. | Remove the contents of the repository. |
6. | Move the automatic saved files (see above) to: |
◆ | for Linux OS: to /var/opt/drwcs/etc, except for the public key. The latter must be saved to /opt/drwcs/webmin/install |
◆ | for FreeBSD OS: to /var/drwcs/etc, except for the public key. The latter must be saved to /usr/local /drwcs/webmin/install |
◆ | for Solaris OS: to /var/drwcs/etc, except for the public key. The latter must be saved to /opt/drwcs/webmin/install |
In case of manual backup, replace the files in the same folders from which you copied the files before new install.

|
For all backup files from the previous Server version (see step 6) assign the user, selected at the installation of the new Server version (drwcs by default), as files owner.
|
7. | To upgrade the databases, execute the following commands: |
• | for Linux OS and Solaris OS: |
/etc/init.d/drwcsd upgradedb
/usr/local/etc/rc.d/drwcsd.sh upgradedb
9. | Set up repository upgrade and perform the upgrade. |
|