For SOLR backups that you can trust, you also have to stop tomcat before
you "cp -R". While tomcat is running there are still some in-memory data
not yet flushed, and other lock files being held.


This prompted me to look up what SOLR recommends, and apparently there is a
SOLR Backup API.
https://cwiki.apache.org/confluence/display/solr/Making+and+Restoring+Backups+of+SolrCores

curl http://localhost:8983/solr/gettingstarted/replication?command=backup

Also, when SOLR 5 comes out, that lives outside of tomcat (its intending to
ship as a binary standalone application, similar to Elastic Search), this
process could also become different.

________________
Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

On Tue, Aug 4, 2015 at 11:17 AM, Monika C. Mevenkamp <moni...@princeton.edu>
wrote:

> Specifically I am interested in backing up the statistics
> I know an cp -r the directory - but is there a cleaner way ?
>
> Monika
>
> —
> Monika Mevenkamp
> Digital Repository Infrastructure Developer
> Phone: 609-258-4161
> 333C 701 Carnegie, Princeton University, Princeton, NJ 08544
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to