All DSP releases prior to DSP 1.4.0 use Gravity, a Kubernetes orchestrator, which has been announced end-of-life. We have replaced Gravity with an alternative component in DSP 1.4.0. Therefore, we will no longer provide support for versions of DSP prior to DSP 1.4.0 after July 1, 2023. We advise all of our customers to upgrade to DSP 1.4.0 in order to continue to receive full product support from Splunk.
Back up your Splunk Data Stream Processor deployment
It is recommended that you periodically back up the Splunk Data Stream Processor (DSP) system configurations. Doing a back up of a healthy environment enables you to restore from a back up in the event of a disaster.
Prerequisites
You must have system administrator (root) permissions to run DSP installation or cluster management commands. If you do not have these permissions, you can use the sudo
command.
Steps
- Back up and save the named configuration values set in DSP.
- From the working directory of a node, enter:
dsp backup --output <name of backup TAR file>
- Once your backup is complete, you will be prompted to create and confirm a password to encrypt your backup TAR file. Save this password with your backup TAR file name in a safe location for reference in the event of a restoration.
Please create a password to encrypt the tarball with: Enter password: <password> Confirm password: <re entered password>
- Save the encrypted TAR file to your desired location for storing backups.
If you do not use the --output flag, a standard date-based time will be used to name your backup TAR file.
You now have a TAR file copy of your system configurations.
Restore configurations from back up
Follow these steps to restore your DSP system configurations. This restores most cluster configurations and secrets, omitting obsolete configurations or printing out a warning for unexpected configurations. as well as connection secrets, Postgres contents (including pipeline definitions and the DSP license), lookup files, and plugins.
- Restore the previous configuration values.
-
From the working directory of a node, enter:
dsp restore <TAR file name>
- When prompted, enter the TAR file's password to decrypt your backup and begin restoration in your cluster.
- Activate your pipelines.
-
From the working directory of a node, enter:
See also
Resizing a cluster by adding or removing nodes | Increase internal partitions to improve pipeline throughput |
This documentation applies to the following versions of Splunk® Data Stream Processor: 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6
Feedback submitted, thanks!