<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Qlik Replicate Upgrade Instructions for Windows and Linux: 2022 and 2023 in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Upgrade-Instructions-for-Windows-and-Linux-2022/ta-p/2454633</link>
    <description>&lt;P&gt;This article aims to guide the user through the backup and upgrade procedure of Qlik Replicate&amp;nbsp;from 2022.5 to 2023.11 and 2023.5 to 2023.11 on Windows and Linux platforms.&lt;/P&gt;
&lt;BLOCKQUOTE class="quote"&gt;Beginning with Qlik Replicate version 2023.5, Qlik Replicate no longer uses the serviceconfiguration.xml file.&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Content:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-TOC indent="15" liststyle="none" maxheadinglevel="4"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Upgrading Qlik Replicate on Windows&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;Before you begin upgrading Qlik Replicate, choose one of two possible methods. Each begins with a different &lt;STRONG&gt;Backup&lt;/STRONG&gt; strategy. The backup strategy decides whether or not you can resume tasks after the upgrade.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Method One; Full Task Backup&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;SPAN class="diff-html-changed"&gt;This is the recommended method. It allows for tasks to be resumed should a restore be necessary. However, if the &lt;STRONG&gt;data &lt;/STRONG&gt;folder&amp;nbsp;in your Qlik Replicate environment is too large to allow for a full backup, refer to&amp;nbsp;&lt;STRONG&gt;Method Two&amp;nbsp;&lt;/STRONG&gt;as outlined below.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Qlik Replicate tasks and instances&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Backup the Qlik Replicate &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory by copying (not moving) it to a location outside of the product folder. This can be a separate drive or a backup drive.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Run the Qlik executable to upgrade (&lt;FONT face="courier new,courier"&gt;QlikReplicate_&amp;lt;version-build&amp;gt;_ X64.exe&lt;/FONT&gt;) with elevated permissions (Right-Click, Run as Administrator).&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Start all Qlik Replicate instances and resume your tasks. After verifying that the upgrade has succeeded, the backed up &lt;STRONG&gt;data&amp;nbsp;&lt;/STRONG&gt;folder can be removed.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Method Two; Task Configuration and Server Configuration Backup&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;This method does not retain the task working stage. Tasks will require a full load in case of a restore.&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open an elevated Windows command prompt&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Navigate to the product&amp;nbsp;&lt;STRONG&gt;bin&amp;nbsp;&lt;/STRONG&gt;directory, such as:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&amp;lt;PRODUCT_DIR&amp;gt;\bin&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Run: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;repctl &lt;STRONG&gt;-d&lt;/STRONG&gt; &lt;STRONG&gt;alternate_data_directory&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;_path&lt;/STRONG&gt; exportrepository&lt;/FONT&gt; &lt;BR /&gt;&lt;BR /&gt;Where &lt;FONT face="courier new,courier"&gt;[&lt;STRONG&gt;-d &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;alternate_data_directory_path&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;]&lt;/FONT&gt; is required if the Qlik Replicate &lt;STRONG&gt;data&lt;/STRONG&gt; directory is not in its default location.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;~\replicate\bin &amp;gt; repctl -d “D:\application\replicate\data” exportrepository&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;This example command extracts the Qlik Replicate tasks and server configuration to a file called &lt;STRONG&gt;Replication_Definition.json&lt;/STRONG&gt; stored in &lt;FONT face="courier new,courier"&gt;~\data\imports&lt;/FONT&gt;.&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Run the Qlik executable to upgrade (&lt;FONT face="courier new,courier"&gt;QlikReplicate_&amp;lt;version-build&amp;gt;_ X64.exe&lt;/FONT&gt;) with elevated permissions (Right-Click, Run as Administrator).&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Verify that the upgrade has completed successfully.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Revert or Rollback&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;If you encounter any issues, revert back to your previous version of Qlik Replicate using one of the two methods below, depending on which backup strategy you decided originally.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Rollback with Backup Method One:&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Qlik Replicate tasks and Qlik Replicate services, such as the Replicate Server and Replicate UI server&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Uninstall the Qlik Replicate product&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Overwrite the &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory with the &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory which was previously backed up&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Using the earlier version, reinstall the product to the same product directory and data folder&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Once installation is completed, log in and resume the tasks&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Rollback with Backup Method Two:&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Qlik Replicate instances&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Uninstall Qlik Replicate using the the Windows&amp;nbsp;&lt;STRONG&gt;Add/Remove Programs&amp;nbsp;&lt;/STRONG&gt;feature&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Rename the &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory to &lt;STRONG&gt;data_backup&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Install the earlier version&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Once installation is complete, open an elevated (administrator) Windows command prompt&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Navigate to the product &lt;STRONG&gt;bin&lt;/STRONG&gt; directory, such as: &lt;FONT face="courier new,courier"&gt;&amp;lt;PRODUCT_DIR&amp;gt;\bin&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Run the following command:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;repctl -d [data=data-directory] importrepository json_file=Full path to the exported *.json file&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Where &lt;FONT face="courier new,courier"&gt;[data=data-directory]&lt;/FONT&gt; is only required if you installed the Replicate &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory to a non-default location.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;~\replicate\bin&amp;gt;repctl -d "c:\Program Files\Attunity\Replicate\data" importrepository json_file="c:\Program Files\Attunity\Replicate\data\imports\Replication_Definition.json"&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Restart your Qlik Replicate Server and UI server services from Windows Services&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Reload (full load) your tasks&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Upgrading Qlik Replicate on Linux&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;Before you begin upgrading Qlik Replicate, choose one of two possible methods. Each begins with a different &lt;STRONG&gt;Backup&lt;/STRONG&gt; strategy. The backup strategy decides whether or not you can resume tasks after the upgrade.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Method One; Full Task Backup&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;This is the recommended method. It allows for tasks to be resumed in case of a restore. However, if the data folder&amp;nbsp;in your Qlik Replicate environment is too large to allow for a full backup, refer to&amp;nbsp;&lt;STRONG&gt;Method Two&lt;/STRONG&gt;&amp;nbsp;as outlined below.&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Qlik Replicate tasks and instances&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Backup the Qlik Replicate &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory by copying (not moving) it to a location outside of the product folder. This can be a separate drive or a backup drive.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Run the upgrade: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;rpm -U[vh]&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;areplicate-&amp;lt;version-build&amp;gt;.x86_64.rpm&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Start the Qlik Replicate instances and resume your tasks&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Method Two; Task Configuration and Server Configuration Backup&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;This method does not retain the task working stage. Tasks will require a full load if a restore is necessary.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Source the&lt;STRONG&gt; arep_login.sh&lt;/STRONG&gt; to pick up the libraries: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;source /opt/attunity/replicate/bin/arep_login.sh&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;From the Qlik Replicate Command Line Console, run the following command:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;/opt/attunity/replicate/bin/repctl -d data-directory exportrepository&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Example: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;repctl -d /software/attunity/data exportreposit&lt;/FONT&gt;ory&lt;BR /&gt;&lt;BR /&gt;This will create a json file in &lt;FONT face="courier new,courier"&gt;~/software/attunity/data /imports&lt;/FONT&gt; &lt;SPAN&gt;if successful.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL start="3"&gt;
&lt;LI&gt;Run the upgrade, example:&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;rpm -U[vh]&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;areplicate-&amp;lt;version-build&amp;gt;.x86_64.rpm&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Revert or Rollback&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;If you encounter any issues, revert back to your previous version of Qlik Replicate using one of the two methods below, depending on which backup strategy you decided originally.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Rollback with Backup Method One:&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Qlik Replicate tasks and Qlik Replicate services&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Stop the service:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/opt/attunity/replicate/bin/areplicate stop&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Uninstall Qlik Replicate:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;rpm -e areplicate&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Overwrite the &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory with the previously backed up&amp;nbsp;&lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Using the version you had installed previously, reinstall the product to the same product directory and data folder&lt;BR /&gt;&lt;BR /&gt;Example: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;user=attunity group=Attunity verbose=true debug=true nocredentials=true data=/opt/Attunity/replicate/data rpm -ivh areplicate-&amp;lt;version-build&amp;gt;.x86_64.rpm&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL start="6"&gt;
&lt;LI&gt;Once installation is completed, log in and resume all tasks.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Rollback with Backup Method Two:&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Replicate tasks and Replicate services.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Stop the service:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/opt/attunity/replicate/bin/areplicate stop&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Uninstall Qlik Replicate:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;rpm -e areplicate&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Rename the &lt;STRONG&gt;data&lt;/STRONG&gt; directory to &lt;STRONG&gt;data_backup&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Using the version you had installed previously, reinstall the product to the same product directory and data folder&lt;BR /&gt;&lt;BR /&gt;Example: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;user=attunity group=Attunity verbose=true debug=true nocredentials=true rpm -ivh areplicate-&amp;lt;version-build&amp;gt;.x86_64.rpm&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL start="6"&gt;
&lt;LI&gt;Once installation is complete, run the below command to restore tasks and server configuration: &lt;BR /&gt;&lt;BR /&gt;From &lt;FONT face="courier new,courier"&gt;~/replicate/bin &amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;source /opt/attunity/replicate/bin/arep_login.sh&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;repctl -d [data=data-directory] importrepository json_file="Full path to the exported *.json file"&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;/FONT&gt;Where &lt;FONT face="courier new,courier"&gt;[data=data-directory]&lt;/FONT&gt; is only required if you installed the Replicate &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory to a non-default location.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;~/replicate/bin&amp;gt;repctl -d "/opt/Attunity/replicate/data" importrepository json_file="/opt/Attunity/replicate/data/imports/Replication_Definition.json"&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Restart Qlik Replicate:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/opt/attunity/replicate/bin/areplicate restart&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Login back in to UI and verify that all tasks and settings have been restored. Tasks will need to be freshly reloaded (Full Load).&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2024 13:46:04 GMT</pubDate>
    <dc:creator>Steve_Nguyen</dc:creator>
    <dc:date>2024-05-23T13:46:04Z</dc:date>
    <item>
      <title>Qlik Replicate Upgrade Instructions for Windows and Linux: 2022 and 2023</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Upgrade-Instructions-for-Windows-and-Linux-2022/ta-p/2454633</link>
      <description>&lt;P&gt;This article aims to guide the user through the backup and upgrade procedure of Qlik Replicate&amp;nbsp;from 2022.5 to 2023.11 and 2023.5 to 2023.11 on Windows and Linux platforms.&lt;/P&gt;
&lt;BLOCKQUOTE class="quote"&gt;Beginning with Qlik Replicate version 2023.5, Qlik Replicate no longer uses the serviceconfiguration.xml file.&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Content:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-TOC indent="15" liststyle="none" maxheadinglevel="4"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Upgrading Qlik Replicate on Windows&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;Before you begin upgrading Qlik Replicate, choose one of two possible methods. Each begins with a different &lt;STRONG&gt;Backup&lt;/STRONG&gt; strategy. The backup strategy decides whether or not you can resume tasks after the upgrade.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Method One; Full Task Backup&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;&lt;SPAN class="diff-html-changed"&gt;This is the recommended method. It allows for tasks to be resumed should a restore be necessary. However, if the &lt;STRONG&gt;data &lt;/STRONG&gt;folder&amp;nbsp;in your Qlik Replicate environment is too large to allow for a full backup, refer to&amp;nbsp;&lt;STRONG&gt;Method Two&amp;nbsp;&lt;/STRONG&gt;as outlined below.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Qlik Replicate tasks and instances&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Backup the Qlik Replicate &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory by copying (not moving) it to a location outside of the product folder. This can be a separate drive or a backup drive.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Run the Qlik executable to upgrade (&lt;FONT face="courier new,courier"&gt;QlikReplicate_&amp;lt;version-build&amp;gt;_ X64.exe&lt;/FONT&gt;) with elevated permissions (Right-Click, Run as Administrator).&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Start all Qlik Replicate instances and resume your tasks. After verifying that the upgrade has succeeded, the backed up &lt;STRONG&gt;data&amp;nbsp;&lt;/STRONG&gt;folder can be removed.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Method Two; Task Configuration and Server Configuration Backup&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;This method does not retain the task working stage. Tasks will require a full load in case of a restore.&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open an elevated Windows command prompt&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Navigate to the product&amp;nbsp;&lt;STRONG&gt;bin&amp;nbsp;&lt;/STRONG&gt;directory, such as:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&amp;lt;PRODUCT_DIR&amp;gt;\bin&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Run: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;repctl &lt;STRONG&gt;-d&lt;/STRONG&gt; &lt;STRONG&gt;alternate_data_directory&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;_path&lt;/STRONG&gt; exportrepository&lt;/FONT&gt; &lt;BR /&gt;&lt;BR /&gt;Where &lt;FONT face="courier new,courier"&gt;[&lt;STRONG&gt;-d &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;alternate_data_directory_path&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;]&lt;/FONT&gt; is required if the Qlik Replicate &lt;STRONG&gt;data&lt;/STRONG&gt; directory is not in its default location.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;~\replicate\bin &amp;gt; repctl -d “D:\application\replicate\data” exportrepository&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;This example command extracts the Qlik Replicate tasks and server configuration to a file called &lt;STRONG&gt;Replication_Definition.json&lt;/STRONG&gt; stored in &lt;FONT face="courier new,courier"&gt;~\data\imports&lt;/FONT&gt;.&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Run the Qlik executable to upgrade (&lt;FONT face="courier new,courier"&gt;QlikReplicate_&amp;lt;version-build&amp;gt;_ X64.exe&lt;/FONT&gt;) with elevated permissions (Right-Click, Run as Administrator).&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Verify that the upgrade has completed successfully.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Revert or Rollback&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;If you encounter any issues, revert back to your previous version of Qlik Replicate using one of the two methods below, depending on which backup strategy you decided originally.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Rollback with Backup Method One:&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Qlik Replicate tasks and Qlik Replicate services, such as the Replicate Server and Replicate UI server&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Uninstall the Qlik Replicate product&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Overwrite the &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory with the &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory which was previously backed up&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Using the earlier version, reinstall the product to the same product directory and data folder&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Once installation is completed, log in and resume the tasks&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Rollback with Backup Method Two:&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Qlik Replicate instances&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Uninstall Qlik Replicate using the the Windows&amp;nbsp;&lt;STRONG&gt;Add/Remove Programs&amp;nbsp;&lt;/STRONG&gt;feature&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Rename the &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory to &lt;STRONG&gt;data_backup&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Install the earlier version&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Once installation is complete, open an elevated (administrator) Windows command prompt&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Navigate to the product &lt;STRONG&gt;bin&lt;/STRONG&gt; directory, such as: &lt;FONT face="courier new,courier"&gt;&amp;lt;PRODUCT_DIR&amp;gt;\bin&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Run the following command:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;repctl -d [data=data-directory] importrepository json_file=Full path to the exported *.json file&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Where &lt;FONT face="courier new,courier"&gt;[data=data-directory]&lt;/FONT&gt; is only required if you installed the Replicate &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory to a non-default location.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;~\replicate\bin&amp;gt;repctl -d "c:\Program Files\Attunity\Replicate\data" importrepository json_file="c:\Program Files\Attunity\Replicate\data\imports\Replication_Definition.json"&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Restart your Qlik Replicate Server and UI server services from Windows Services&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Reload (full load) your tasks&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Upgrading Qlik Replicate on Linux&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;Before you begin upgrading Qlik Replicate, choose one of two possible methods. Each begins with a different &lt;STRONG&gt;Backup&lt;/STRONG&gt; strategy. The backup strategy decides whether or not you can resume tasks after the upgrade.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Method One; Full Task Backup&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;This is the recommended method. It allows for tasks to be resumed in case of a restore. However, if the data folder&amp;nbsp;in your Qlik Replicate environment is too large to allow for a full backup, refer to&amp;nbsp;&lt;STRONG&gt;Method Two&lt;/STRONG&gt;&amp;nbsp;as outlined below.&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Qlik Replicate tasks and instances&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Backup the Qlik Replicate &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory by copying (not moving) it to a location outside of the product folder. This can be a separate drive or a backup drive.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Run the upgrade: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;rpm -U[vh]&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;areplicate-&amp;lt;version-build&amp;gt;.x86_64.rpm&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Start the Qlik Replicate instances and resume your tasks&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Method Two; Task Configuration and Server Configuration Backup&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;This method does not retain the task working stage. Tasks will require a full load if a restore is necessary.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Source the&lt;STRONG&gt; arep_login.sh&lt;/STRONG&gt; to pick up the libraries: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;source /opt/attunity/replicate/bin/arep_login.sh&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;From the Qlik Replicate Command Line Console, run the following command:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;/opt/attunity/replicate/bin/repctl -d data-directory exportrepository&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Example: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;repctl -d /software/attunity/data exportreposit&lt;/FONT&gt;ory&lt;BR /&gt;&lt;BR /&gt;This will create a json file in &lt;FONT face="courier new,courier"&gt;~/software/attunity/data /imports&lt;/FONT&gt; &lt;SPAN&gt;if successful.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL start="3"&gt;
&lt;LI&gt;Run the upgrade, example:&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;rpm -U[vh]&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;areplicate-&amp;lt;version-build&amp;gt;.x86_64.rpm&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Revert or Rollback&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;P&gt;If you encounter any issues, revert back to your previous version of Qlik Replicate using one of the two methods below, depending on which backup strategy you decided originally.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Rollback with Backup Method One:&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Qlik Replicate tasks and Qlik Replicate services&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Stop the service:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/opt/attunity/replicate/bin/areplicate stop&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Uninstall Qlik Replicate:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;rpm -e areplicate&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Overwrite the &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory with the previously backed up&amp;nbsp;&lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Using the version you had installed previously, reinstall the product to the same product directory and data folder&lt;BR /&gt;&lt;BR /&gt;Example: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;user=attunity group=Attunity verbose=true debug=true nocredentials=true data=/opt/Attunity/replicate/data rpm -ivh areplicate-&amp;lt;version-build&amp;gt;.x86_64.rpm&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL start="6"&gt;
&lt;LI&gt;Once installation is completed, log in and resume all tasks.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Rollback with Backup Method Two:&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Replicate tasks and Replicate services.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Stop the service:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/opt/attunity/replicate/bin/areplicate stop&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Uninstall Qlik Replicate:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;rpm -e areplicate&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Rename the &lt;STRONG&gt;data&lt;/STRONG&gt; directory to &lt;STRONG&gt;data_backup&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Using the version you had installed previously, reinstall the product to the same product directory and data folder&lt;BR /&gt;&lt;BR /&gt;Example: &lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;user=attunity group=Attunity verbose=true debug=true nocredentials=true rpm -ivh areplicate-&amp;lt;version-build&amp;gt;.x86_64.rpm&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL start="6"&gt;
&lt;LI&gt;Once installation is complete, run the below command to restore tasks and server configuration: &lt;BR /&gt;&lt;BR /&gt;From &lt;FONT face="courier new,courier"&gt;~/replicate/bin &amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;source /opt/attunity/replicate/bin/arep_login.sh&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;repctl -d [data=data-directory] importrepository json_file="Full path to the exported *.json file"&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;/FONT&gt;Where &lt;FONT face="courier new,courier"&gt;[data=data-directory]&lt;/FONT&gt; is only required if you installed the Replicate &lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;directory to a non-default location.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;~/replicate/bin&amp;gt;repctl -d "/opt/Attunity/replicate/data" importrepository json_file="/opt/Attunity/replicate/data/imports/Replication_Definition.json"&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Restart Qlik Replicate:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/opt/attunity/replicate/bin/areplicate restart&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Login back in to UI and verify that all tasks and settings have been restored. Tasks will need to be freshly reloaded (Full Load).&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 13:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Upgrade-Instructions-for-Windows-and-Linux-2022/ta-p/2454633</guid>
      <dc:creator>Steve_Nguyen</dc:creator>
      <dc:date>2024-05-23T13:46:04Z</dc:date>
    </item>
  </channel>
</rss>

