Deployment Architecture

How to backup Splunk configuration at /opt/splunk/etc on CentOS to prevent losing my settings for a reinstall?

cebo_myeza
Path Finder

My server runs CentOS as an operating system. I want to uninstall Splunk software and reinstall it again without losing my settings. How can I backup my Splunk configuration files at /opt/splunk/etc in CentOS server.

Please help. Thank You

0 Karma

woodcock
Esteemed Legend

Like this:

tar czvf /opt/splunk.tgz $SPLUNK_HOME/etc/

Then later:

tar xvf /opt/splunk.tgz
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...