Backing up a collection from HDFS
You can back up Solr collections to your local cluster or a remote cluster using the solrctl utility to minimize data loss caused by accidental or malicious administrative actions. Learn how to create, prepare, and export the Solr collection snapshot to create a backup of the Solr collection.
If you are using a secure (Kerberos-enabled) cluster,
specify your
jaas.conf
file by adding the following parameter
to each
command:--jaas [***/PATH/TO/JAAS.CONF***]
If TLS is enabled for the Solr service, specify the truststore and password using
the ZKCLI_JVM_FLAGS
environment variable before you begin the
procedure:
export ZKCLI_JVM_FLAGS="-Djavax.net.ssl.trustStore=[***/PATH/TO/TRUSTSTORE \ -Djavax.net.ssl.trustStorePassword=[***TRUST_STORE_PASSWORD***]"