backup.stackGraph.enabled
is set to true
.backup.elasticsearch.enabled
is set to true
.stackstate
Helm chart when automatic backups are enabled. MinIO is an object storage system with the same API as AWS S3. It can store its data locally or act as a gateway to AWS S3 (min.io), Azure BLob Storage (min.io) and other systems.Caused by: org.elasticsearch.common.io.stream.NotSerializableExceptionWrapper: sdk_client_exception: Unable to verify integrity of data upload. Client calculated content hash (contentMD5: ZX4D/ZDUzZWRhNDUyZTI1MTc= in base 64) didn't match hash (etag: c75faa31280154027542f6530c9e543e in hex) calculated by Amazon S3. You may need to delete the data stored in Amazon S3. (metadata.contentMD5: null, md5DigestStream: com[email protected]5481a656, bucketName: stackstate-elasticsearch-backup, key: tests-UG34QIV9s32tTzQWdPsZL/master.dat)",
values.yaml
file used to install StackState:YOUR_ACCESS_KEY
and YOUR_SECRET_KEY
are the credentials that will be used to secure the MinIO system. These credentials are set on the MinIO system and used by the automatic backup jobs and the restore jobs. They are also required if you want to manually access the MinIO system.AWS_ACCESS_KEY
and AWS_SECRET_KEY
are the AWS credentials for the IAM user that has access to the S3 buckets where the backups will be stored. See below for the permission policy that needs to be attached to that user.AWS_STACKGRAPH_BUCKET
and AWS_ELASTICSEARCH_BUCKET
are the names of the S3 buckets where the backups should be stored. Note: The names of AWS S3 buckets are global across the whole of AWS, therefore the S3 buckets with the default name (sts-elasticsearch-backup
and sts-stackgraph-backup
) will probably not be available.AWS_ACCESS_KEY
and AWS_SECRET_KEY
must be configured with the following permission policy to access the S3 buckets:values.yaml
file used to install StackState:AZURE_STORAGE_ACCOUNT_NAME
with the Azure storage account name (microsoft.com) and replace AZURE_STORAGE_ACCOUNT_KEY
with the Azure storage account key (microsoft.com) where the backups should be stored.sts-stackgraph-backup
and sts-elasticsearch-backup
respectively. These names can be changed by setting the Helm values backup.stackGraph.bucketName
and backup.elasticsearch.bucketName
respectively.values.yaml
file used to install StackState:YOUR_ACCESS_KEY
and YOUR_SECRET_KEY
with the credentials that will be used to secure the MinIO system. The automatic backup jobs and the restore jobs will use them. They are also required to manually access the MinIO storage. YOUR_ACCESS_KEY
should contain 5 to 20 alphanumerical characters and YOUR_SECRET_KEY
should contain 8 to 40 alphanumerical characters..graph
. Each file contains a full backup and can be moved, copied or deleted as required.backup.enabled
is set to true
, scheduled StackGraph backups are enabled by default. To disable scheduled StackGraph backups only, set the Helm value backup.stackGraph.scheduled.enabled
to false
.backup.enabled
is set to true
, StackGraph restores are enabled by default. To disable StackGraph restore functionality only, set the Helm value backup.stackGraph.restore.enabled
to false
.backup.stackGraph.scheduled.schedule
, specified in Kubernetes cron schedule syntax (kubernetes.io).backup.stackGraph.scheduled.backupRetentionTimeDelta
, specified in Python timedelta format (python.org)..dat
. The files in the Elasticsearch backup storage location should be treated as a single whole and can only be moved, copied or deleted as a whole.backup.enabled
is set to true
, scheduled Elasticsearch snapshots are enabled by default. To disable scheduled Elasticsearch snapshots only, set the Helm value backup.elasticsearch.scheduled.enabled
to false
.backup.enabled
is set to true
, Elasticsearch restores are enabled by default. To disable Elasticsearch restore functionality only, set the Helm value backup.elasticsearch.restore.enabled
to false
.backup.elasticsearch.scheduled.schedule
, specified in Elasticsearch cron schedule syntax (elastic.co).backup.elasticsearch.scheduled.snapshotRetentionExpireAfter
, specified in Elasticsearch time units (elastic.co).backup.elasticsearch.scheduled.snapshotRetentionMinCount
backup.elasticsearch.scheduled.snapshotRetentionMaxCount
backup.elasticsearch.scheduled.indices
, specified in JSON array format (w3schools.com).kubectl
binary is installed and configured to connect to:backup.enabled
is set to true
.backup.stackGraph.restore.enabled
is not set to false
(to access StackGraph backups).backup.elasticsearch.restore.enabled
is not set to false
(to access Elasticsearch snapshots).Error from server (BadRequest):
are expected. They appear when the script is waiting for the pod to start.WARNING:
are expected. They are generated by Groovy running in JDK 11 and can be ignored.*2es
deployments:*2es
deployments to 0:INDEX_NAME
with the name of the index to delete, for example: