<?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: Restore Alfresco Database (PostgreSQL) in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/restore-alfresco-database-postgresql/m-p/104145#M29569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark as Corrected Answer then&amp;nbsp; &lt;IMG src="https://connect.hyland.com/legacyfs/online/alfresco/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 May 2019 12:07:40 GMT</pubDate>
    <dc:creator>AlfrescoZZZ</dc:creator>
    <dc:date>2019-05-24T12:07:40Z</dc:date>
    <item>
      <title>Restore Alfresco Database (PostgreSQL)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restore-alfresco-database-postgresql/m-p/104142#M29566</link>
      <description>Hi all,&amp;nbsp;Due to a server crash, I have to restore the whole Alfresco Community (ver 5.2). I am trying to follow the guide in&amp;nbsp;https://community.alfresco.com/thread/202783-backup-and-restore-procedures&amp;nbsp;, but get stuck at recovery of Postgres database, since I cannot login with 'postgres' account (mine</description>
      <pubDate>Thu, 23 May 2019 02:31:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restore-alfresco-database-postgresql/m-p/104142#M29566</guid>
      <dc:creator>ddtien66</dc:creator>
      <dc:date>2019-05-23T02:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Alfresco Database (PostgreSQL)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restore-alfresco-database-postgresql/m-p/104143#M29567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this with root privileges:&lt;/P&gt;&lt;P&gt;Enter with postgres user&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;&lt;STRONG style="font-family: Courier New, serif; "&gt;su - postgres&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: Courier New, serif;"&gt;Go to the directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;&lt;STRONG style="font-family: Courier New, serif; "&gt;cd /opt/alfresco-community/postgresql/bin/&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: Courier New, serif;"&gt;Run bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;&lt;STRONG style="font-family: Courier New, serif; "&gt;./psql&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: Courier New, serif;"&gt;Insert the password (usually on the alfresco-global-properties)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;&lt;STRONG style="font-family: Courier New, serif; "&gt;&amp;gt; &lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New, serif;"&gt;&lt;STRONG&gt;YOUR_SQL_COMMAND&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;&lt;STRONG style="font-family: Courier New, serif; "&gt;&amp;gt;\q&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;&lt;SPAN style="font-family: Courier New, serif;"&gt;Exit from postgres user&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;&lt;STRONG style="font-family: Courier New, serif; "&gt;exit&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;&lt;/P&gt;&lt;P&gt;If you want just do a dump then&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: Courier New, serif; "&gt;su - postgres&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: Courier New, serif; "&gt;cd /opt/alfresco-community/postgresql/bin/&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;&lt;STRONG style="font-family: Courier New, serif; "&gt;./pg_dump -h 127.0.0.1 -U alfresco -W alfresco &amp;gt; /opt/alfresco/alfresco52dump.sql&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;for restore&lt;/P&gt;&lt;P class="" style="margin-bottom: 0cm;"&gt;&lt;STRONG style="font-family: Courier New, serif; "&gt;./psql -h 127.0.0.1 -U alfresco -W alfresco &amp;lt; /opt/alfresco/alfresco52dump.sql&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2019 08:32:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restore-alfresco-database-postgresql/m-p/104143#M29567</guid>
      <dc:creator>AlfrescoZZZ</dc:creator>
      <dc:date>2019-05-23T08:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Alfresco Database (PostgreSQL)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restore-alfresco-database-postgresql/m-p/104144#M29568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot. It works fantastically!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2019 08:29:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restore-alfresco-database-postgresql/m-p/104144#M29568</guid>
      <dc:creator>ddtien66</dc:creator>
      <dc:date>2019-05-24T08:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Restore Alfresco Database (PostgreSQL)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/restore-alfresco-database-postgresql/m-p/104145#M29569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark as Corrected Answer then&amp;nbsp; &lt;IMG src="https://connect.hyland.com/legacyfs/online/alfresco/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2019 12:07:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/restore-alfresco-database-postgresql/m-p/104145#M29569</guid>
      <dc:creator>AlfrescoZZZ</dc:creator>
      <dc:date>2019-05-24T12:07:40Z</dc:date>
    </item>
  </channel>
</rss>

