Backing up a collection from local file system
Back up Solr collections to a shared file system to minimize data loss caused by accidental or malicious administrative actions. Learn how to create backup of a collection from the local file system (FS).
If you use local FS to store backups, each Solr host stores its backup directory locally, that is, server X contains the backup directory snapshots.shard1, server Y contains snapshots.shard2 and you need to copy those to a shared location in order to be able to restore them later. Because of this, Cloudera recommends to target backups to a shared file system, even if your Solr collection uses local FS.
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***]