<?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: Obtaining a list of Orphaned Binaries Before Deletion in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/obtaining-a-list-of-orphaned-binaries-before-deletion/m-p/327892#M14893</link>
    <description>&lt;P&gt;Thank you for confirming. I was just wondering if this was something that was possible with the current API&lt;/P&gt;</description>
    <pubDate>Wed, 04 Apr 2018 01:30:04 GMT</pubDate>
    <dc:creator>Peter_Tucker</dc:creator>
    <dc:date>2018-04-04T01:30:04Z</dc:date>
    <item>
      <title>Obtaining a list of Orphaned Binaries Before Deletion</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/obtaining-a-list-of-orphaned-binaries-before-deletion/m-p/327890#M14891</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I am looking into a way to review orphaned binaries before they are deleted. I know that that platform has in the Admin tab the tool to gathered orphaned binaries, and where you can delete clear them. I also saw in a different thread on what script is used to collect the orphaned binaries.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://answers.nuxeo.com/general/q/1a59c9853a41488385781122f335c737/Nuxeo-Shell-Delete-Orphaned-Binaries" target="test_blank"&gt;https://answers.nuxeo.com/general/q/1a59c9853a41488385781122f335c737/Nuxeo-Shell-Delete-Orphaned-Binaries&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;However something I've been trying to find is how and where the orphaned binaries are stored before deletion, if they are saved in some sort of list. When looking at the script, I see:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;SQLRepositoryStatusMBean status = new SQLRepositoryStatus();
if (!status.isBinariesGCInProgress()) {
    BinaryManagerStatus binaryManagerStatus = status.gcBinaries(true);
    ....
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So I looked up on BinaryManagerStatus and saw here:
&lt;A href="http://community.nuxeo.com/api/nuxeo/5.5/javadoc/org/nuxeo/ecm/core/storage/sql/BinaryManagerStatus.html" target="test_blank"&gt;http://community.nuxeo.com/api/nuxeo/5.5/javadoc/org/nuxeo/ecm/core/storage/sql/BinaryManagerStatus.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It has information about the number of GC binaries, duration, but nothing on returning the list.
Is there an alternate way of obtaining this list?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 20:00:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/obtaining-a-list-of-orphaned-binaries-before-deletion/m-p/327890#M14891</guid>
      <dc:creator>Peter_Tucker</dc:creator>
      <dc:date>2018-03-22T20:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining a list of Orphaned Binaries Before Deletion</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/obtaining-a-list-of-orphaned-binaries-before-deletion/m-p/327891#M14892</link>
      <description>&lt;P&gt;No, currently there's no way to return the list. You'd have to change the binary manager API and implementation to do that.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2018 15:58:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/obtaining-a-list-of-orphaned-binaries-before-deletion/m-p/327891#M14892</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2018-03-23T15:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining a list of Orphaned Binaries Before Deletion</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/obtaining-a-list-of-orphaned-binaries-before-deletion/m-p/327892#M14893</link>
      <description>&lt;P&gt;Thank you for confirming. I was just wondering if this was something that was possible with the current API&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 01:30:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/obtaining-a-list-of-orphaned-binaries-before-deletion/m-p/327892#M14893</guid>
      <dc:creator>Peter_Tucker</dc:creator>
      <dc:date>2018-04-04T01:30:04Z</dc:date>
    </item>
  </channel>
</rss>

