Moving Dr.Web Server to Another Computer (under Windows OS)

warning

After moving Dr.Web Server to another computer, pay attention on transport protocols settings and, if necessary, edit corresponding settings in the Administration → Dr.Web Server configuration section, the Transport tab.

info

Procedure of how to start and stop Dr.Web Server is described in the Administrator Manual, p. Start and Stop Dr.Web Server.

To transfer Dr.Web Server (for the similar Dr.Web Server versions) under Windows OS

1.Stop Dr.Web Server.

2.Run drwcsd.exe using the modexecdb database-export switch to export the content of the database to a file. The full command line (for Windows) looks as follows:

"C:\Program Files\DrWeb Server\bin\drwcsd.exe" -log=drwcsd.log modexecdb database-export <full_filename>

3.Backup the C:\Program Files\DrWeb Server\etc folder.

4.Remove the Dr.Web Server software.

5.Install the new Dr.Web Server (empty, with the new DB) at the necessary computer. Stop Dr.Web Server via the Windows OS service administrative loots or via Dr.Web Security Control Center.

6.Copy the automatic saved etc folder to the C:\Program Files\DrWeb Server\etc folder.

7.Run drwcsd.exe using the modexecdb database-import switch to import the content of the database from a file. The full command line (for Windows) looks as follows:

"C:\Program Files\DrWeb Server\bin\drwcsd.exe" -log=drwcsd.log modexecdb database-import <full_filename>

8.Start Dr.Web Server.

info

In case of using embedded DB, it is not necessary to export and import DB. Just save the database.sqlite file and replace the new DB file at the installed Dr.Web Server by an old DB file from the previous version of Dr.Web Server.

To transfer Dr.Web Server (for the different Dr.Web Server versions) under Windows OS

1.Stop Dr.Web Server.

2.Save the database via the SQL server tools (in case of using embedded DB, just save the database.sqlite file).

3.Backup the C:\Program Files\DrWeb Server\etc folder.

4.Remove the Dr.Web Server software.

5.Install the new Dr.Web Server (empty, with the new DB) at the necessary computer. Stop Dr.Web Server via the Windows OS service administrative loots or via Dr.Web Security Control Center.

6.Copy the automatic saved etc folder to the C:\Program Files\DrWeb Server\etc folder.

7.Restore the DB on new Dr.Web Server and specify the path to the DB in the drwcsd.conf configuration file.

8.Run drwcsd.exe using the modexecdb database-upgrade switch to upgrade the database. The full command line (for Windows) looks as follows:

"C:\Program Files\DrWeb Server\bin\drwcsd.exe" -log=drwcsd.log modexecdb database-upgrade

9.Start Dr.Web Server.

If Dr.Web Server name or IP address is changed during the transfer:

warning

For the possibility of transfer of Agents for which the new Dr.Web Server address is set via the Control Center, but not in the Agent settings at the station, keep both Dr.Web Servers operating till the procedure is completed.

1.Transfer Dr.Web Server according to the corresponding procedure, described above.

2.For all Agents, which are served by transferred Dr.Web Server, specify the address of the new Dr.Web Server according to the procedure described in the Connecting Dr.Web Agent to Other Dr.Web Server section.

For the Agents for which the new Dr.Web Server address is set via the Control Center, but not in the Agent settings at the station, on both Dr.Web Servers in the Agent settings, the new Dr.Web Server IP address must be specified.

3.Wait until all Agents connect to the new Dr.Web Server. After this, you can remove the old Dr.Web Server.