The previous post focused on how to do a high level backup of all information in a client-managed Qlik Sense Enterprise on Windows (QSEoW) cluster.
Let’s dig into details a bit and take a look at how we can do more granular backups of various parts of QSEoW. Specifically, this article looks at how to back up
all data connections to JSON. Useful to verify that a set of data connections has the needed settings or to just keep track of what data connections exist. Or as a reference if a change in data connection settings doesn’t work as intended.
all security rules to JSON and structured text files. Separate files are created for readonly, default and custom security rules, making it super simple to see what rules have been changed and which ones are still in their default state.
all tags and custom properties to JSON and structured text files. Large Sense environments tend to have lots of tags and/or custom properties, with associated difficulty to get an overview of things. Being able to have all tags/custom properties in a single text file can be useful both in daily operations and as backup.
You could argue that exporting these things should be a standard feature of the Qlik Management Console (QMC)…
But they are not.
The good news is that the Sense APIs make it reasonably easy to use PowerShell scripts to extract the information of interest.
A great use case for the scripts in this blog post is to do automated daily/weekly/monthly backups of these Sense resources. Having easy access to past versions of security rules or data connection settings can for example be extremely useful if you happen to make a config change that doesn’t work out as planned..
Over the years there has been numerous discussion in the Qlik community about how to best back up a client-managed Qlik Sense Enterprise on Windows system (QSEoW).
The backup and data security policies of different organisations of course differs, but if we focus on the Qlik Sense side of things there is a relatively well defined set of data that should be backed up.
This article is an attempt to pull together 10 years of experience doing various backup solutions for Qlik Sense into a single PowerShell script that can do unattended, automatic backups of QSEoW.
A second part of this article will focus on backing up apps from Qlik Sense.
…and a new version of everyone’s favourite tool for creating #Qlik Sense sheet icons.
Following up on last week’s release, version 2.1 is now out.
Largely based on feedback from the v2.0, the new version adds:
1️⃣ Exclude some sheets from getting new sheet thumbnail icons. An intro sheet in all apps that shouldn’t be touched? No problem! 2️⃣ New command to remove all sheet icons from one or many Sense apps. Can come in handy when you deal with large number of Sense apps in automated CI/CD pipelines etc. 3️⃣ Bug fixes and updated documentation.
Pre-built binaries for Windows and macOS available on GitHub: https://github.com/ptarmiganlabs/butler-sheet-icons/releases
Docker images on Docker Hub: https://hub.docker.com/r/ptarmiganlabs/butler-sheet-icons/tags
It’s an open source tool that will take screen shots of all sheets in a Qlik Sense Enterprise on Windows app, upload the images to a content library and finally set the sheet icons of each sheet. Automatically.
The tool is cross platform (Windows, MacOS, Linux, Docker). A single command will update all sheets in an app. Add a few lines of PowerShell script and you can automatically update all sheets in all apps… Or run it as a Docker container as part of your CI/CD workflow. Or manually when you have made UI changes to your Sense app.
Feel free to try it out, feedback, report bugs or contribute with new features!
The step from 4.x to 5.0 indicates this is a major release.
Very much so in fact. The main focus of the new version is on reload alerts. Rich email alerts were introduced in Butler 4.2, but that was really just the testing ground for what’s now available in 5.0.
Here’s the short version of what’s new:
Alerts for failed or aborted reloads can be sent to Slack, MS Teams, outgoing webhooks, MQTT or as email.
Alerts sent as email, Slack and MS Teams can all make use of all the rich formatting and layout options available on those platforms.
Alert emails can be sent to the owner of the Sense app that failed reloading.
A new API for doing partial (and full) app reloads was added. This means it’s now possible and even easy to do partial app reloads in Qlik Sense. One of the epic QlikView features finally become usable in Qlik Sense!
Curious what the alerts look like in reality? Check out this video for a hands-on demo: