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

Top  Previous  Next

After moving the 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.

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 service.

2.Run drwcsd.exe using the exportdb 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" exportdb <file_path>

3.Backup the C:\Program Files\DrWeb Server\etc folder and the drwcsd.pub key from the \Program Files\DrWeb Server\Installer folder.

4.Remove the Server software.

5.Install the new Server (empty, with the new DB) at the necessary computer. Stop the 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 and the drwcsd.pub key to the C:\Program Files\DrWeb Server\Installer folder.

7.Run drwcsd.exe using the importdb 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" importdb <file_path>

8.Start Dr.Web Server service.

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 Server by an old DB file from the previous version of the Server.

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

1.Stop the 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 and the drwcsd.pub key from the \Program Files\DrWeb Server\Installer folder.

4.Remove Dr.Web Server software.

5.Install the new Server (empty, with the new DB) at the necessary computer. Stop the 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 and the drwcsd.pub key to the C:\Program Files\DrWeb Server\Installer folder.

7.Restore the DB on new Server and specify the path to the DB in the configuration file.

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

"C:\Program Files\DrWeb Server\bin\drwcsd.exe" upgradedb "C:\Program Files\DrWeb Server\update-db"

9.Start the Server.

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

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

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

2.For all Agents, which are served by transferred Server, specify the address of the new 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 Server address is set via the Control Center, but not in the Agent settings at the station, on both Servers in the Agent settings, the new Server IP address must be specified.

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