Splunk Enterprise

Complete Backup of Splunk Enterprise installation - On the fly?

PatrikL
Observer

We have a splunk enterprise installation where everything is on the same server/install (searchhead etc.).

At the moment we have a script that shuts down the splunk services and then zip's the whole /opt/splunk/ folder and copies it to a NAS.

Problem is that this action takes about 1,5h and during that time we won't be able to reach splunk (since the service is shutdown).

Would it be possible to do this "on the fly" instead of shutting down the service and just do the zip of the entire folder when it is "alive". 
My thinking is that this won't be optimal since then bucket files will be "open" etc.

 

But what are your take on this? maybe another better solution?

 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Splunk has a manual for that.  See https://docs.splunk.com/Documentation/Splunk/9.1.0/Indexer/Backupindexeddata  In a nutshell, hot data is rolled to warm then all data (except new hot buckets) are backed up while Splunk remains up.  Yes, new data is missed by the backup, but it will be backed up next time.

There's a good discussion on the topic at https://community.splunk.com/t5/Deployment-Architecture/How-to-back-up-hot-buckets/m-p/104780

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...