<?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 How to backup Solr on Alfresco CE 5.2 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-backup-solr-on-alfresco-ce-5-2/m-p/26096#M11303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after some testing, we're currently setting up our Alfresco environment and writing backup scripts. I know that the Solr indexes are backed up automatically and that we can change that schedule. But in from our experience backups are much more reliable, when you're able to make a fresh backup from something, before saving it in a backup repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the official documentation for the community edition this is acomplishable by using JMX:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/community/tasks/backup-hot-refreshsolr4.html" title="https://docs.alfresco.com/community/tasks/backup-hot-refreshsolr4.html" rel="nofollow noopener noreferrer"&gt;Refreshing the backup Solr indexes (optional) | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;This is an optional step before initiating a hot backup.&lt;/P&gt;&lt;OL class=""&gt;&lt;LI class=""&gt;&lt;SPAN class=""&gt;Trigger a Solr index backup using a JMX client.&lt;/SPAN&gt;&lt;P class=""&gt;JConsole (MBeans tab &lt;SPAN class=""&gt;-gt Alfresco/Schedule/DEFAULT/MonitoredCronTrigger/indexBackupTrigger/Operations&lt;/SPAN&gt; - &lt;SPAN class=""&gt;executeNow&lt;/SPAN&gt; button)&lt;/P&gt;&lt;/LI&gt;&lt;LI class=""&gt;&lt;SPAN class=""&gt;After completing this operation, the solr4Backup directory contains an up-to-date cold copy of the Solr indexes, ready to be backed up.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;We actually managed to attach with jmxterm locally, but couldn't find a fitting MBean. Then after days of searching we found this question:&lt;A href="https://migration33.stage.lithium.com/thread/212600"&gt;Unable to connect with JConsole&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And in the answer section we did read this:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;JMX has always been an Alfresco Enterprise feature.&amp;nbsp;&amp;nbsp;&amp;nbsp; But on Community you could still access tomcat's JMX features.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt;With the EOL of the RMI services in 5.0.&amp;nbsp; Community no longer binds a RMI registry to port 50500&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt;You can still access Tomcat's JMX features but not via Alfresco's connection.&amp;nbsp;&amp;nbsp; See Tomcat's docs for further details. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I must say, it is a bit disturbing that the official documentation refers to a feature, which is no longer supported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since that was the only documented way to make a fresh backup of the Solr indexes, how can I backup them without it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 May 2017 10:24:56 GMT</pubDate>
    <dc:creator>mzpari</dc:creator>
    <dc:date>2017-05-29T10:24:56Z</dc:date>
    <item>
      <title>How to backup Solr on Alfresco CE 5.2</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-backup-solr-on-alfresco-ce-5-2/m-p/26096#M11303</link>
      <description>Hi,after some testing, we're currently setting up our Alfresco environment and writing backup scripts. I know that the Solr indexes are backed up automatically and that we can change that schedule. But in from our experience backups are much more reliable, when you're able to make a fresh backup fro</description>
      <pubDate>Mon, 29 May 2017 10:24:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-backup-solr-on-alfresco-ce-5-2/m-p/26096#M11303</guid>
      <dc:creator>mzpari</dc:creator>
      <dc:date>2017-05-29T10:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to backup Solr on Alfresco CE 5.2</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-backup-solr-on-alfresco-ce-5-2/m-p/26097#M11304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, JMX is an enterprise feature, so you can not run this in Community&amp;nbsp;version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I remember that in SOLR 1.4, I used some replication API to trigger directly a backup, so you probably will find a similar service in SOLR 4 or SOLR 6. And this can be done via curl with a client certificate via SOLR API :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://blyx.com/2013/11/18/running-the-alfresco-solr-backup-from-the-command-line/" title="https://blyx.com/2013/11/18/running-the-alfresco-solr-backup-from-the-command-line/" rel="nofollow noopener noreferrer"&gt;Running the Alfresco Solr backup from the command line – : : blyx.com : : Blog : : Toni de la Fuente : :&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 15:23:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-backup-solr-on-alfresco-ce-5-2/m-p/26097#M11304</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-05-29T15:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to backup Solr on Alfresco CE 5.2</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-backup-solr-on-alfresco-ce-5-2/m-p/26098#M11305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, that helped a lot. I hope that will be added to the manual for the community edition, since the described way in it is not working with the community edition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hint for others: Replace "solr" with "solr4" in the URL fpr the current versions of alfresco and replace "alfresco" with "alfresco-community" in the file path if you're using the default installation directory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 08:11:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-backup-solr-on-alfresco-ce-5-2/m-p/26098#M11305</guid>
      <dc:creator>mzpari</dc:creator>
      <dc:date>2017-06-02T08:11:46Z</dc:date>
    </item>
  </channel>
</rss>

