Splunk® Success Framework

Splunk Success Framework Handbook

Download manual as PDF

Download topic as PDF

Back up and restore best practices for a Splunk deployment

A best practice for any software implementation is establishing regular backups. Identify backup and restore points, and make regular backups of your Splunk configuration files to ensure system continuity in case of a failure, outage, or mistake.

Audience

  • Engineer
  • Architect

For more about these roles, see Roles best practices.

Guidelines for establishing a Splunk backup policy

The $SPLUNK_HOME/etc/ directory and its subdirectories contain all the settings for your Splunk installation and all apps, including saved searches, user accounts, tags, custom source type names, and other configuration information. Follow these guidelines to establish a Splunk backup policy.

Back up to a separate location
Backing up to a separate location is a best practice for resiliency. Backing up to a different disk or mount than Splunk is installed on can reduce single points of failure.
Back up single points of failure
Back up any single points of failure, such as a single indexer, single instance deployment, and single search head, and utility tier resources, such as the deployment server, deployer, master node, license server.
Back up at least one search head cluster (SHC) member periodically
As a best practice, periodically back up the SHC state to ensure you can restore knowledge objects in their current state in case of a catastrophic failure. For details about what to back up on the SHC and how, see Back up and restore search head cluster settings in the Splunk Enterprise Distributed Search manual.
Implement some form of version control
Having some way of preserving state between versions is a best practice so you can roll back in case of an error.
Standard: Scripted input that kicks off a specific diagnostic (or just an $SPLUNK_HOME/etc/ directory) and cleans old copies to prevent filling up the file system. See Generate a diagnostic file in the Splunk Troubleshooting manual.
Intermediate: Scripted input that checks into a source control system, such as Git.
Advanced: A custom solution using source control that provides managed restoration.

More resources

PREVIOUS
Community portal best practices for a Splunk deployment
  NEXT
Data onboarding best practices for a Splunk deployment

This documentation applies to the following versions of Splunk® Success Framework: ssf


Was this documentation topic helpful?

Enter your email address, and someone from the documentation team will respond to you:

Please provide your comments here. Ask a question or make a suggestion.

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters