Thinking the same last week, as I was tailoring the snapshooter.sh script.
The data directory should be kept for the temp snapshot, as a way to ensure
linking is occurring on the same device.
snapshooter.sh
     87 name=${data_dir}/${snap_name}
I think only this needs to be configurable for the final move.


Grant Ingersoll-6 wrote:
> 
> On the page http://wiki.apache.org/solr/SolrReplication, it says the  
> following:
> "Force a snapshot on master.This is useful to take periodic  
> backups .command :  http://master_host:port/solr/replication? 
> command=snapshoot"
> 
> This then puts the snapshot under the data directory.  Perfectly  
> reasonable thing to do.  However, is it possible to have it take in a  
> directory location and store the snapshot there?  For instance, I may  
> want to have it write to a specific directory that is being watched  
> for backup data.
> 
> Thanks,
> Grant
> 
> 
> --------------------------
> Grant Ingersoll
> http://www.lucidimagination.com/
> 
> Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)  
> using Solr/Lucene:
> http://www.lucidimagination.com/search
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Backups-using-Java-based-Replication-%28forced-snapshot%29-tp23434396p23447792.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to