Linux backup
StackState Self-hosted v4.6.x
This page describes StackState version 4.6.
StackState prefers Kubernetes! In the future we will move away from Linux support. Read how to migrate from the Linux install of StackState to the Kubernetes install.
Overview
To backup and restore StackState configuration and topology information we can use StackState's import and export functionality. StackState's configuration and topology data is stored in StackGraph. Telemetry information is stored in Elasticsearch.
Configuration and topology data
Backup
StackState topology and configuration data are stored in StackGraph. To create a backup of StackGraph data on a production setup:
Make sure that StackGraph is up and running.
Stop the StackState node using
sudo systemctl stop stackstate.service
.Use one of the following commands to start the backup process:
Restore
To restore previously backed up topology data:
Make sure that StackGraph is up and running.
Stop the StackState node using
sudo systemctl stop stackstate.service
.Run the restore form a specified backup file:
Track progress of the restore in the StackState log file
<stackstate_installation_path>/var/log/stackstate.log
.When the restore has successfully completed, start the StackState node using
sudo systemctl start stackstate.service
.
Telemetry data
StackState telemetry data is stored in Elasticsearch. To backup and restore Elasticsearch data we recommend to follow the Elasticsearch documentation.
Last updated