Deployment Architecture
Highlighted

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

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
Highlighted

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

Esteemed Legend

Like this:

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

Then later:

tar xvf /opt/splunk.tgz
0 Karma