On Fri, Sep 25, 2009 at 4:57 AM, Chris Harris <rygu...@gmail.com> wrote:
> The ReplicationHandler (http://wiki.apache.org/solr/SolrReplication)
> has support for "backups", which can be triggered in one of two ways:
>
> 1. in response to startup/commit/optimize events (specified through
> the backupAfter tag specified in the handler's requestHandler tag in
> solrconfig.xml)
> 2. by manually hitting http://master_host:port/solr/replication?command=backup
>
> These backups get placed in directories named, e.g.
> "snapshot.20090924033521", inside the solr data directory.
>
> According to the docs, these backups are not necessary for replication
> to work. My question is: What use case *are* they meant to address?
>
> The first potential use case that came to mind was that maybe I would
> be able to restore my index from these snapshot directories should it
> ever become corrupted. (I could just do something like "rm -r data; mv
> snapshot.20090924033521 data".) That appears not to be one of the
> intended use cases, though; if it were, then I imagine the snapshot
> directories would contain the entire index, whereas they seem to
> contain only deltas of one form or another.
Yes, the only reason to take a backup should be for restoration/archival
They should contain all the files required for the latest commit point.


>
> Thanks,
> Chris
>



-- 
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com

Reply via email to