Migrating Acunetix On-Premises to Another Server

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, create a batch file axbackup.bat as follows:

net stop "Acunetix"

net stop "Acunetix Database"

if not exist %userprofile%\axbak\ mkdir %userprofile%\axbak

tar -zcvf %userprofile%\axbak\ax_backup.tar.gz --exclude *ProgramData/Acunetix/certs* C:\ProgramData\Acunetix

net start "Acunetix Database"

net start "Acunetix"

Start an Administrative command line, and run the axbackup.bat file.

This makes a backup of your data into the axbak folder inside the current user's home folder. Copy the contents of this folder into a parallel axbak folder in the current user's home folder 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, start an Administrative command line, and run the following commands:

C:\Windows\system32>cd C:\

C:\>tar -zxvf %userprofile%\axbak\ax_backup.tar.gz

Now proceed to install Acunetix from the downloaded EXE file.

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 uninstall Acunetix from the source machine.

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

 

« Back to the Acunetix Support Page