Skip to main content Skip to complementary content

Setting up the Qlik Cloud migration tools

Qlik Cloud migration tools help you plan and perform your migration to Qlik Cloud.

Download and install the Qlik Cloud migration tools.

Included in the toolset are:

  • Qlik Sense to SaaS Migration AppQlik Sense app used for managing sequencing and monitoring of your migration.

  • QlikView to SaaS Migration AppQlikView app used for managing sequencing and monitoring of your migration. Utilizing QlikView Governance Dashboard.

  • Migration worksheet—This Microsoft Excel spreadsheet is used to gather lists of users, roles, security rules, licenses, spaces, and more.

  • Migration scripts—Used in the process to migrate to Qlik Cloud.

Warning note

These Tools provide general guidance regarding your organization’s possible migration to Qlik Sense Enterprise SaaS. The information provided by the Tools are general guidelines, and any assessment of migration paths to Qlik Sense Enterprise SaaS for your organization’s needs will require additional due diligence.

The suggestions provided by the Tools are for informational purposes only, and do not represent a warranty or representation by Qlik of the actual Qlik Sense Enterprise SaaS deployment that may best suit your business requirements and preferences. The suggestions are based on the information provided by Customer, and any inaccuracy of, or changes to, the information provided by the Customer may result in significantly different evaluations and results. In the event of any conflict between the results of use of the ESR Tools and Qlik's standard Documentation, the terms of Qlik's standard Documentation shall control.

Revision history

The following table summarizes the changes to the Qlik Cloud migration tools.

Date Notes
May 10, 2022

Initial Release

July 12, 2022

Updated Migration App

New migration scripts

October 20, 2022 Bug fixes
March 7, 2023 The Migration worksheet has been updated to support changes in the user roles
June 29, 2023

Added tools for QlikView migration.

Updated Migration App

New migration scripts

October 31, 2023

Revised 7_migrateapps.ps1. The script can now import apps with Public, Community and Personal contents for Sheets, Bookmarks and Stories and automatically assign to owners.

Some minor revisions to scripts to keep updated with new qlik-cli commands.

November 28, 2023 Additional sheets for capacity model analysis.
May 21, 2024

Updated Migration App:

  • Added the ability to load the app with or without a Cloud Tenant.

  • Added the ability to restrict load to listed Streams.

August 20, 2024

Updated Migration App

The following image shows how migration is performed, and how the migration tools help you move users and assets to the cloud. Data from Qlik Sense Client-Managed and metadata from Qlik Cloud is pulled into the migration app. Migration data tables are saved to a CSV file and imported into Qlik Cloud using the qlik-cli scripts. The migration app is then reloaded to reflect the migration status. This process is essentially the same for all the items that are to be migrated.

Procedure for migrating data from Qlik Sense Client-Managed to Qlik Cloud
The migration app connects to your client-managed deployment and your cloud deployment. The app exports your apps, streams, and data connections as CSV files. These CSV files can then be imported into your cloud deployment using CLI scripts.

Migration scripts

Download the .csv metadata files using the Migration app. The scripts are used to import client-managed assets into cloud. To learn more, see Using migration scripts.

Information noteTo be able to run the scripts, you must browse to the folder where the scripts are located. The scripts need to be run in sequence, because there are dependencies between them.

Migration preparation

The following items will facilitate your migration and provide a recommended work procedure.

  • Topic: Planning your migration to Qlik Cloud. Assessment and preparation are essential for a successful migration.

  • Qlik Cloud migration tools — Zip file that contains:

    • Qlik Cloud Migration App, used for managing sequencing and monitoring of your migration.
    • Migration Worksheet: Excel file. Use this spreadsheet to gather lists of users, roles, security rules, licenses, spaces, and more.
    • Migration scripts for migrating items from Qlik Sense Client-Managed to Qlik Cloud.
  • qlik-cli: Command line interface (CLI), available on Qlik Developer: qlik-cli

After assessment and planning, do the following:

  1. Set up the migration app: Import the app SaaS Migration 1.x.qvf into the Qlik Management Console (QMC), set up REST Connector, modify the load script, and reload the app.

  2. Look up the ID of your tenant. You will find it in Qlik Cloud in your user profile menu, under About.

  3. Configure the migration scripts.

  4. Create and apply tags to apps and data connections.

Setting up the Migration app

This section describes how to import the migration app, create an API key and set up a REST connection, and modify the load script in the app. To learn more, see Setting up the Migration app.

 

Importing the Migration app

Do the following:

  1. In the QMC, open Apps.

  2. Click Import.

  3. Navigate to the app SaaS Migration 1.x.qvf that you have downloaded.

  4. Click Import.

The app is now available in the hub.

Setting up the REST connection

Information noteTo create an API key, you must have the role Developer. The roles is assigned in the Management Console of your tenant.

Begin by creating an API key in your cloud tenant.

Do the following:

  1. In the Management Console of your cloud tenant, open API keys.

  2. Click Generate new.

  3. Click Generate new key.

  4. Enter a key description and set the expiry of the key.

  5. Click Generate.

  6. Copy the API key and store it safely.

Next step is to configure the REST Connector in Qlik Sense Enterprise on Windows.

Do the following:

  1. In Qlik Sense Enterprise on Windows, create a new data connection and select REST as the data source.

    Information noteIf nothing else is stated, keep the default values.
  2. Enter URL in the following format: https://<tenant>.<region>.qlikcloud.com/api/v1/items.

  3. In the section Additional request parameters > Query headers, enter Authorization in the Name field and in the Value field, enter 'Bearer ' followed by the API key that you generated earlier. Note the space between 'Bearer ' and your API key.

  4. In the section Pagination > Pagination type, select Next URL and for 'Next url' path, enter root/links/next/href.

  5. Enter a connection name, for example, REST for Qlik Cloud.

  6. Click Create.

Modifying the load script

Do the following:

  1. In the Qlik Sense hub, open the app SaaS Migration 1.x.qvf.

    The app overview is shown.

  2. Open Data load editor.

  3. Open the ** configuration ** section.

  4. On the row Set vu_tenant_fqdn, enter the fully qualified domain name of your tenant.

    Example: Set vu_tenant_fqdn = 'my_tenant.eu.qlikcloud.com';

  5. On the row Set vu_rest_connection_SaaS, enter the name of the REST connection to your Qlik Cloud tenant.

    Example: Set vu_rest_connection_SaaS = 'MyRESTConnection for SaaS';

  6. On the row SET vu_central_node_host_name, enter the central node host name or the machine name.

    Example 1: SET vu_central_node_host_name = 'sense-central-node'

    Example 2: SET vu_central_node_host_name = 'my-central-node.domain.com'

  7. If your virtual proxy has a prefix, you need to enter it on the row SET vu_virtual_proxy_prefix = '';
    Example: SET vu_virtual_proxy_prefix = 'my-virtual-proxy-prefix';

Load script modification example

Setting up qlik-cli and configuring the migration scripts

Do the following:

  1. Install qlik-cli, a command line interface for Qlik Sense SaaS. It provides access to all public APIs through the command line, making it easier to script and automate new and old workflows. For detailed instructions, see the qlik-cli installation guide.

  2. Make sure that qlik.exe is in your Windows execution path. Depending on how you installed qlik-cli, qlik.exe might not be in the Windows path by default.

  3. Configure a connection to Qlik Cloud by following the steps in the Qlik Cloud authentication setup.

  4. Configure a connection to Qlik Sense Client-Managed, see Qlik Sense: How to set up JWT authentication.

  5. Edit 0_globals.ps1 and set context names for:

    • $QlikSaaSContext

    • $tenantid

      Your TenantID is found under YourUser Profile > About.

    • $MIGRATIONFROM = “Qlik Sense”

    Context name configuration for 0_globals.ps1

    Context name configuration in PowerShell
Information noteRun scripts 1 to 7 in sequence, because there are dependencies between them. For example, the script 2_setspaces.ps1 assumes that users are already in the system as a result of running the script 1_setusers.ps1.
Tip noteTo learn more, see Set up and configure Qlik CLI.

Creating and applying tags

It's a good idea to provide Content Admin rights to people who can assess and tag apps and data connections.

  1. Create the following tags in the QMC, Tags section, for Qlik Sense Client-Managed:

    • Con Status - 05 Selected

    • Con Status - 10 Configured

    • Con Status - 20 Tested

    • Con Status - 30 Completed

    • Con Status - 99 Not Required

    • Con Type Data Files

    • Con Type Data Gateway - Data Access

    • Con Type Native Connector

    • App - 05 Migrated via Multi-Cloud

    • App - 05 URL Link to Qlik Sense Windows

    • App - 10 Selected for Migration Review

    • App - 20 Migration Remediation Needed

    • App - 30 Ready to Migrate

    • App - 40 Migration Complete

    • App - 99 Will Not Migrate

  2. Assess the apps and data connections and apply the tags accordingly.

  3. In the QMC Apps section, select the apps that will have the same tag.

  4. Click Edit and select the appropriate tag.

Work iteratively with a few different app types at a time and review migration progress in the sheet Application SaaS Migration Status in the SaaS Migration app, see Migrating apps.

Learn more

Visit the discussion forum at community.qlik.com

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!