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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...