<?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: Delete AlfrescoDB from new alfresco installation in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/delete-alfrescodb-from-new-alfresco-installation/m-p/129371#M35022</link>
    <description>&lt;P&gt;You should do dump/restore of database 5.0 into 5.1 installation.&lt;/P&gt;&lt;P&gt;1. delete default installed database in 5.1 and create empty database 'alfresco'&lt;/P&gt;&lt;PRE&gt;$ ./psql
postgres=# drop database alfresco;

postgres=# CREATE DATABASE alfresco
postgres-# WITH OWNER = alfresco
postgres-# ENCODING = 'UTF8'
postgres-# TABLESPACE = pg_default
postgres-# CONNECTION LIMIT = -1
postgres-# TEMPLATE template0;
 
postgres-# \q&lt;/PRE&gt;&lt;P&gt;3. stop alfresco 5.0. dump old 5.0&lt;/P&gt;&lt;PRE&gt;$ pg_dump --username alfresco alfresco &amp;gt; database_dump.sql&lt;/PRE&gt;&lt;P&gt;4. restore database 5.0 into 5.1&lt;/P&gt;&lt;PRE&gt;$ cat database_dump.sql | psql -q -U alfresco -d alfresco&lt;/PRE&gt;&lt;P&gt;5. rsync alf_data from 5.0 into 5.1&lt;/P&gt;&lt;PRE&gt;$ rsync -avh ./alfresco5.0/alf_data ./alfresco5.1/&lt;/PRE&gt;&lt;P&gt;5. start alfresco 5.1 to upgrade&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 20:03:25 GMT</pubDate>
    <dc:creator>fedorow</dc:creator>
    <dc:date>2023-09-19T20:03:25Z</dc:date>
    <item>
      <title>Delete AlfrescoDB from new alfresco installation</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/delete-alfrescodb-from-new-alfresco-installation/m-p/129370#M35021</link>
      <description>&lt;P&gt;Good day All,&lt;/P&gt;&lt;P&gt;I am performing an alfresco community upgrade from Alfresco community 5.0 to 5.1. I have done the backup and copied the alf_data from the old installation i.e. 5.0, I have installed the Alfresco community 5.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is how do I go about removing the alfrescoDB in 5.1 and restoring the backup DB from 5.0 to 5.1, if anyone can list the process of doing this or how i go about it, I would be glad.&lt;/P&gt;&lt;P&gt;I look forward to hearing from you guys.&lt;/P&gt;&lt;P&gt;Thanks and BR,&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 14:24:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/delete-alfrescodb-from-new-alfresco-installation/m-p/129370#M35021</guid>
      <dc:creator>ejike</dc:creator>
      <dc:date>2023-09-19T14:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Delete AlfrescoDB from new alfresco installation</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/delete-alfrescodb-from-new-alfresco-installation/m-p/129371#M35022</link>
      <description>&lt;P&gt;You should do dump/restore of database 5.0 into 5.1 installation.&lt;/P&gt;&lt;P&gt;1. delete default installed database in 5.1 and create empty database 'alfresco'&lt;/P&gt;&lt;PRE&gt;$ ./psql
postgres=# drop database alfresco;

postgres=# CREATE DATABASE alfresco
postgres-# WITH OWNER = alfresco
postgres-# ENCODING = 'UTF8'
postgres-# TABLESPACE = pg_default
postgres-# CONNECTION LIMIT = -1
postgres-# TEMPLATE template0;
 
postgres-# \q&lt;/PRE&gt;&lt;P&gt;3. stop alfresco 5.0. dump old 5.0&lt;/P&gt;&lt;PRE&gt;$ pg_dump --username alfresco alfresco &amp;gt; database_dump.sql&lt;/PRE&gt;&lt;P&gt;4. restore database 5.0 into 5.1&lt;/P&gt;&lt;PRE&gt;$ cat database_dump.sql | psql -q -U alfresco -d alfresco&lt;/PRE&gt;&lt;P&gt;5. rsync alf_data from 5.0 into 5.1&lt;/P&gt;&lt;PRE&gt;$ rsync -avh ./alfresco5.0/alf_data ./alfresco5.1/&lt;/PRE&gt;&lt;P&gt;5. start alfresco 5.1 to upgrade&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 20:03:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/delete-alfrescodb-from-new-alfresco-installation/m-p/129371#M35022</guid>
      <dc:creator>fedorow</dc:creator>
      <dc:date>2023-09-19T20:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Delete AlfrescoDB from new alfresco installation</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/delete-alfrescodb-from-new-alfresco-installation/m-p/129372#M35023</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/6711"&gt;@fedorow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please where do I run these commands, is it "cmd" terminal or should it be run in "pgAdmin3" or "psql" inside the /postgresql &amp;gt; bin folder.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I look forwrad to hearing from you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ejike&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 09:27:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/delete-alfrescodb-from-new-alfresco-installation/m-p/129372#M35023</guid>
      <dc:creator>ejike</dc:creator>
      <dc:date>2023-09-20T09:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Delete AlfrescoDB from new alfresco installation</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/delete-alfrescodb-from-new-alfresco-installation/m-p/129373#M35024</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/6711"&gt;@fedorow&lt;/A&gt;&amp;nbsp;I have implemented all the steps from step 1 to step 5.&lt;/P&gt;&lt;P&gt;For step 5, I deleted the alf_data in Alfresco 5.1 and implemented "rsync" which was completed successfully.&lt;/P&gt;&lt;P&gt;But anytime I start Alfresco 5.1, it goes from "stopped" to "starting" and goes back to "stopped". It never moves to "running".&lt;/P&gt;&lt;P&gt;Please what do you think could be the issue?&lt;/P&gt;&lt;P&gt;I look forwrad to hearing from you.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 10:18:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/delete-alfrescodb-from-new-alfresco-installation/m-p/129373#M35024</guid>
      <dc:creator>ejike</dc:creator>
      <dc:date>2023-09-21T10:18:46Z</dc:date>
    </item>
  </channel>
</rss>

