<?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 Re: Is it possible to backup the repository with Integrated Security ? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-backup-the-repository-with-Integrated-Security/m-p/80657#M5328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;So the .pgpass file needs to be in the user's profile doing the pg_dump command. Reference: &lt;A class="jive-link-external-small" href="https://www.postgresql.org/docs/9.6/static/libpq-pgpass.html" rel="nofollow" target="_blank"&gt;https://www.postgresql.org/docs/9.6/static/libpq-pgpass.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PowerShell, this style of approach should work:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;cd $env:userprofile\AppData\Roaming\postgresql\&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;if (Test-Path $env:userprofile\AppData\Roaming\postgresql\pgpass.conf) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;} else {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "localhost:4432:$([char]42):postgres:INSERTYOURSUPERUSERPASSWORD" | set-content pgpass.conf -Encoding Ascii&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Refer this link:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/291703"&gt;Qlik Sense Repository Backup Automation&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Jul 2018 10:39:43 GMT</pubDate>
    <dc:creator>BalaBhaskar_Qlik</dc:creator>
    <dc:date>2018-07-28T10:39:43Z</dc:date>
    <item>
      <title>Is it possible to backup the repository with Integrated Security ?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-backup-the-repository-with-Integrated-Security/m-p/80654#M5325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our client is not allowed to have the passwords clear text (for example in&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;C:\users\qliksense_account\AppData\Roaming\pgpass.conf )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;I read that Integrated Security is possible in Postgresql, editing the &lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;pg_hba.conf &lt;/SPAN&gt;file and specifying the authentication mode &lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;sspi.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14.6667px; font-family: Calibri, sans-serif;"&gt;But, the services are connecting to the repository with a password! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14.6667px; font-family: Calibri, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14.6667px; font-family: Calibri, sans-serif;"&gt;How to do it? Is it somehow possible?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14.6667px; font-family: Calibri, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14.6667px; font-family: Calibri, sans-serif;"&gt;thanks in advance for your help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14.6667px; font-family: Calibri, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14.6667px; font-family: Calibri, sans-serif;"&gt;nice regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14.6667px; font-family: Calibri, sans-serif;"&gt;Emma&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 12:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-backup-the-repository-with-Integrated-Security/m-p/80654#M5325</guid>
      <dc:creator>EmmaC</dc:creator>
      <dc:date>2018-03-09T12:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to backup the repository with Integrated Security ?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-backup-the-repository-with-Integrated-Security/m-p/80655#M5326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also can't save the password in plain text in pgpass for taking repository backup. Any solutions for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 20:45:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-backup-the-repository-with-Integrated-Security/m-p/80655#M5326</guid>
      <dc:creator>reshma_km</dc:creator>
      <dc:date>2018-07-27T20:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to backup the repository with Integrated Security ?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-backup-the-repository-with-Integrated-Security/m-p/80656#M5327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackingitblog.com/2017/09/03/qlik-sense-postgre-sql-pgpass-and-backups/" title="https://stackingitblog.com/2017/09/03/qlik-sense-postgre-sql-pgpass-and-backups/"&gt;https://stackingitblog.com/2017/09/03/qlik-sense-postgre-sql-pgpass-and-backups/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2018 10:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-backup-the-repository-with-Integrated-Security/m-p/80656#M5327</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-28T10:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to backup the repository with Integrated Security ?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-backup-the-repository-with-Integrated-Security/m-p/80657#M5328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;So the .pgpass file needs to be in the user's profile doing the pg_dump command. Reference: &lt;A class="jive-link-external-small" href="https://www.postgresql.org/docs/9.6/static/libpq-pgpass.html" rel="nofollow" target="_blank"&gt;https://www.postgresql.org/docs/9.6/static/libpq-pgpass.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PowerShell, this style of approach should work:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;cd $env:userprofile\AppData\Roaming\postgresql\&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;if (Test-Path $env:userprofile\AppData\Roaming\postgresql\pgpass.conf) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;} else {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "localhost:4432:$([char]42):postgres:INSERTYOURSUPERUSERPASSWORD" | set-content pgpass.conf -Encoding Ascii&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Refer this link:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/291703"&gt;Qlik Sense Repository Backup Automation&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2018 10:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-backup-the-repository-with-Integrated-Security/m-p/80657#M5328</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-28T10:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to backup the repository with Integrated Security ?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-backup-the-repository-with-Integrated-Security/m-p/80658#M5329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But, in pagpass, the password will be stored in plain text right? I have created a key file and an encrypted password file using powershell. Can I decrypt and use that password in pg_dump? Can I store the files in some other location other than the pgpass location?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 13:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-backup-the-repository-with-Integrated-Security/m-p/80658#M5329</guid>
      <dc:creator>reshma_km</dc:creator>
      <dc:date>2018-07-30T13:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to backup the repository with Integrated Security ?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-backup-the-repository-with-Integrated-Security/m-p/80659#M5330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be it helps for encryption:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove $env:userprofile\AppData\Roaming\postgresql\pgpass.conf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 14:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-backup-the-repository-with-Integrated-Security/m-p/80659#M5330</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-30T14:37:02Z</dc:date>
    </item>
  </channel>
</rss>

