<?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: Export problem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/export-problem/m-p/269392#M222522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error you have while trying to delete is normal. It happens when you try to remove a parent table before its children tables. it can't be done because the children would point to a non-existing parent. That's normal behavior and the error doesn't come from this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you doing hot backups or doing it while your server is stopped?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may also need to check if you have your configuration (tomcat/shared/classes/extension/*) identical on both the servers (I'm especially thinking about the custom models) in order for the import to succeed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a part of the doc I wrote for my company. Forgive the windows-only paths/manipulations, I'm sure you'll be able to translate for linux.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this method instead of phpMyAdmin and cross your fingers:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Backup alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Stop alresco&amp;nbsp; (go to the services panel and stop alfrescoMySql and alfrescoTomcat)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;copy your data folder (by default C:\Alfresco\alf_data)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;backup your database to a file (by default: open a prompt and write C:\Alfresco\mysql\bin\mysqldump –databases alfresco –add-drop-database &amp;gt; dumpAlf.sql -u root -p )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;keep both the copy of alf_data and the generated dumpAlf.sql. those are the file you need to be able to restore alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;restart alfresco (go to the services panel and start alfrescoMySql and alfrescoTomcat)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Restore alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Stop alresco&amp;nbsp; (go to the services panel and stop alfrescoMySql and alfrescoTomcat)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;replace your data folder (by default C:\Alfresco\alf_data) with the one previously backed up&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;restaure your database from the file previously backed up (C:\Alfresco\mysql\bin\mysql &amp;lt; dumpAlf.sql -u root -p)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;restart alfresco (go to the services panel and start alfrescoMySql and alfrescoTomcat)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2011 13:27:50 GMT</pubDate>
    <dc:creator>scouil</dc:creator>
    <dc:date>2011-09-09T13:27:50Z</dc:date>
    <item>
      <title>Export problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/export-problem/m-p/269389#M222519</link>
      <description>Hello,I'm trying to move Alfresco CE 3.4 d from Windows to Linux machine, but without success. It was initially installed on Centos Linux and worked without problems in version 3.2. Then I had to change my linux machine so I moved it temporary to Windows. It went without any problems and works well</description>
      <pubDate>Mon, 05 Sep 2011 07:53:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/export-problem/m-p/269389#M222519</guid>
      <dc:creator>sparcle</dc:creator>
      <dc:date>2011-09-05T07:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Export problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/export-problem/m-p/269390#M222520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I migrated from windows to linux using the backup procedure and everything went well…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How are you backuping your mysql database?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are both your alfresco in the same language (maybe different naming due to languages could crash everything)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 09:15:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/export-problem/m-p/269390#M222520</guid>
      <dc:creator>scouil</dc:creator>
      <dc:date>2011-09-08T09:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Export problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/export-problem/m-p/269391#M222521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Scouil! Thank you very much for your reply!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do database backup with phpMyAdmin:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Log-in as root&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Choose database "alfresco"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.&amp;nbsp; And then "Export"-&amp;gt;"Save as a file".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the destination server I reverse the process:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Log-in to phpMyAdmin as root,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Create database "alfresco"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Import-&amp;gt;"From file".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And so I have the database restored.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also marked one strange thing: if I try to delete all the tables from the database I got an error. While I'm logged as root I think this is not my user rights problem. Some of the tables are deleted, some resist. The error text is: "Cannot delete or update a parent row: a foreign key constraint fails". The problem occurs every time both on Windows and Linux machine. I think this is an error of 3.4d version. But this souldn't be a problem by migration, since migration from Windows to Windows goes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco is in the same language (english) and versions (3.4.d) on both machines.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 09:53:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/export-problem/m-p/269391#M222521</guid>
      <dc:creator>sparcle</dc:creator>
      <dc:date>2011-09-09T09:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Export problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/export-problem/m-p/269392#M222522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error you have while trying to delete is normal. It happens when you try to remove a parent table before its children tables. it can't be done because the children would point to a non-existing parent. That's normal behavior and the error doesn't come from this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you doing hot backups or doing it while your server is stopped?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may also need to check if you have your configuration (tomcat/shared/classes/extension/*) identical on both the servers (I'm especially thinking about the custom models) in order for the import to succeed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a part of the doc I wrote for my company. Forgive the windows-only paths/manipulations, I'm sure you'll be able to translate for linux.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this method instead of phpMyAdmin and cross your fingers:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Backup alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Stop alresco&amp;nbsp; (go to the services panel and stop alfrescoMySql and alfrescoTomcat)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;copy your data folder (by default C:\Alfresco\alf_data)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;backup your database to a file (by default: open a prompt and write C:\Alfresco\mysql\bin\mysqldump –databases alfresco –add-drop-database &amp;gt; dumpAlf.sql -u root -p )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;keep both the copy of alf_data and the generated dumpAlf.sql. those are the file you need to be able to restore alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;restart alfresco (go to the services panel and start alfrescoMySql and alfrescoTomcat)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Restore alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Stop alresco&amp;nbsp; (go to the services panel and stop alfrescoMySql and alfrescoTomcat)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;replace your data folder (by default C:\Alfresco\alf_data) with the one previously backed up&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;restaure your database from the file previously backed up (C:\Alfresco\mysql\bin\mysql &amp;lt; dumpAlf.sql -u root -p)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;restart alfresco (go to the services panel and start alfrescoMySql and alfrescoTomcat)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 13:27:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/export-problem/m-p/269392#M222522</guid>
      <dc:creator>scouil</dc:creator>
      <dc:date>2011-09-09T13:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Export problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/export-problem/m-p/269393#M222523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank You for all of your information!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately - this did not help. I have changed the Linux machine meantime (I hoped that this may be because of too week server and after switching to 64 bit it will start to work…) - but the problem still remains. There is no problem when I do exactly what you have told me by moving to another Windows machine. But when I try move to Linux - it fails every time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway - I have a brand new instance of Alfresco CE 3.4d running on Linux. There is no problem to set up the users - there are only few of us. What's important - this is the pages in Share that we just can't loose…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 19:20:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/export-problem/m-p/269393#M222523</guid>
      <dc:creator>sparcle</dc:creator>
      <dc:date>2011-09-20T19:20:30Z</dc:date>
    </item>
  </channel>
</rss>

