<?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 How To Take Backup And Restore Qlik Sense Enterprise on Windows in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/ta-p/1717548</link>
    <description>&lt;P&gt;This article contains steps on how to do backup and restore the Qlik Sense Enterprise on Windows (QSEoW) site.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;For full instructions on how to backup and restore a Qlik Sense site, see the online help under &lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backup-and-restore.htm" target="_blank" rel="noopener"&gt;Backup and restore Qlik Sense Enterprise on Windows&lt;/A&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;For sole database backup information article can be found here:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/How-to-backup-or-restore-the-PostgreSQL-database-in-Qlik-Sense/ta-p/1712875" target="_blank" rel="noopener"&gt;How to backup PostgreSQL database in Qlik Sense&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Backup and Restore Targets:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Qlik Sense Repository Database&lt;/LI&gt;
&lt;LI&gt;Certificates&lt;/LI&gt;
&lt;LI&gt;Apps used by Qlik Sense&lt;/LI&gt;
&lt;LI&gt;The Repository Content used by Apps&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise on Windows, June 2017 and up&lt;/LI&gt;
&lt;/UL&gt;
&lt;BLOCKQUOTE class="quote"&gt;These steps are provided as-is based on latest version available of Qlik Sense product at the time of writing and/or last update to the article. Please make sure to cross-reference these steps with the official documentation for your product version under &lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backup-and-restore.htm" target="_blank" rel="noopener"&gt;Backup and restore Qlik Sense Enterprise on Windows&lt;/A&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;
&lt;H3&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Step 1: The Qlik Sense Repository Database&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Backing up Qlik Sense Repository Database:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;BLOCKQUOTE class="quote"&gt;Downtime is required&lt;/BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Qlik Sense Services except for "Qlik Sense Repository Database" on Windows Server manager (services.msc)&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Create &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;c:\backup&lt;/FONT&gt;&lt;SPAN&gt;&lt;SPAN&gt;folder&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Open&lt;FONT face="courier new,courier"&gt; CMD.ext&lt;/FONT&gt; as administrator&lt;/LI&gt;
&lt;LI&gt;Go to "&lt;FONT face="courier new,courier"&gt;bin&lt;/FONT&gt;" folder&lt;BR /&gt;&lt;I&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/I&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; the directory name will reflect your postgre version (9.6, 11.x, etc..).&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;cd "C:\Program Files\Qlik\Sense\Repository\PostgreSQL\9.6\bin"​&lt;/LI-CODE&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Take PostgreSQL backup. There will be a password prompt for the postgres account.&lt;BR /&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: If postgres db password is unknown, see &lt;A title="How-to reset forgotten PostgreSQL password in Qlik Sense" href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/How-to-reset-forgotten-PostgreSQL-password-in-Qlik-Sense/ta-p/1712725" target="_blank" rel="noopener"&gt;How-to reset forgotten PostgreSQL password in Qlik Sense&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;  .\pg_dump.exe -h localhost -p 4432 -U postgres -b -F t -f "c:\backup\QSR_backup.tar" QSR​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Check for any errors/warnings and that the backup file size after command execution finishes. It should not be 0kb.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Restoring Database (PostgreSQL):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Option 1: Restoring on the same machine (PostgreSQL)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Create &lt;FONT face="courier new,courier"&gt;c:\backup&lt;/FONT&gt;&lt;I&gt; &lt;/I&gt;folder&lt;/LI&gt;
&lt;LI&gt;Move the backup file (Repository dump) into &lt;FONT face="courier new,courier"&gt;c:\backup&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Stop all Qlik Sense services&lt;/LI&gt;
&lt;LI&gt;Start the Qlik Sense Repository Database only&lt;/LI&gt;
&lt;LI&gt;Open up cmd.exe as an administrator&lt;/LI&gt;
&lt;LI&gt;Go to PostgreSQL folder&lt;BR /&gt;&lt;I&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/I&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; the directory name will reflect your postgre version (9.6, 11.x, etc..).&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;cd "C:\Program Files\Qlik\Sense\Repository\PostgreSQL\9.6\bin" ​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Drop the current database&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt; .\dropdb.exe -h localhost -p 4432 -U postgres QSR&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;Create a new template database&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt; .\createdb.exe -h localhost -p 4432 -U postgres -T template0 QSR​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Restore database&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;.\pg_restore.exe -h localhost -p 4432 -U postgres -d QSR "c:\backup\QSR_backup.tar"​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Restart Windows OS and All Qlik Sense services&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; For further reference, consult the &lt;A href="https://help.qlik.com/en-US/sense/Subsystems/PlanningQlikSenseDeployments/Content/Sense_Deployment/Backup-and-restore.htm" target="_blank" rel="noopener"&gt;Qlik Sense Help Site&lt;/A&gt;&amp;nbsp;for your respective version.&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Option 2:&amp;nbsp;Restoring on a different machine (PostgreSQL)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Create &lt;FONT face="courier new,courier"&gt;c:\backup&lt;/FONT&gt;&lt;I&gt; &lt;/I&gt;folder&lt;/LI&gt;
&lt;LI&gt;Put the backup file (Repository dump) into&lt;FONT face="courier new,courier"&gt; c:\backup&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Install Qlik Sense of a new machine&lt;/LI&gt;
&lt;LI&gt;While the Qlik Sense installation process, uncheck the check box to start services after installation in case extra configuration is needed before Qlik Sense initializes.&lt;/LI&gt;
&lt;LI&gt;Once the installation has finished, start the Qlik Sense Repository Database only&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Move the PostgreSQL backup file (&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;c:\backup\QSR_backup.tar&lt;/FONT&gt;&lt;I&gt;&lt;STRONG&gt;) &lt;/STRONG&gt;&lt;/I&gt;&lt;SPAN&gt;into a new server. from old server to local disk on the new server&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Go to the "bin" folder
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Open CMD.exe as administrator&lt;/LI&gt;
&lt;LI&gt;Go to&amp;nbsp;PostgreSQL directory&lt;FONT face="courier new,courier"&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;LI-CODE lang="markup"&gt;cd "C:\Program Files\Qlik\Sense\Repository\PostgreSQL\9.6\bin"&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Create the template database&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;If database has already been created on a new machine, you need to delete the current database first. Otherwise the error "&lt;FONT face="courier new,courier"&gt;createdb: database creation failed: ERROR: database "QSR&amp;nbsp;already exists&lt;/FONT&gt;" will be displayed.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;Run the following commands in order to drop and then create the database:&lt;/SPAN&gt;
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Drop database (if one exists):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;.\dropdb.exe -h localhost -p 4432 -U postgres QSR​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;Create temp database:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;.\createdb.exe -h localhost -p 4432 -U postgres -T template0 QSR​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Restore the database by running the following command:&lt;BR /&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt;.\pg_restore.exe -h localhost -p 4432 -U postgres -d QSR "c:\Backup\QSR_backup.tar"​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Change directory to the Repository installation folder:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt;cd "C:\Program Files\Qlik\Sense\Repository"&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Start the repository service with the two distinct commands:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt;.\repository.exe -standalone -restorehostname &lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;When&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable CommonComponents.QRSName_Short variable"&gt;QRS&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is up and running, restart the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable CommonComponents.QRSName_Short variable"&gt;QRS&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;without&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="user_input"&gt;-restorehostname&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;If a new share path is going to be used then:
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Open &lt;FONT face="courier new,courier"&gt;QlikSenseUtil.exe&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt; (default location &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;C:\Program Files\Qlik\Sense\Repository\Util\QlikSenseUtil\&lt;/FONT&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Click &lt;FONT face="courier new,courier"&gt;Connect to database&lt;/FONT&gt;&lt;SPAN&gt; and enter valid credentials for the &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;postrgres &lt;/FONT&gt;&lt;SPAN&gt;or &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;qliksenserepository&lt;/FONT&gt;&lt;SPAN&gt; user&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG style="font-family: inherit;"&gt;Optionally,&lt;/STRONG&gt;&lt;SPAN&gt; changing machine name in database:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; The &lt;FONT face="courier new,courier"&gt;LocalConfigs &lt;/FONT&gt;table has been removed as of Qlik Sense Feburary 2019 release and newer&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;In the QSR database, change the server name in those 2 tables: &lt;FONT face="courier new,courier"&gt;ServerNodeConfigurations &lt;/FONT&gt;&lt;SPAN&gt;&amp;amp; &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;LocalConfigs&amp;nbsp;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Use PgAdmin to perform this change. &lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Installing-and-Configuring-PGAdmin-4-to-access-the-PostgreSQL/ta-p/1710699" target="_blank" rel="noopener"&gt;Installing and Configuring PGAdmin 4 to access the PostgreSQL database used by Qlik Sense or NPrinting&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Restart Windows OS and all Qlik Sense services&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG style="font-family: inherit;"&gt;Important: &lt;/STRONG&gt;&lt;SPAN&gt;If PostgreSQL has been migrated with a different Hostname (Machine name), All functions of QMC are disable and become gray out due to missing RootAdmin role. In order to resolve this issue. Please refer to this article &lt;A href="https://support.qlik.com/articles/Basic/How-To-Allocate-RootAdmin-Role-To-UserID-After-Qlik-Sense-Migration-QMC-became-Gray-Out" target="_blank" rel="noopener"&gt;How To Allocate RootAdmin Role To UserID After Qlik Sense Migration -QMC became Gray Out&lt;/A&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;Step 2: Certificates&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Backing up The Certificate&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Please refer to the &lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backing-up-certificates.htm" target="_blank" rel="noopener"&gt;Backing up Certificates&lt;/A&gt; Help site documentation for details and verify that the information matches your current version.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Restoring The Certificate&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Please refer to the &lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Restoring-certificates.htm" target="_blank" rel="noopener"&gt;Restoring certificates&lt;/A&gt; Help site documentation for details and verify that the information matches your current version.&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Step 3: Apps used by Qlik Sense&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Backing up the Apps used by Qlik Sense&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Check "&lt;SPAN&gt;CLUSTER SETTINGS&lt;/SPAN&gt;" in Qlik Management Console (QMC)&lt;BR /&gt;These can be found in the QMC in&amp;nbsp;&lt;SPAN&gt;CONFIGURE SYSTEM &amp;gt;&amp;gt; Service cluster&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Confirm the Share path:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="service cluster.png" style="width: 876px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/66979iC6FBBEA578CA7C72/image-size/large?v=v2&amp;amp;px=999" role="button" title="service cluster.png" alt="service cluster.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Copy the Apps folder for backup.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Restoring Apps used by Qlik Sense:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Copy and paste all sub-folders from the UNC root specified in the Service Cluster Section in the QMC on the old server into a newly configured UNC path for the new server&lt;/LI&gt;
&lt;LI&gt;Move or copy the backed Apps up into the "Share" folder in a new Qlik Sense machine.&lt;/LI&gt;
&lt;LI&gt;If path of Shared folder need to be changed, Please follow this article&lt;I&gt; &lt;/I&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/How-to-change-the-share-path-in-Qlik-Sense-Service-Cluster/ta-p/1711738" target="_blank" rel="noopener"&gt;How to change the share path in Qlik Sense June 2017 or higher&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Step 4: The Repository Content used by Apps&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Backing up the Repository Content used by Apps:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Normally, It is similar to the section for apps, the path where these files live is in the &lt;SPAN&gt;StaticContent&lt;/SPAN&gt; folder on the Share path.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Restoring the Repository Content used by Apps:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Go to the Service cluster tab&amp;nbsp; "QMC &amp;gt;&amp;gt; &lt;SPAN&gt;Service cluster&lt;/SPAN&gt; "&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Enter in the root, app folder, static content folder, connector folders and archive log folders and press save&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Related Content&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/November2021/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Restoring-a-site.htm#Restorin" target="_blank" rel="noopener"&gt;Restoring a Qlik Sense site to a machine with a different hostname&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jul 2024 09:58:33 GMT</pubDate>
    <dc:creator>Daniel_Seo</dc:creator>
    <dc:date>2024-07-08T09:58:33Z</dc:date>
    <item>
      <title>How To Take Backup And Restore Qlik Sense Enterprise on Windows</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/ta-p/1717548</link>
      <description>&lt;P&gt;This article contains steps on how to do backup and restore the Qlik Sense Enterprise on Windows (QSEoW) site.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;For full instructions on how to backup and restore a Qlik Sense site, see the online help under &lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backup-and-restore.htm" target="_blank" rel="noopener"&gt;Backup and restore Qlik Sense Enterprise on Windows&lt;/A&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;For sole database backup information article can be found here:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/How-to-backup-or-restore-the-PostgreSQL-database-in-Qlik-Sense/ta-p/1712875" target="_blank" rel="noopener"&gt;How to backup PostgreSQL database in Qlik Sense&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Backup and Restore Targets:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Qlik Sense Repository Database&lt;/LI&gt;
&lt;LI&gt;Certificates&lt;/LI&gt;
&lt;LI&gt;Apps used by Qlik Sense&lt;/LI&gt;
&lt;LI&gt;The Repository Content used by Apps&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise on Windows, June 2017 and up&lt;/LI&gt;
&lt;/UL&gt;
&lt;BLOCKQUOTE class="quote"&gt;These steps are provided as-is based on latest version available of Qlik Sense product at the time of writing and/or last update to the article. Please make sure to cross-reference these steps with the official documentation for your product version under &lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backup-and-restore.htm" target="_blank" rel="noopener"&gt;Backup and restore Qlik Sense Enterprise on Windows&lt;/A&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;
&lt;H3&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Step 1: The Qlik Sense Repository Database&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Backing up Qlik Sense Repository Database:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;BLOCKQUOTE class="quote"&gt;Downtime is required&lt;/BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;Stop all Qlik Sense Services except for "Qlik Sense Repository Database" on Windows Server manager (services.msc)&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Create &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;c:\backup&lt;/FONT&gt;&lt;SPAN&gt;&lt;SPAN&gt;folder&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Open&lt;FONT face="courier new,courier"&gt; CMD.ext&lt;/FONT&gt; as administrator&lt;/LI&gt;
&lt;LI&gt;Go to "&lt;FONT face="courier new,courier"&gt;bin&lt;/FONT&gt;" folder&lt;BR /&gt;&lt;I&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/I&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; the directory name will reflect your postgre version (9.6, 11.x, etc..).&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;cd "C:\Program Files\Qlik\Sense\Repository\PostgreSQL\9.6\bin"​&lt;/LI-CODE&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Take PostgreSQL backup. There will be a password prompt for the postgres account.&lt;BR /&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: If postgres db password is unknown, see &lt;A title="How-to reset forgotten PostgreSQL password in Qlik Sense" href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/How-to-reset-forgotten-PostgreSQL-password-in-Qlik-Sense/ta-p/1712725" target="_blank" rel="noopener"&gt;How-to reset forgotten PostgreSQL password in Qlik Sense&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;  .\pg_dump.exe -h localhost -p 4432 -U postgres -b -F t -f "c:\backup\QSR_backup.tar" QSR​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Check for any errors/warnings and that the backup file size after command execution finishes. It should not be 0kb.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Restoring Database (PostgreSQL):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Option 1: Restoring on the same machine (PostgreSQL)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Create &lt;FONT face="courier new,courier"&gt;c:\backup&lt;/FONT&gt;&lt;I&gt; &lt;/I&gt;folder&lt;/LI&gt;
&lt;LI&gt;Move the backup file (Repository dump) into &lt;FONT face="courier new,courier"&gt;c:\backup&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Stop all Qlik Sense services&lt;/LI&gt;
&lt;LI&gt;Start the Qlik Sense Repository Database only&lt;/LI&gt;
&lt;LI&gt;Open up cmd.exe as an administrator&lt;/LI&gt;
&lt;LI&gt;Go to PostgreSQL folder&lt;BR /&gt;&lt;I&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/I&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; the directory name will reflect your postgre version (9.6, 11.x, etc..).&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;cd "C:\Program Files\Qlik\Sense\Repository\PostgreSQL\9.6\bin" ​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Drop the current database&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt; .\dropdb.exe -h localhost -p 4432 -U postgres QSR&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;Create a new template database&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt; .\createdb.exe -h localhost -p 4432 -U postgres -T template0 QSR​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Restore database&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;.\pg_restore.exe -h localhost -p 4432 -U postgres -d QSR "c:\backup\QSR_backup.tar"​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Restart Windows OS and All Qlik Sense services&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; For further reference, consult the &lt;A href="https://help.qlik.com/en-US/sense/Subsystems/PlanningQlikSenseDeployments/Content/Sense_Deployment/Backup-and-restore.htm" target="_blank" rel="noopener"&gt;Qlik Sense Help Site&lt;/A&gt;&amp;nbsp;for your respective version.&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Option 2:&amp;nbsp;Restoring on a different machine (PostgreSQL)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Create &lt;FONT face="courier new,courier"&gt;c:\backup&lt;/FONT&gt;&lt;I&gt; &lt;/I&gt;folder&lt;/LI&gt;
&lt;LI&gt;Put the backup file (Repository dump) into&lt;FONT face="courier new,courier"&gt; c:\backup&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Install Qlik Sense of a new machine&lt;/LI&gt;
&lt;LI&gt;While the Qlik Sense installation process, uncheck the check box to start services after installation in case extra configuration is needed before Qlik Sense initializes.&lt;/LI&gt;
&lt;LI&gt;Once the installation has finished, start the Qlik Sense Repository Database only&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Move the PostgreSQL backup file (&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;c:\backup\QSR_backup.tar&lt;/FONT&gt;&lt;I&gt;&lt;STRONG&gt;) &lt;/STRONG&gt;&lt;/I&gt;&lt;SPAN&gt;into a new server. from old server to local disk on the new server&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Go to the "bin" folder
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Open CMD.exe as administrator&lt;/LI&gt;
&lt;LI&gt;Go to&amp;nbsp;PostgreSQL directory&lt;FONT face="courier new,courier"&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;LI-CODE lang="markup"&gt;cd "C:\Program Files\Qlik\Sense\Repository\PostgreSQL\9.6\bin"&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Create the template database&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;If database has already been created on a new machine, you need to delete the current database first. Otherwise the error "&lt;FONT face="courier new,courier"&gt;createdb: database creation failed: ERROR: database "QSR&amp;nbsp;already exists&lt;/FONT&gt;" will be displayed.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;Run the following commands in order to drop and then create the database:&lt;/SPAN&gt;
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Drop database (if one exists):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;.\dropdb.exe -h localhost -p 4432 -U postgres QSR​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;Create temp database:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;.\createdb.exe -h localhost -p 4432 -U postgres -T template0 QSR​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Restore the database by running the following command:&lt;BR /&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt;.\pg_restore.exe -h localhost -p 4432 -U postgres -d QSR "c:\Backup\QSR_backup.tar"​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Change directory to the Repository installation folder:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt;cd "C:\Program Files\Qlik\Sense\Repository"&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Start the repository service with the two distinct commands:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt;.\repository.exe -standalone -restorehostname &lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;When&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable CommonComponents.QRSName_Short variable"&gt;QRS&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is up and running, restart the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable CommonComponents.QRSName_Short variable"&gt;QRS&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;without&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="user_input"&gt;-restorehostname&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;If a new share path is going to be used then:
&lt;OL class="lia-list-style-type-lower-alpha"&gt;
&lt;LI&gt;Open &lt;FONT face="courier new,courier"&gt;QlikSenseUtil.exe&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt; (default location &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;C:\Program Files\Qlik\Sense\Repository\Util\QlikSenseUtil\&lt;/FONT&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Click &lt;FONT face="courier new,courier"&gt;Connect to database&lt;/FONT&gt;&lt;SPAN&gt; and enter valid credentials for the &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;postrgres &lt;/FONT&gt;&lt;SPAN&gt;or &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;qliksenserepository&lt;/FONT&gt;&lt;SPAN&gt; user&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG style="font-family: inherit;"&gt;Optionally,&lt;/STRONG&gt;&lt;SPAN&gt; changing machine name in database:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; The &lt;FONT face="courier new,courier"&gt;LocalConfigs &lt;/FONT&gt;table has been removed as of Qlik Sense Feburary 2019 release and newer&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;In the QSR database, change the server name in those 2 tables: &lt;FONT face="courier new,courier"&gt;ServerNodeConfigurations &lt;/FONT&gt;&lt;SPAN&gt;&amp;amp; &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;LocalConfigs&amp;nbsp;&lt;BR /&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;Use PgAdmin to perform this change. &lt;A style="font-family: inherit; background-color: #ffffff;" href="https://community.qlik.com/t5/Support-Knowledge-Base/Installing-and-Configuring-PGAdmin-4-to-access-the-PostgreSQL/ta-p/1710699" target="_blank" rel="noopener"&gt;Installing and Configuring PGAdmin 4 to access the PostgreSQL database used by Qlik Sense or NPrinting&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Restart Windows OS and all Qlik Sense services&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG style="font-family: inherit;"&gt;Important: &lt;/STRONG&gt;&lt;SPAN&gt;If PostgreSQL has been migrated with a different Hostname (Machine name), All functions of QMC are disable and become gray out due to missing RootAdmin role. In order to resolve this issue. Please refer to this article &lt;A href="https://support.qlik.com/articles/Basic/How-To-Allocate-RootAdmin-Role-To-UserID-After-Qlik-Sense-Migration-QMC-became-Gray-Out" target="_blank" rel="noopener"&gt;How To Allocate RootAdmin Role To UserID After Qlik Sense Migration -QMC became Gray Out&lt;/A&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;Step 2: Certificates&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Backing up The Certificate&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Please refer to the &lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backing-up-certificates.htm" target="_blank" rel="noopener"&gt;Backing up Certificates&lt;/A&gt; Help site documentation for details and verify that the information matches your current version.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Restoring The Certificate&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Please refer to the &lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Restoring-certificates.htm" target="_blank" rel="noopener"&gt;Restoring certificates&lt;/A&gt; Help site documentation for details and verify that the information matches your current version.&lt;/P&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Step 3: Apps used by Qlik Sense&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Backing up the Apps used by Qlik Sense&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Check "&lt;SPAN&gt;CLUSTER SETTINGS&lt;/SPAN&gt;" in Qlik Management Console (QMC)&lt;BR /&gt;These can be found in the QMC in&amp;nbsp;&lt;SPAN&gt;CONFIGURE SYSTEM &amp;gt;&amp;gt; Service cluster&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Confirm the Share path:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="service cluster.png" style="width: 876px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/66979iC6FBBEA578CA7C72/image-size/large?v=v2&amp;amp;px=999" role="button" title="service cluster.png" alt="service cluster.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Copy the Apps folder for backup.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Restoring Apps used by Qlik Sense:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Copy and paste all sub-folders from the UNC root specified in the Service Cluster Section in the QMC on the old server into a newly configured UNC path for the new server&lt;/LI&gt;
&lt;LI&gt;Move or copy the backed Apps up into the "Share" folder in a new Qlik Sense machine.&lt;/LI&gt;
&lt;LI&gt;If path of Shared folder need to be changed, Please follow this article&lt;I&gt; &lt;/I&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/How-to-change-the-share-path-in-Qlik-Sense-Service-Cluster/ta-p/1711738" target="_blank" rel="noopener"&gt;How to change the share path in Qlik Sense June 2017 or higher&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Step 4: The Repository Content used by Apps&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Backing up the Repository Content used by Apps:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;Normally, It is similar to the section for apps, the path where these files live is in the &lt;SPAN&gt;StaticContent&lt;/SPAN&gt; folder on the Share path.&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Restoring the Repository Content used by Apps:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Go to the Service cluster tab&amp;nbsp; "QMC &amp;gt;&amp;gt; &lt;SPAN&gt;Service cluster&lt;/SPAN&gt; "&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Enter in the root, app folder, static content folder, connector folders and archive log folders and press save&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Related Content&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/November2021/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Restoring-a-site.htm#Restorin" target="_blank" rel="noopener"&gt;Restoring a Qlik Sense site to a machine with a different hostname&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 09:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/ta-p/1717548</guid>
      <dc:creator>Daniel_Seo</dc:creator>
      <dc:date>2024-07-08T09:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: How To Take Backup And Restore Qlik Sense June 2017 or higher</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/1726629#M240</link>
      <description>&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;We are trying to test the backup and restore of Qlik Sense server (onto a different box) for our organization.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;Qlik Sense version: Feb 2020 Patch 2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;Source: dev1623&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;Target: dev123 &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;Trying to restore from one host to another - all OS parameters remain same.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;1. Took a backup of QSR from source&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;2. Installed Qlik Sense manually, installed patch (ensured "start services" is deselected).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;3. On the target, dropped existing QSR, created a new one, and loaded the backed up QSR from source.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;Stuck at step K now:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2" color="#0000FF"&gt;K. Change directory to the Repository installation folder and start the repository service with the two distinct commands:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial black,avant garde" size="2" color="#0000FF"&gt;cd "C:\Program Files\Qlik\Sense\Repository"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial black,avant garde" size="2" color="#0000FF"&gt;repository.exe -standalone -restorehostname&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;I did the same on my target box - dev123. There was some CPU activity on repository service, and then all went silent. The Repository Service under Windows services did not start.&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;I overlooked that, and went ahead with step L.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;L. If a new share path is going to be used then, open QlikSenseUtil.exe&amp;nbsp; (default location C:\Program Files\Qlik\Sense\Repository\Util\QlikSenseUtil\)&lt;BR /&gt;Click Connect to database and enter valid credentials for the postrgres or qliksenserepository user&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;It did connect to database, but when i had "connection checker" button selected, and then clicked on "OK" below, it failed at connecting. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/37248i059AE1A47FF42B8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;Am I missing something? Help please. &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 19:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/1726629#M240</guid>
      <dc:creator>sri_c003</dc:creator>
      <dc:date>2020-07-09T19:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: How To Take Backup And Restore Qlik Sense June 2017 or higher</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/1726775#M241</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/20395"&gt;@sri_c003&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The messages in the screencap seem to indicate a connection error on the listed ports to the listed machine/IP address. Are the relevant services online and are certificates available?&amp;nbsp;&lt;/P&gt;&lt;P&gt;As this guide was originally written for 2017, I'd recommend the Help link for your version for review as well:&amp;nbsp;&lt;EM&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/June2020/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Restoring-a-site.htm#Restorin" target="_blank" rel="noopener"&gt;Restoring a Qlik Sense Site&lt;/A&gt;.&amp;nbsp;&lt;/EM&gt;Make sure to select your version, though I believe nothing changed between Feb 2020 and Jun 2020.&lt;/P&gt;&lt;P&gt;If you require more assistance with this I would recommend posting your query on the &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Deployment-Management/bd-p/qlik-sense-deployment" target="_blank" rel="noopener"&gt;Qlik Sense Deployment forum&lt;/A&gt; to get more visibility for the question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 10:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/1726775#M241</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2020-07-10T10:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: How To Take Backup And Restore Qlik Sense June 2017 or higher</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/1726882#M246</link>
      <description>&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2" color="#000000"&gt;Second issue noticed in Feb 2020 P2:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2" color="#0000FF"&gt;K. Change directory to the Repository installation folder and start the repository service with the two distinct commands:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial black,avant garde" size="2" color="#0000FF"&gt;cd "C:\Program Files\Qlik\Sense\Repository"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial black,avant garde" size="2" color="#0000FF"&gt;repository.exe -standalone -restorehostname&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;I did the same on my target box - dev123. There was some CPU activity on repository service, and then all went silent. The Repository Service under Windows services did not start.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;The only way out of this was to use the &lt;FONT face="arial black,avant garde" size="2" color="#0000FF"&gt;repository.exe -standalone -restorehostname&lt;/FONT&gt;&lt;FONT color="#0000FF"&gt; -bootstrap&lt;/FONT&gt; and start the dispatcher service when it is waiting at main. Not sure if this is the correct process or not to use the -bootstrap option but this is the only way it worked.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 15:14:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/1726882#M246</guid>
      <dc:creator>sri_c003</dc:creator>
      <dc:date>2020-07-10T15:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: How To Take Backup And Restore Qlik Sense June 2017 or higher</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/1726889#M247</link>
      <description>&lt;P&gt;I wish there was an option to edit the comment posted, atleast within a few minutes.&lt;/P&gt;&lt;P&gt;Deleting earlier comment and updating it here.&lt;/P&gt;&lt;DIV class="lia-message-body-wrapper lia-component-message-view-widget-body"&gt;&lt;DIV class="lia-message-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28597" target="_blank" rel="noopener"&gt;@Sonja_Bauernfeind&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The target box is one of our frequently used Qlik boxes. I merely removed all traces of existing Qlik and repurposed it as the target for DR testing. All ports are open and certificates are available.&lt;/P&gt;&lt;P&gt;Infact, I was able to get to the QMC and hub, and also open a few apps. But what is failing still is accessing the database from a tool like above.&lt;/P&gt;&lt;P&gt;From what I noted, after a fresh/clean install of Qlik Sense with "start services" deselected, this issue occurs.&lt;/P&gt;&lt;P&gt;No services started after a clean install; started the Repository Database - fails to connect.&lt;/P&gt;&lt;P&gt;No services started after a clean install; started the Repository Database, followed steps to restore Qlik Sense QSR database from Source, started all services - fails to connect.&lt;/P&gt;&lt;P&gt;This works though when I select "start services" on installation process.&lt;/P&gt;&lt;P&gt;Below is the message I see when trying to connect via a 3rd party tool. The tool connects with no issues on Qlik Sense installation with "start services" selected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/37298i1794C5BA87CFCB2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Jul 2020 15:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/1726889#M247</guid>
      <dc:creator>sri_c003</dc:creator>
      <dc:date>2020-07-10T15:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: How To Take Backup And Restore Qlik Sense June 2017 or higher</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/1726900#M248</link>
      <description>&lt;P&gt;Issue created on the link mentioned above&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Deployment-Management/Restoring-Qlik-Sense-to-a-different-host-Feb-2020-P2/m-p/1726899#M16323" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-Deployment-Management/Restoring-Qlik-Sense-to-a-different-host-Feb-2020-P2/m-p/1726899#M16323&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 15:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/1726900#M248</guid>
      <dc:creator>sri_c003</dc:creator>
      <dc:date>2020-07-10T15:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: How To Take Backup And Restore Qlik Sense Enterprise on Windows</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/2066642#M9054</link>
      <description>&lt;P&gt;Hi Team, I was able to go till version folder(9.6), after that not able to see bin folder. Is there any specific reason for not able to see bin folder?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 10:41:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/2066642#M9054</guid>
      <dc:creator>muthukrishnabalaji</dc:creator>
      <dc:date>2023-05-02T10:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: How To Take Backup And Restore Qlik Sense Enterprise on Windows</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/2066728#M9057</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/181934"&gt;@muthukrishnabalaji&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;\bin&lt;/FONT&gt; folder will exist in this location (or Postgres would not function):&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\&lt;STRONG&gt;Program Files&lt;/STRONG&gt;\Qlik\Sense\Repository\PostgreSQL\12.5\&lt;STRONG&gt;bin&lt;/STRONG&gt;&lt;/FONT&gt; (in my example I use 12.5)&lt;/P&gt;
&lt;P&gt;There is, however, no \bin folder in the ProgramData folder (I know I sometimes went there by accident and got confused where it went):&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\&lt;STRONG&gt;ProgramData&lt;/STRONG&gt;\Qlik\Sense\Repository\PostgreSQL\12.5&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;All the best,&lt;BR /&gt;Sonja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 12:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/2066728#M9057</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2023-05-02T12:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: How To Take Backup And Restore Qlik Sense Enterprise on Windows</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/2067719#M9083</link>
      <description>&lt;P&gt;Hi all, thanks for response. In our server it is installed in different drive(F:). I can see bin folder there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 14:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/2067719#M9083</guid>
      <dc:creator>muthukrishnabalaji</dc:creator>
      <dc:date>2023-05-04T14:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: How To Take Backup And Restore Qlik Sense Enterprise on Windows</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/2464669#M14154</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, I successfully restored a Sense site to a new server, but some of the streams are missing -- they're not visible in the QMC or in the QSR "Streams" table. Everything else appears to be present. What's my best course of action?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 18:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/2464669#M14154</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2024-06-21T18:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: How To Take Backup And Restore Qlik Sense Enterprise on Windows</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/2464678#M14155</link>
      <description>&lt;P&gt;I'd recommend referencing the information in the below case; I had to apply the query to all four DBs in my new postgres immediately after restoring them.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Repository-won-t-start-Inactive-lock-existance-check/ta-p/1714559" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Repository-won-t-start-Inactive-lock-existance-check/ta-p/1714559&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 21:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/2464678#M14155</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2024-06-21T21:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: How To Take Backup And Restore Qlik Sense Enterprise on Windows</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/2465778#M14185</link>
      <description>&lt;P&gt;I'd also add two steps to step 13:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;c. Click "Service cluster" and "OK"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;d. Update the network paths to the shared folders&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 15:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Take-Backup-And-Restore-Qlik-Sense-Enterprise-on-Windows/tac-p/2465778#M14185</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2024-06-26T15:19:38Z</dc:date>
    </item>
  </channel>
</rss>

