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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...