# ADS - Migrate ADS v3.3 to v4.0 migration backup

In a previous entry, same upgrade was implemented using export/import devices, but we will work now performing the same upgrade but now using a migration backup in ADS v3.3 and restoring it in ADS v4.0, this is my preferred was as all settings and administration tasks (scheduled backups and other settings) are included in the migration backup.

The first step is create the migration backup in ADS v3.3 using the following commands:

***mkdir /tmp/backup*** &lt;- create a folder to save the backup file

***cd /opt/avaya/ads/backuprestore*** &lt;- move to the script folder used for the backup

***./migration\_backup.sh /tmp/backup*** &lt;- create a migration backup file in the folder created in the first step

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk-"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-348.png)</figure></div></div>Verify the result backup file created with the following command:

***ls -ltr /tmp/backup***

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--1"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-349.png)</figure></div></div>The next step is to download the file to your PC which will be used in the next steps.

Deploy the OVA for version 4.0, it’s important to note that this deploy will only install the OS required, ADS software needs to be installed and configured.

After VM is installed try log in into the new ADS v4.0 using the default passwords.

You will be forced to change the default password for admin (admin01) and root (root01) users in ADS OS after first login.

As soon as you change the root password, ADS wizard runs by default, it will require default information for OS (hostname, IP, mask, gateway, DNS and timezone).

Make sure old ADS v3.3 is turned off before you take same the IP address to avoid duplicated IP address in your network.

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--2"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-350.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-351.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-352.png)</figure></div></div>At this point ADS is now available in the network.

Upload the migration backup file created at the beginning of this document into ADS v4.0 (you can use any SFTP client like WinSCP) in this case file was uploaded in /home/admin

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--3"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-353.png)</figure></div></div>Avaya Diagnostic Server comes with GA software installer located in /installer, any updates or service packs needs to be applied after installing the GA software.

In this case only ADS 4.0 will be installed (no Policy Manager will be deployed).

Move to /installer/ and extract the files to start the implementation of the ADS, issue the command:

***cd /installer***

***tar -xvf ADS-Installer-4.0.0.0-843.tar.gz***

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--4"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-354.png)</figure></div></div>After extracting, a new folder is now available in the /installer folder, issue the following command to list the folder:

***ls -ltr***

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--5"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-355.png)</figure></div></div>Move to the new folder, use the following command:

***cd ADS-Installer-4.0.0.0-843***

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--6"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-356.png)</figure></div></div>When listing all files inside ***/installer/ADS-Installer-4.0.0.0-843*** you will need to modify ADS\_Response.properties.

This file is used to run a silent installation of ADS.

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--7"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-357.png)</figure></div></div>Use vi or any other text file editor you feel comfortable.

Modify ADS\_Response.properties with the corresponding values

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk-for-the-ads_agreelic"><div class="entry-content wp-block-post-content is-layout-flow">- For the ADS\_AGREELICENSE property in the response file, replace the value n with y.
- For the BACKUP\_FILE\_PATH property, set the value as the full path of the backup file. (include the file name and extension)
- For the AGREE\_ADS\_COMPONENTS\_CORESIDENT property, replace the value n with y, if user is installing both SAL Gateway and SLA Mon.
- For the ADS\_COMPONENT\_TO\_INSTALL property, set the value as 3, if user is installing both SAL Gateway and SLA Mon.

<figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-358.png)</figure></div></div>After ADS installation is completed successfully, you should be able to access the web portal for ADS [https://IP\_Address:7443](https://ip_address:7443)

Verify all managed devices are loaded correctly.

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--8"><figure class="wp-block-image size-large is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-360-1024x746.png)</figure></div>