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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...