Deployment Architecture

Can I schedule a backup of all Splunk configuration files?

tumdev
Explorer

Hi Splunker,

How can I schedule a backup of all Splunk configuration files?

Thank you.

0 Karma

vasanthmss
Motivator

Create a python / shell script to do the backup work and schedule it. If you have Splunk distributed environment then your script should take care of the other search peers as well as forwarders.

Cheers!

V

yannK
Splunk Employee
Splunk Employee

You usually just need to backup the content of the $SPLUNK_HOME/etc/ folder to be able to restore the configuration.

0 Karma

norbert_hamel
Communicator

Be aware that CSV files created with outputcsv command will usually be outside of /etc directory. In case you have important CSV files here, make sure that those are backed up as well.

0 Karma
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 ...