title: How to download Solr collection config from zookeeper
body: <p>I have a collection in solrcloud which had been created using zookeeper managed configuration and I want all collection configuration files which were used to create the collection. Here are the options I found:</p>
  
  <ol>
  <li><p>Copy manually all files from Solrcloud UI. </p>
  
  <p><code>solrUI-&gt;cloud-&gt;tree-&gt;/collections/&lt;collection-name&gt;</code></p></li>
  <li><p>Download files from zookeeper</p>
  
  <p><code>/opt/solr/server/scripts/cloud-scripts/zkcli.sh  -cmd downconfig -zkhost &lt;zk hosts&gt;/usecasedir -confname &lt;configuration name&gt; -confdir &lt;dir to download&gt;</code></p></li>
  </ol>
  
  <p>2nd option would save my lot of time but the problem here my zookeeper has huge list of configurations and I am not sure which configuration directory was used to create collection.</p>
  
  <p>Is there any way to figure out which collection configuration was used to create collection?</p>