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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...