Back up Ambari Infra Solr data
After the configuration file is generated, you must review the ini
file created by the process.
To execute the backup, run the following command from the same host on which you generated the configuration file:
# /usr/lib/ambari-infra-solr-client/ambariSolrMigration.sh \
--ini-file $CONFIG_INI_LOCATION \
--mode backup | tee backup_output.txt
During this process, the script generates Ambari tasks that are visible in the Background Operations dialog in the Ambari Server.
Once the process has completed, retain the output of the script for your records. This output is helpful when debugging any issues that may occur during the migration process, and the output contains information regarding the number of documents and size of each backed up collection.