Migrating Acunetix On-Premises to Another Server

Migrating to a new Linux Machine

These steps were tested on a Ubuntu 64-bit 20.04.1 setup.

Step 1 - Source Machine backup

🔍 Important! - Version Number of Acunetix on source machine

You must make sure that the version of Acunetix you are using on the source machine has been fully updated to the latest version. Take a note of the version number to compare with the version number on the destination machine.

On the source machine, start a terminal, and run the following commands:

sudo su

systemctl stop acunetix

cd /home/acunetix/.acunetix

mkdir ~/axbak

tar -zcvf ~/axbak/ax_data.tar data/

tar -zcvf ~/axbak/ax_db.tar db/

cp wvs.ini ~/axbak/

This makes a backup of your data into the axbak folder inside the root user's home folder. Copy the contents of this folder into a parallel axbak folder in the root user's home folder on the destination machine.

Step 2 - Destination Machine restore

On the destination machine, install Acunetix and complete the activation process.

🔍 Important! - Version Number of Acunetix on destination machine

You must make sure that the version of Acunetix you are using on the destination machine has been fully updated to the latest version and matches the version number on the source machine.

Next, start a terminal, and run the following commands:

sudo su

systemctl stop acunetix

cd /home/acunetix/.acunetix

rm -rf data/

rm -rf db/

rm wvs.ini

tar -zxvf ~/axbak/ax_data.tar

tar -zxvf ~/axbak/ax_db.tar

cp ~/axbak/wvs.ini .

chown -R acunetix:acunetix /home/acunetix/.acunetix/

systemctl start acunetix

Your Acunetix install will be completed with the data migrated to the destination machine.

Step 3 - Delete Acunetix from the Source Machine

You can now proceed to delete Acunetix from the source machine from the terminal with:

sudo su

cd /home/acunetix/.acunetix/

./Uninstall

Migrating to a new MacOSX Machine

Step 1 - Source Machine backup

🔍 Important! - Version Number of Acunetix on source machine

You must make sure that the version of Acunetix you are using on the source machine has been fully updated to the latest version. Take a note of the version number to compare with the version number on the destination machine.

On the source machine, start a terminal, and run the following commands:

sudo su

cd /Applications/Acunetix.app/Contents/Resources

launchctl stop com.acunetix.AcunetixBackend.plist

launchctl stop com.acunetix.AcunetixDatabase.plist

mkdir ~/axbak

tar -zcvf ~/axbak/ax_data.tar data/

tar -zcvf ~/axbak/ax_db.tar db/

cp wvs.ini ~/axbak/

This makes a backup of your data into axbak folder inside the root user's home folder. Copy the contents of this folder into a parallel axbak folder in the root user's home folder on the destination machine.

Step 2 - Destination Machine restore

On the destination machine, install Acunetix and complete the activation process.

🔍 Important! - Version Number of Acunetix on destination machine

You must make sure that the version of Acunetix you are using on the destination machine has been fully updated to the latest version and matches the version number on the source machine.

Next, start a terminal, and run the following commands:

sudo su

cd /Applications/Acunetix.app/Contents/Resources

launchctl stop com.acunetix.AcunetixBackend.plist

launchctl stop com.acunetix.AcunetixDatabase.plist

rm -rf data/

rm -rf db/

rm wvs.ini

tar -zxvf ~/axbak/ax_data.tar

tar -zxvf ~/axbak/ax_db.tar

cp ~/axbak/wvs.ini .

chown -R _acunetix:_acunetix /Applications/Acunetix.app/Contents/

reboot

After the reboot, your Acunetix install will be completed with the data migrated to the destination machine.

Step 3 - Delete Acunetix from the Source Machine

You can now proceed to delete Acunetix from the source machine from the terminal with:

sudo su

cd /Applications/Acunetix.app/Contents/MacOS

./Uninstall

Migrating to a new Windows Machine

Step 1 - Source Machine backup

🔍 Important! - Version Number of Acunetix on source machine

You must make sure that the version of Acunetix you are using on the source machine has been fully updated to the latest version. Take a note of the version number to compare with the version number on the destination machine.

On the source machine:

  • stop the Acunetix service
  • stop the Acunetix Database service
  • copy the C:\ProgramData\Acunetix folder from the source machine to the same location on the destination machine

Step 2 - Destination Machine restore

🔍 Important! - Version Number of Acunetix on destination machine

You must make sure that the version of Acunetix you are using on the destination machine has been fully updated to the latest version and matches the version number on the source machine.

On the destination machine:

  • remove the C:\ProgramData\Acunetix\certs folder and its contents
  • install Acunetix

Your Acunetix install is completed with the data migrated to the destination machine.

Step 3 - Delete Acunetix from the Source Machine

You can now proceed to delete Acunetix from the source machine.

 

« Back to the Acunetix Support Page