<?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>topic Error while restoring Qlik Sense site in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Error-while-restoring-Qlik-Sense-site/m-p/2136722#M25995</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I need help on a Qlik Sense migration I am doing.&lt;/P&gt;
&lt;P&gt;Since we use the May 22 version, I use this documentation : &lt;A href="https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backup-and-restore.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backup-and-restore.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Everything went well until I got to the restoration part : &lt;A href="https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Restoring-a-site.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Restoring-a-site.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;When I used this command : pg_restore.exe -h localhost -p 4432 -U postgres -d QSR "c:\QSR_backup.tar", I got the following error message :&lt;BR /&gt;pg_restore: while PROCESSING TOC&lt;BR /&gt;pg_restore: from TOC entry 3; 2615 2200 SCHEMA public postgres&lt;BR /&gt;pg_restore: error: could not execute query: ERROR: schema "public" already exists&lt;BR /&gt;Command was: CREATE SCHEMA public;&lt;/P&gt;
&lt;P&gt;pg_restore: error: could not find header for file "3735.dat" in tar archive&lt;/P&gt;
&lt;P&gt;I tried the commands of the documentation : &lt;BR /&gt;dropdb -h localhost -p 4432 -U postgres QSR&lt;BR /&gt;createdb -h localhost -p 4432 -U postgres -T template0 QSR&lt;/P&gt;
&lt;P&gt;But when I ran the restore command again I got the same error message.&lt;/P&gt;
&lt;P&gt;Is there something else I can try to solve this ?&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2023 13:33:09 GMT</pubDate>
    <dc:creator>User93</dc:creator>
    <dc:date>2023-11-10T13:33:09Z</dc:date>
    <item>
      <title>Error while restoring Qlik Sense site</title>
      <link>https://community.qlik.com/t5/Management-Governance/Error-while-restoring-Qlik-Sense-site/m-p/2136722#M25995</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I need help on a Qlik Sense migration I am doing.&lt;/P&gt;
&lt;P&gt;Since we use the May 22 version, I use this documentation : &lt;A href="https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backup-and-restore.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backup-and-restore.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Everything went well until I got to the restoration part : &lt;A href="https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Restoring-a-site.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Restoring-a-site.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;When I used this command : pg_restore.exe -h localhost -p 4432 -U postgres -d QSR "c:\QSR_backup.tar", I got the following error message :&lt;BR /&gt;pg_restore: while PROCESSING TOC&lt;BR /&gt;pg_restore: from TOC entry 3; 2615 2200 SCHEMA public postgres&lt;BR /&gt;pg_restore: error: could not execute query: ERROR: schema "public" already exists&lt;BR /&gt;Command was: CREATE SCHEMA public;&lt;/P&gt;
&lt;P&gt;pg_restore: error: could not find header for file "3735.dat" in tar archive&lt;/P&gt;
&lt;P&gt;I tried the commands of the documentation : &lt;BR /&gt;dropdb -h localhost -p 4432 -U postgres QSR&lt;BR /&gt;createdb -h localhost -p 4432 -U postgres -T template0 QSR&lt;/P&gt;
&lt;P&gt;But when I ran the restore command again I got the same error message.&lt;/P&gt;
&lt;P&gt;Is there something else I can try to solve this ?&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 13:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Error-while-restoring-Qlik-Sense-site/m-p/2136722#M25995</guid>
      <dc:creator>User93</dc:creator>
      <dc:date>2023-11-10T13:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error while restoring Qlik Sense site</title>
      <link>https://community.qlik.com/t5/Management-Governance/Error-while-restoring-Qlik-Sense-site/m-p/2137368#M26006</link>
      <description>Hello ,&lt;BR /&gt;&lt;BR /&gt;Please review the following article link.&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/How-to-manually-upgrade-the-bundled-Qlik-Sense-PostgreSQL/ta-p/1820358" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/How-to-manually-upgrade-the-bundled-Qlik-Sense-PostgreSQL/ta-p/1820358&lt;/A&gt;</description>
      <pubDate>Mon, 13 Nov 2023 19:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Error-while-restoring-Qlik-Sense-site/m-p/2137368#M26006</guid>
      <dc:creator>Ray_Strother</dc:creator>
      <dc:date>2023-11-13T19:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error while restoring Qlik Sense site</title>
      <link>https://community.qlik.com/t5/Management-Governance/Error-while-restoring-Qlik-Sense-site/m-p/2138272#M26045</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for the quick answer.&lt;/P&gt;
&lt;P&gt;The link you gave clearly explains that we can ignore the first error, and after a few tests, it seems our problem is indeed with the second error :&lt;/P&gt;
&lt;P&gt;pg_restore: error: could not find header for file "3735.dat" in tar archive&lt;/P&gt;
&lt;P&gt;Apparently, the problem comes from our backup file QSR_backup.tar&lt;/P&gt;
&lt;P&gt;Even if we deactivated the Qlik Servives (except the one for the repository database), we encountered this error when creating the file :&lt;/P&gt;
&lt;P&gt;pg_dump: Dumping the contents of table ”_deletedentitylog”: PQgetResultQ failed.&lt;/P&gt;
&lt;P&gt;pg_dump: Error message from server: ERROR: invalid page in block 246294 of relation base/16384/16633&lt;/P&gt;
&lt;P&gt;pg_dump: The command was: COPY public._deletedentitylog (entityid, entitytype, deletedbyuser, deleteddate, info) TO stdout;&lt;/P&gt;
&lt;P&gt;Is there something we can test about it ?&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 08:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Error-while-restoring-Qlik-Sense-site/m-p/2138272#M26045</guid>
      <dc:creator>User93</dc:creator>
      <dc:date>2023-11-16T08:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error while restoring Qlik Sense site</title>
      <link>https://community.qlik.com/t5/Management-Governance/Error-while-restoring-Qlik-Sense-site/m-p/2139692#M26067</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It looks like we have a problem with the current [_deletedentitylog] table, we plan to fix that, and then recreate the backup files.&lt;/P&gt;
&lt;P&gt;I will post the update.&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 09:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Error-while-restoring-Qlik-Sense-site/m-p/2139692#M26067</guid>
      <dc:creator>User93</dc:creator>
      <dc:date>2023-11-21T09:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error while restoring Qlik Sense site</title>
      <link>https://community.qlik.com/t5/Management-Governance/Error-while-restoring-Qlik-Sense-site/m-p/2145138#M26186</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Fixing the _deletedentitylog table (empty, recreate) before recreating the backup files worked well, and we succeeded with the restore part.&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 07:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Error-while-restoring-Qlik-Sense-site/m-p/2145138#M26186</guid>
      <dc:creator>User93</dc:creator>
      <dc:date>2023-12-07T07:53:20Z</dc:date>
    </item>
  </channel>
</rss>

