lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SolrReplication" by JamesDyer
Date Thu, 17 Nov 2011 14:49:25 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrReplication" page has been changed by JamesDyer:
http://wiki.apache.org/solr/SolrReplication?action=diff&rev1=77&rev2=78

  
   * Get the latest replicateable index on master:  http://master_host:port/solr/replication?command=indexversion
   * Abort copying index from master to slave command: http://slave_host:port/solr/replication?command=abortfetch
-  * Create a backup on master if there are committed index data in the server, otherwise
do nothing. This is useful to take periodic backups. Command: http://master_host:port/solr/replication?command=backup.
 Can also provide a location parameter (i.e. &location=/foo/bar), which is the directory
to write the backup to on disk.  
+  * Create a backup on master if there are committed index data in the server, otherwise
do nothing. This is useful to take periodic backups. Command: http://master_host:port/solr/replication?command=backup.
 
+   * Can also provide a location parameter (i.e. &location=/foo/bar), which is the directory
to write the backup to on disk.  
+   * Specify parameter "numberToKeep" to indicate how many backups to retain (including this
one).  Older backups will be automatically deleted. (i.e. &numberToKeep=2) [[Solr3.5]]
[[Solr4.0]] [[https://issues.apache.org/jira/browse/SOLR-2578|SOLR-2578]]
- 
- (See [[https://issues.apache.org/jira/browse/SOLR-2578|https://issues.apache.org/jira/browse/SOLR-2578]]
for the additional ability to automatically clean up old backups and specify the number of
backups to keep)
- 
   * Force a fetchindex on slave from master command: http://slave_host:port/solr/replication?command=fetchindex
    * It is possible to pass on extra attribute 'masterUrl' or other attributes like 'compression'
(or any other parameter which is specified in the {{{<lst name="slave">}}} tag) to do
a one time replication from a master. This obviates the need for hardcoding the master in
the slave.
   * Disable polling for changes from slave command: http://slave_host:port/solr/replication?command=disablepoll

Mime
View raw message