Upgrading from Qlik Sense 1.1 to Qlik Sense 2.0
Qlik Sense 2.0 is finally available. A lot of installs and upgrades will be done in the coming weeks. Here is a guide on how I do my single node upgrades.
Backups
Stop all Qlik services except the Qlik Sense Repository before starting your backup. Turn them back on again when the backup is done.
I want to have the following backups before installing anything new.
- Repository
- Certificate
- Logs
- Qlik Sense Application files
- Qlik Sense Repository files
- The QDF file structure
Certificate
You should always have a backup of the certificates. Without it you’re smoked.
- SSL certificat
- Client certificate
- Certificate Authority (CA)
Details on how to do it I find on the Sense Help site: Backing up certificates
Postgree database
cd "C:\Program Files\Qlik\Sense\Repository\PostgreSQL\<database version>\bin"
pg_dump.exe -h localhost -p 4432 -U postgres -b -F t -f "c:\QSR_backup.tar" QSR
Log files
The Qlik Sense log files are located at %ProgramData%\Qlik\Sense\Log
Qlik Sense applications
%ProgramData%\Qlik\Sense\Apps\
(Which is C:\ProgramData\Qlik\Sense\Apps on a Windows Server 2008)
Qlik Sense repository - content and extensions
%ProgramData%\Qlik\Sense\Repository\Content
%ProgramData%\Qlik\Sense\Repository\Extensions
The QDF root
I prefer to use the QDF structure both in QlikView and Sense. Backup the whole root catalog. If you are not using it then just backup the folder/folders containing files used by your qlik sense scripts etc. Eg. standarized scripts, variable files and QlikView components.
Install Sense 2.0
Installation is the easy part of upgrading. Download the installation file from Qliks download site. Run the setup file. Click throug the welcome and license dialogs.
Choose “Quick upgrade”. You’ll be prompted for Postgree SQL password and the password for the account running the services. Make sure you have them in hand.
Hopefully you’ll see the same upgrade summary as in the picture above and you’re ready to go.