<?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 prevent garbage collection of binaries in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-prevent-garbage-collection-of-binaries/m-p/319350#M6351</link>
    <description>&lt;P&gt;I am not 100% sure, but I think garbage collection is not scheduled in background, at least in default mode.
If you want to remove orphaned binaries, you have to execute the script provided by nuxeo manually, or you can create your own process.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jun 2019 11:09:41 GMT</pubDate>
    <dc:creator>Rodri_</dc:creator>
    <dc:date>2019-06-20T11:09:41Z</dc:date>
    <item>
      <title>How to prevent garbage collection of binaries</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-prevent-garbage-collection-of-binaries/m-p/319349#M6350</link>
      <description>&lt;P&gt;We have a requirement that when all document records referencing a binary are deleted, &lt;STRONG&gt;the binary should still be preserved&lt;/STRONG&gt;. However, according to Nuxeo documentation, Garbage Collection will remove these binaries. So my questions are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Is garbage collection run as a scheduled background job? If so, which background work does that. I browsed through Nuxeo's source-code but couldn't find it&lt;/LI&gt;
&lt;LI&gt;I checked the source-code of DocumentBlobManagerComponent which implements garbageCollectBinaries(boolean delete). There is an option to call garbageCollectBinaries(false) to prevent deletion but I couldn't find a contribution to override this. Can this be done without modifying the source code?&lt;/LI&gt;
&lt;LI&gt;I couldn't find the usage of garbargeCollectBinaries function. It is not being called from anywhere except &lt;EM&gt;SQLRepositoryStatus.java&lt;/EM&gt;. Do we need to call it manually? If so, just not calling it may solve my problem.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Thanks for the help in advance&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 08:32:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-prevent-garbage-collection-of-binaries/m-p/319349#M6350</guid>
      <dc:creator>Varun_Singh</dc:creator>
      <dc:date>2019-06-06T08:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent garbage collection of binaries</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-prevent-garbage-collection-of-binaries/m-p/319350#M6351</link>
      <description>&lt;P&gt;I am not 100% sure, but I think garbage collection is not scheduled in background, at least in default mode.
If you want to remove orphaned binaries, you have to execute the script provided by nuxeo manually, or you can create your own process.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 11:09:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-prevent-garbage-collection-of-binaries/m-p/319350#M6351</guid>
      <dc:creator>Rodri_</dc:creator>
      <dc:date>2019-06-20T11:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent garbage collection of binaries</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-prevent-garbage-collection-of-binaries/m-p/319351#M6352</link>
      <description>&lt;P&gt;Thanks Rodri. That's what it seems at least from the codebase.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 05:11:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-prevent-garbage-collection-of-binaries/m-p/319351#M6352</guid>
      <dc:creator>Varun_Singh</dc:creator>
      <dc:date>2019-06-26T05:11:52Z</dc:date>
    </item>
  </channel>
</rss>

