Migrating Acunetix On-Premises to Another Server

Method 1 - 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

Firstly, proceed to install Acunetix from the downloaded EXE file. (You can download the installation file using your license key information from here)

🔍 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:

net stop "Acunetix"

net stop "Acunetix Database"

C:\Windows\system32>cd C:\

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

net start "Acunetix Database"

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

Method 2:

No tar in your operating system? To migrate Acunetix on-premises to another server, follow these steps:

Please note that you need to use CMD. Do not use PowerShell.

  1. Download 7zip and install it to your Source Machine.
  2. On the source machine, start an Administrative command line, and run the following commands:

net stop "Acunetix"

net stop "Acunetix Database"

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

"C:\Program Files\7-Zip\7z.exe" a -tzip %userprofile%\axbak\ax_backup.zip C:\ProgramData\Acunetix -x!Acunetix\certs

net start "Acunetix Database"

net start "Acunetix"

  1. Copy the axbak folder into the destination machine
  2. Now proceed to install Acunetix from the downloaded EXE file. (You can download the installation file using your license key information from here)
  3. On the destination machine, start an Administrative command line, change directory to the axbak folder (in which the  ax_backup.zip file exists), and then run the following commands:

net stop "Acunetix"

net stop "Acunetix Database"

copy ax_backup.zip c:\ProgramData

cd c:\ProgramData

tar -zxvf ax_backup.zip

net start "Acunetix Database"

net start "Acunetix"

Your Acunetix install is completed with the data migrated to the destination 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