<?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: How to rebuild database / recreate alfresco database? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-rebuild-database-recreate-alfresco-database/m-p/294800#M247930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've not found it for your Alfresco version, but you could try the following sql scripts from the 4.0e: &lt;/SPAN&gt;&lt;A href="http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V4.0e/root/projects/repository/config/alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/" rel="nofollow noopener noreferrer"&gt;http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V4.0e/root/projects/repository/config/alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Once done it, you can upgrade it to the 4.1 comparing 4.0's and 4.1's upgrade dbscript's from the 4.2 &lt;/SPAN&gt;&lt;A href="http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V4.2a/root/projects/repository/config/alfresco/dbscripts/upgrade/" rel="nofollow noopener noreferrer"&gt;http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V4.2a/root/projects/repository/config/alfresco/dbscripts/upgrade/&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There should be another way, a script that creates again the tables, but since I don't know… Hope you find it helpful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Aug 2014 15:11:00 GMT</pubDate>
    <dc:creator>bostaxola</dc:creator>
    <dc:date>2014-08-15T15:11:00Z</dc:date>
    <item>
      <title>How to rebuild database / recreate alfresco database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-rebuild-database-recreate-alfresco-database/m-p/294797#M247927</link>
      <description>I'm attempting to rebuild the entire 'alfresco' database (on Alfresco Community Edition 4.1) without re-running the installation script. Accordingly, I've dropped all tables within the 'alfresco' database.I restart Tomcat (and thus Alfresco), but the databases are not re-created.Instead, I get outpu</description>
      <pubDate>Fri, 15 Aug 2014 07:46:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-rebuild-database-recreate-alfresco-database/m-p/294797#M247927</guid>
      <dc:creator>jblank-a</dc:creator>
      <dc:date>2014-08-15T07:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to rebuild database / recreate alfresco database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-rebuild-database-recreate-alfresco-database/m-p/294798#M247928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should crate the databases manually, stop alfresco and tomcat, log in into postgresql and run the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;CREATE DATABASE alfresco WITH OWNER alfresco;&lt;BR /&gt;GRANT ALL PRIVILEGES ON DATABASE alfresco TO alfresco;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 09:42:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-rebuild-database-recreate-alfresco-database/m-p/294798#M247928</guid>
      <dc:creator>bostaxola</dc:creator>
      <dc:date>2014-08-15T09:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to rebuild database / recreate alfresco database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-rebuild-database-recreate-alfresco-database/m-p/294799#M247929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I already did that. Upon startup, Alfresco isn't recreating any of the tables.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 14:41:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-rebuild-database-recreate-alfresco-database/m-p/294799#M247929</guid>
      <dc:creator>jblank-a</dc:creator>
      <dc:date>2014-08-15T14:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to rebuild database / recreate alfresco database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-rebuild-database-recreate-alfresco-database/m-p/294800#M247930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've not found it for your Alfresco version, but you could try the following sql scripts from the 4.0e: &lt;/SPAN&gt;&lt;A href="http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V4.0e/root/projects/repository/config/alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/" rel="nofollow noopener noreferrer"&gt;http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V4.0e/root/projects/repository/config/alfresco/dbscripts/create/org.hibernate.dialect.PostgreSQLDialect/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Once done it, you can upgrade it to the 4.1 comparing 4.0's and 4.1's upgrade dbscript's from the 4.2 &lt;/SPAN&gt;&lt;A href="http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V4.2a/root/projects/repository/config/alfresco/dbscripts/upgrade/" rel="nofollow noopener noreferrer"&gt;http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V4.2a/root/projects/repository/config/alfresco/dbscripts/upgrade/&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There should be another way, a script that creates again the tables, but since I don't know… Hope you find it helpful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 15:11:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-rebuild-database-recreate-alfresco-database/m-p/294800#M247930</guid>
      <dc:creator>bostaxola</dc:creator>
      <dc:date>2014-08-15T15:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to rebuild database / recreate alfresco database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-rebuild-database-recreate-alfresco-database/m-p/294801#M247931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, since I didn't find any confirmation on the Net, I ask here : do you mean that using only the filesystem (contenstore), the whole database (and not only teh index) can be re-built automatically ? I noticed already that Alfresco writes a huge number of very small files every second, but I couldn't find assurance that a backup of only the filesystem would allow to recover the documents. On the contrary, I found several pages talking about orphans, liabilities between DB and filesystems etc, and that is a bit scary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that I'm using Entreprise 4.0.2.9, not community. But recovery to community would also fit my needs (it's only for severe DR situations)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 09:25:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-rebuild-database-recreate-alfresco-database/m-p/294801#M247931</guid>
      <dc:creator>cver</dc:creator>
      <dc:date>2014-09-17T09:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to rebuild database / recreate alfresco database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-rebuild-database-recreate-alfresco-database/m-p/294802#M247932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If there's no content store.&amp;nbsp;&amp;nbsp; Then the database is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But to the OP.&amp;nbsp; Why are you doing this?&amp;nbsp; If its just a clear out to restore default settings then as well as a drop and recreate of the empty db you also need to delete/remove the content store and index.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cver, what to backup depends upon your requirements.&amp;nbsp;&amp;nbsp; With PostgreSQL if alfresco is not running then a file system backup should be&amp;nbsp; o.k.&amp;nbsp;&amp;nbsp; If you are using another database or hot backup then you will need the content store and database dump.&amp;nbsp;&amp;nbsp; As per the backup docs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 09:45:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-rebuild-database-recreate-alfresco-database/m-p/294802#M247932</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-09-17T09:45:00Z</dc:date>
    </item>
  </channel>
</rss>

