<?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: solrBackup directory in my alf_data in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solrbackup-directory-in-my-alf-data/m-p/284420#M237550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;solrBackup is the default directory position for automated backup copy of solr indexes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In Alfresco 4.1 you can find 2 properties in WEB-INF/classes/alfresco/subsystems/Search/solr/solr-backup.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;solr.backup.alfresco.remoteBackupLocation=${dir.root}/solrBackup/alfresco&lt;BR /&gt;solr.backup.archive.remoteBackupLocation=${dir.root}/solrBackup/archive&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the Enterpise version you can set these properties accessing Share &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the&amp;nbsp; Community version you can set alfresco-global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;# the backup path&lt;BR /&gt;solr.backup.alfresco.remoteBackupLocation=${dir.root}/solrBackup/alfresco&lt;BR /&gt;solr.backup.archive.remoteBackupLocation=${dir.root}/solrBackup/archive&lt;BR /&gt;# the number of backups to keep&lt;BR /&gt;solr.backup.alfresco.numberToKeep=3&lt;BR /&gt;solr.backup.archive.numberToKeep=3&lt;BR /&gt;# the backup scheduler&lt;BR /&gt;solr.backup.alfresco.cronExpression=0 0 2 * * ?&lt;BR /&gt;solr.backup.archive.cronExpression=0 0 4 * * ?&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jun 2013 14:43:14 GMT</pubDate>
    <dc:creator>joe_l3</dc:creator>
    <dc:date>2013-06-05T14:43:14Z</dc:date>
    <item>
      <title>solrBackup directory in my alf_data</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solrbackup-directory-in-my-alf-data/m-p/284419#M237549</link>
      <description>Hi I am using CE 4.2.c, and some time, I have observed that in my alf_data there is a directory solrBackup created. I have not created it manually.I remove it and may after few days when i check I see it again.Why the solrBackup directory is being created. Any process or action is creating itdoes th</description>
      <pubDate>Wed, 29 May 2013 06:27:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solrbackup-directory-in-my-alf-data/m-p/284419#M237549</guid>
      <dc:creator>bisana</dc:creator>
      <dc:date>2013-05-29T06:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: solrBackup directory in my alf_data</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solrbackup-directory-in-my-alf-data/m-p/284420#M237550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;solrBackup is the default directory position for automated backup copy of solr indexes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In Alfresco 4.1 you can find 2 properties in WEB-INF/classes/alfresco/subsystems/Search/solr/solr-backup.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;solr.backup.alfresco.remoteBackupLocation=${dir.root}/solrBackup/alfresco&lt;BR /&gt;solr.backup.archive.remoteBackupLocation=${dir.root}/solrBackup/archive&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the Enterpise version you can set these properties accessing Share &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the&amp;nbsp; Community version you can set alfresco-global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;# the backup path&lt;BR /&gt;solr.backup.alfresco.remoteBackupLocation=${dir.root}/solrBackup/alfresco&lt;BR /&gt;solr.backup.archive.remoteBackupLocation=${dir.root}/solrBackup/archive&lt;BR /&gt;# the number of backups to keep&lt;BR /&gt;solr.backup.alfresco.numberToKeep=3&lt;BR /&gt;solr.backup.archive.numberToKeep=3&lt;BR /&gt;# the backup scheduler&lt;BR /&gt;solr.backup.alfresco.cronExpression=0 0 2 * * ?&lt;BR /&gt;solr.backup.archive.cronExpression=0 0 4 * * ?&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 14:43:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solrbackup-directory-in-my-alf-data/m-p/284420#M237550</guid>
      <dc:creator>joe_l3</dc:creator>
      <dc:date>2013-06-05T14:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: solrBackup directory in my alf_data</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solrbackup-directory-in-my-alf-data/m-p/284421#M237551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Putting this here in case someone was trying to find what I was after.&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;If you want to restore solr4 indexes from solr4Backup folder follow these steps &lt;BR /&gt;(works for Alfresco Community 5.2 on centos 7 64 bit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. stop solr / tomcat&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;sudo service alfresco stop tomcat&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. delete current indexes usually stored in {alf_data}/solr4/index. check 'data.dir.root' setting in alfresco-global.properties&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;cd /opt/alfresco-community/alf_data/solr4&lt;/P&gt;&lt;P&gt;sudo rm -rf index/workspace/SpacesStore/index/*&lt;/P&gt;&lt;P&gt;sudo rm -rf index/archive/SpacesStore/index/*&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;3. restore backups from solr4Backup folder. usually stored {alf_data}/solr4Backup&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;cd /opt/alfresco-community/alf_data/solr4Backup&lt;/P&gt;&lt;P&gt;sudo cp -R alfresco/{some snap shot}/* ../solr4/index/workspace/SpacesStore/index/&lt;/P&gt;&lt;P&gt;sudo cp -R archive/{some snap shot}/* ../solr4/index/archive/SpacesStore/index/&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;4. start solr / tomcat&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;sudo service alfresco start tomcat&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;more info&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/community5.1/concepts/solr4-directory.html" title="https://docs.alfresco.com/community5.1/concepts/solr4-directory.html" rel="nofollow noopener noreferrer"&gt;Solr directory structure | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/5.1/tasks/solr-reindex.html" title="https://docs.alfresco.com/5.1/tasks/solr-reindex.html" rel="nofollow noopener noreferrer"&gt;Performing a full reindex with Solr | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/community5.1/tasks/backup-hot.html" title="https://docs.alfresco.com/community5.1/tasks/backup-hot.html" rel="nofollow noopener noreferrer"&gt;Performing a hot backup | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/5.2/tasks/solr-recovery.html" title="https://docs.alfresco.com/5.2/tasks/solr-recovery.html" rel="nofollow noopener noreferrer"&gt;Restoring Solr indexes | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Mar 2019 21:53:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solrbackup-directory-in-my-alf-data/m-p/284421#M237551</guid>
      <dc:creator>ainsof</dc:creator>
      <dc:date>2019-03-16T21:53:27Z</dc:date>
    </item>
  </channel>
</rss>

