Environment Variables

Azure-Specific Recovery Variables:

Env var Purpose
AZURE_RECOVER_FROM_BUCKET Container name to recover from
AZURE_RECOVER_FROM_ACCOUNTNAME Storage account name
AZURE_RECOVER_FROM_ACCOUNTKEY Storage account access key
AZURE_RECOVER_FROM_ENDPOINT_BASE Blob endpoint URL
AZURE_RECOVER_FROM_OBJECT_KEY_PREFIX Object key prefix in primary bucket
AZURE_RECOVER_FROM_ENCRYPTION_KEY Encryption key matching primary
AZURE_RECOVER_FROM_REPLACE_REGION Region replacement mapping

Common DR Variables:

Env Var Purpose Default
BUCKET_STORAGE_MULTIPLE_ENDPOINTS Required for Azure DR - allows each bucket to keep its own endpoint false
ENABLE_ALERTS Controls alert firing true for active, false for standby

Why BUCKET_STORAGE_MULTIPLE_ENDPOINTS=true is Required

In Azure, each storage account has a unique endpoint URL. Without this setting:

  • LogScale assumes all buckets use the same endpoint

  • The standby cluster overwrites ALL bucket endpoints with its own

  • Result: 403 authentication errors during DR recovery