Below steps are for taking backup of ranger audits and then restore them back to new collection which will be using updated manage-schema fix given in RANGER-1938.
Note: Steps are only for Solr version 5.x and Ranger service managed by Ambari.
1) Backup existing ranger_audits collection:
curl -X GET "http://${SOLR_HOST}:${SOLR_PORT}/solr/ranger_audits/replication?command=backup&location=/tmp"
2) Download existing managed-schema from Zookeeper: