| Option | GCP_RECOVER_FROM_BUCKET | |
| Description | Primary GCS bucket name to recover snapshot from on the standby cluster | |
| Introduced Version | 1.235 | |
This environment variable specifies the primary GCS bucket name
to recover the snapshot from. It is injected into the
HumioCluster pod spec as an extraEnvVar by
Terraform when var.dr != "" (both
standby and active modes).
Preserving this variable across both DR modes prevents pod
recreation during promotion, which would otherwise cause
ephemeral PVCs to be deleted and recovered snapshot data to be
lost.
When this variable is set, LogScale automatically enables
allowKafkaReset via the internal
bucketStorageRecoverFrom configuration.
Setting ALLOW_KAFKA_RESET_UNTIL_TIMESTAMP_MS
separately is not required.
The GCP_RECOVER_FROM_* variables are only
read once at startup by DataSnapshotLoader. After successful
recovery, subsequent pod restarts use the local snapshot rather
than the recovery bucket.