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

warning

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

info

Dr.Web Server start and stop procedure is described in the Administrator Manual, p. Start and Stop Dr.Web Server.

To migrate 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" -verbosity=trace -log="C:\Program Files\DrWeb Server\var\exportdb.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" -verbosity=trace -log="C:\Program Files\DrWeb Server\var\importdb.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" -verbosity=all -log="C:\Program Files\DrWeb Server\var\upgradedb.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 Dr.Web Agents for which the new Dr.Web Server address is set via the Control Center, but not in the Dr.Web Agent settings on the station, keep both Dr.Web Servers operating till the procedure is completed.

info

It is recommended that you use the name of Dr.Web Server in the FQDN format as the Dr.Web Server address.

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

2.For all Dr.Web 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 Another Dr.Web Server section.

For Dr.Web Agents for which the new Dr.Web Server address is set via the Control Center, but not in the Dr.Web Agent settings on 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 Dr.Web Agents connect to the new Dr.Web Server. After this, you can remove the old Dr.Web Server.