Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
May 17, 2023 5:08:35 AM
Apr 17, 2023 12:48:29 AM
This article gives an overview of exporting the Qlik Sense apps from the source to a target shared space for backup purposes using Qlik Application Automation.
It explains a basic example of a template configured in Qlik Application Automation for this scenario.
You can make use of the template which is available in the template picker. You can find it by navigating to Add new -> New automation -> Search templates and searching for 'Export an app to a shared space as a backup' in the search bar and clicking on the Use template option in order to use it in the automation.
You will find a version of this automation attached to this article: "Export-app-to-shared-space.json". More information on importing automations can be found here.
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.
Export Qlik Sense Apps to GitHub
I have implemented this automation in our Qlik Cloud environment. The only changes, that I have made to the automation is to change the ID's of the source and the target space. After that I ran the automation and it worked just fine.
The problem, though, is that when I rerun the automation, I keep getting errors. Errors happen in the section where the automation tries to delele apps, that are already backed up. As an example I get the following error (and it is the same if I rerun the automation again, but the next time with an error for a different app-id).
Has anybody experienced the same and found a solution to this?
BR Kim
What I have found out when I look at the "History" for the block where the automation tries to delete the old version of already backed up apps is that it seems to try to delete the same app twice - and it fails at the second attempt, which makes sense if it has already been deleted the first time around.
But why does it try to delete the same app twice? I do not quite understand that. Anyone?
First attempt (successful):
Second attempt (unsuccessful):
BR Kim