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!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...