To restore a DualShield system, you need to restore two parts: the DualShield server software and the DualShield data.

Restore DualShield Server Software

You can restore a DualShield server by simply installing a new DualShield server from the latest version of the DualShield software. The only important thing to note is to provide the same FQDN as the old one to the new DualShield server.

Once the new DualShield server has been installed, stop the DualShield service before you continue to carrry out the steps below. 

Restore DualShield Setting Files


1. Copy all files in "certs\" and "config\" folder in the backup to the folder below on the new DualShield machine:

    C:\Program Files\Deepnet DualShield\certs\ 

    C:\Program Files\Deepnet DualShield\config\

   and overwrite those files on the new machine.

2. Copy "server.xml" and "context.xml" from the backup to the folder below on the new DualShield machine:

   C:\Program Files\Deepnet DualShield\tomcat\conf\

   and overwrite those files on the new machine.

3. Copy the "cacerts" file from the backup to the new machine in a folder, say: C:\temp

4. Execute the following two commands in the Windows console to import cacerts to JavaKeyStore on the new machine:


cd C:\Program Files\Deepnet DualShield\jre\lib\security\

..\..\bin\keytool -importkeystore -srckeystore c:\temp\cacerts -srcstorepass changeit -destkeystore cacerts -deststorepass changeit -srcalias dualultimateca -destalias dualultimateca -srckeypass changeit -destkeypass changeit -noprompt
..\..\bin\keytool -importkeystore -srckeystore c:\temp\cacerts -srcstorepass changeit -destkeystore cacerts -deststorepass changeit -srcalias deepnetownca -noprompt
Restore DualShield Database

If your DualShield server uses a local MySQL database, then copy the database file "mysqlbak.sql" from the backup to the new machine in a folder say: C:\temp, and import it into the database


cd C:\Program Files\Deepnet DualShield\mysql\bin\
mysql -uroot -p -e "drop database dualshield"
mysql -uroot -p -e "create database dualshield DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci"
mysql -uroot -p dualshield < c:\temp\mysqlbak.sql

Finally, start the DualShield service on the new machine

  • No labels