<?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 Database Restore in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/database-restore/m-p/106167#M30005</link>
    <description>&lt;P&gt;Hello, I had a harware failure and lost my Alfreso server. I do have a copy of the Alfresco install directory, database and contentstore. What I am struggeling with is how do I restore the database. I do not have a traditional backup of the database, just a copy of all of the directories for the alfresco install (everything was on one server). I have instructions to restore the database from one that was backed up. Is there a way to restore from the files I have?&lt;/P&gt;</description>
    <pubDate>Sun, 27 Oct 2019 23:32:06 GMT</pubDate>
    <dc:creator>patrick_windsor</dc:creator>
    <dc:date>2019-10-27T23:32:06Z</dc:date>
    <item>
      <title>Database Restore</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/database-restore/m-p/106167#M30005</link>
      <description>&lt;P&gt;Hello, I had a harware failure and lost my Alfreso server. I do have a copy of the Alfresco install directory, database and contentstore. What I am struggeling with is how do I restore the database. I do not have a traditional backup of the database, just a copy of all of the directories for the alfresco install (everything was on one server). I have instructions to restore the database from one that was backed up. Is there a way to restore from the files I have?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2019 23:32:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/database-restore/m-p/106167#M30005</guid>
      <dc:creator>patrick_windsor</dc:creator>
      <dc:date>2019-10-27T23:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Database Restore</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/database-restore/m-p/106168#M30006</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="ph b"&gt;Content Store&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;contains the physical files uploaded to the Repository.&amp;nbsp; To restore the backup successfully, the&amp;nbsp;&lt;SPAN class="ph filepath"&gt;contentstore&lt;/SPAN&gt;&amp;nbsp;directory and database must be backed up as a set. When you restore an Alfresco backup, you must restore both the Alfresco database and the&amp;nbsp;&lt;SPAN class="ph filepath"&gt;dir.root&lt;/SPAN&gt;&amp;nbsp;directory (&lt;SPAN class="ph filepath"&gt;contentstore&lt;/SPAN&gt;&amp;nbsp;directory) from the same backup set. Otherwise, the repository may be corrupted.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 16:17:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/database-restore/m-p/106168#M30006</guid>
      <dc:creator>jljwoznica</dc:creator>
      <dc:date>2019-10-28T16:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Database Restore</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/database-restore/m-p/106169#M30007</link>
      <description>&lt;P&gt;When I performed the backup I stopped all of the Alfresco services and then copied the Alfresco directory and the contentstore directory. I reinstalled Alfresco on a new machine and have the ablity to resore the contentstore, but what I cannot locate is the DB files, I cannot determine where they are stored. Essentially my question is for a standard Alfresco Community Edition, what directory is the database in? I was hopong to copy those files into my new install )as well as my content store) and then start the services.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 02:29:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/database-restore/m-p/106169#M30007</guid>
      <dc:creator>patrick_windsor</dc:creator>
      <dc:date>2019-11-05T02:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Database Restore</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/database-restore/m-p/106170#M30008</link>
      <description>&lt;DIV class="text-wrap tlid-copy-target"&gt;&lt;DIV class="result-shield-container tlid-copy-target"&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;Assuming you've used the Community 5.2 installer, your backup includes postgres binaries and a postgres database. Which OS you're running on?&lt;/SPAN&gt; &lt;SPAN class=""&gt;Please check the start / stop scripts how to set the environment and then use command-line tools to create a correct database dump that can be restored to the new installation.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="result-shield-container tlid-copy-target"&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;I recommend &lt;EM&gt;not&lt;/EM&gt; to use the postgres binaries shiped with Alfresco on the &lt;EM&gt;new&lt;/EM&gt; install. Instead use supported installs for your OS (e.g. from your linux distribution package manager). You should always create real db backups/dumps instead of just folder copies.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="tlid-result-transliteration-container result-transliteration-container transliteration-container"&gt;&lt;DIV class="tlid-transliteration-content transliteration-content full"&gt;As long as you created cold backups chances are high to get everything restored. It's a pitty that Alfresco doesn't ship with a working backup &amp;amp; restore mechanism.&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Take a look to &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/restore-alfresco-database-postgresql/td-p/84463" target="_blank" rel="noopener nofollow noreferrer"&gt;this&lt;/A&gt; thread how to run pg_dump and restore on linux setup created by the Alfresco installer.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 08:37:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/database-restore/m-p/106170#M30008</guid>
      <dc:creator>heiko_robert</dc:creator>
      <dc:date>2019-11-05T08:37:46Z</dc:date>
    </item>
  </channel>
</rss>

