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 Mon, 11 Jul 2011 16:47:14 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=76&rev2=77

Comment:
Added note about SOLR-2578:  automatic clean-up of old backups

  
   * 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.  
+ 
+ (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