<?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: Lost files from filesystem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lost-files-from-filesystem/m-p/216984#M170114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need the content store And the database backup together.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Either one without the other is not going to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However if you do have a backup of the filesystem then you can simply copy the missing folders from backup.&amp;nbsp;&amp;nbsp; Problem over! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However assuming that you really don't have a backup then take a backup of both database and content store before you touch the live alfresco system!&amp;nbsp;&amp;nbsp;&amp;nbsp; And install that backup onto a test system so you can check whether your proposed changes work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you are missing is the content for some of your nodes.&amp;nbsp;&amp;nbsp;&amp;nbsp; There's no worry about any "corruption", your database is intact.&amp;nbsp;&amp;nbsp;&amp;nbsp; And your content store is fine as well except for a missing few folders.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your first task is to do some analysis to identify which nodes have a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And what are the associations to those problem nodes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may be able to "fix up" the content or delete the problem nodes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2009 10:24:47 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2009-09-15T10:24:47Z</dc:date>
    <item>
      <title>Lost files from filesystem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lost-files-from-filesystem/m-p/216980#M170110</link>
      <description>Hi all,yesterday a customer of mine did an error: he deleted some folders inside the contentstore folder… He deleted some folders likecontentstore/2009/7/20contentstore/2009/7/21contentstore/2009/7/22Since the documents contained in those folders are not so important, we'd like to synchronize the da</description>
      <pubDate>Thu, 10 Sep 2009 07:50:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lost-files-from-filesystem/m-p/216980#M170110</guid>
      <dc:creator>mauro_lorenzutt</dc:creator>
      <dc:date>2009-09-10T07:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Lost files from filesystem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lost-files-from-filesystem/m-p/216981#M170111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wow, you have one stupid client there&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to write your own crawler to check every file &amp;amp; cm:content property and your content, version, archive and avm stores to check if they still match in Java, and deleted whatever is gone.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 12:38:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lost-files-from-filesystem/m-p/216981#M170111</guid>
      <dc:creator>rogier_oudshoor</dc:creator>
      <dc:date>2009-09-11T12:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Lost files from filesystem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lost-files-from-filesystem/m-p/216982#M170112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You don't neccessarily need to crawl through all your data.&amp;nbsp; The folders in the content store repository correspond to dates, so your client lost 3 days worth of content. You may be able to search for all nodes created on those particular dates which will at least tell you which files you have lost.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the most important thing (for any IT system, including alfresco) is to make sure backups are being made.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 13:40:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lost-files-from-filesystem/m-p/216982#M170112</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-09-11T13:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Lost files from filesystem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lost-files-from-filesystem/m-p/216983#M170113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You don't neccessarily need to crawl through all your data.&amp;nbsp; The folders in the content store repository correspond to dates, so your client lost 3 days worth of content. You may be able to search for all nodes created on those particular dates which will at least tell you which files you have lost.&lt;BR /&gt;&lt;BR /&gt;But the most important thing (for any IT system, including alfresco) is to make sure backups are being made.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much. I'll try to find out all the pending records and clean up the db.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, can you confirm that when I finished the cleaning everything starts to work fine again? Or is it possible that something was corrupted and will not be repaired after this operation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the mean time, I replaced that folders with a very old backup (maybe every file was there, I can't guarantee it…) and I rebuilt the Lucene index. Now I get the following exception in some folders:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;javax.faces.FacesException: org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/d3bf11fa-34ed-2341fefedfdf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. I know that a backup is important but someone doesn't give the right importance to backups… Now I'm sure that it will be a priority &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mauro&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 09:43:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lost-files-from-filesystem/m-p/216983#M170113</guid>
      <dc:creator>mauro_lorenzutt</dc:creator>
      <dc:date>2009-09-15T09:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Lost files from filesystem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lost-files-from-filesystem/m-p/216984#M170114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need the content store And the database backup together.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Either one without the other is not going to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However if you do have a backup of the filesystem then you can simply copy the missing folders from backup.&amp;nbsp;&amp;nbsp; Problem over! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However assuming that you really don't have a backup then take a backup of both database and content store before you touch the live alfresco system!&amp;nbsp;&amp;nbsp;&amp;nbsp; And install that backup onto a test system so you can check whether your proposed changes work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you are missing is the content for some of your nodes.&amp;nbsp;&amp;nbsp;&amp;nbsp; There's no worry about any "corruption", your database is intact.&amp;nbsp;&amp;nbsp;&amp;nbsp; And your content store is fine as well except for a missing few folders.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your first task is to do some analysis to identify which nodes have a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And what are the associations to those problem nodes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may be able to "fix up" the content or delete the problem nodes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 10:24:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lost-files-from-filesystem/m-p/216984#M170114</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-09-15T10:24:47Z</dc:date>
    </item>
  </channel>
</rss>

