diff --git a/docs/backups.md b/docs/backups.md index 04fff860d..d3c20d449 100644 --- a/docs/backups.md +++ b/docs/backups.md @@ -80,6 +80,32 @@ $ kubectl apply -f example-backup-secret.yaml `GCS_SERVICE_ACCOUNT_JSON_KEY` and `GCS_PROJECT_ID` must be base64 encoded. {{% /note %}} +### Setup a backup to Azure Blob Storage +You need to specify the `backupBucketURL` for the cluster to an URL like `azure://STORAGE_ACCOUNT`, and a secret. + +Create a file named `example-backup-secret.yaml` and copy into it the following YAML code: + +``` yaml +apiVersion: v1 +kind: Secret +metadata: + name: my-cluster-backup-secret +type: Opaque +data: + AZUREBLOB_ACCOUNT: # + AZUREBLOB_KEY: # +``` + +Then run this command: + +``` shell +$ kubectl apply -f example-backup-secret.yaml +``` + +{{% note %}} +`AZUREBLOB_ACCOUNT` and `AZUREBLOB_KEY` must be base64 encoded. +{{% /note %}} + ### Requesting a backup You need to create a file named `example-backup.yaml` and copy into it the following YAML code: diff --git a/hack/docker/sidecar-entrypoint.sh b/hack/docker/sidecar-entrypoint.sh index 2ab9de3c4..50c14cd47 100755 --- a/hack/docker/sidecar-entrypoint.sh +++ b/hack/docker/sidecar-entrypoint.sh @@ -25,7 +25,7 @@ storage_class = ${GCS_STORAGE_CLASS:-"MULTI_REGIONAL"} type = http url = ${HTTP_URL} [azure] -type = azure blob storage +type = azureblob account = ${AZUREBLOB_ACCOUNT} key = ${AZUREBLOB_KEY} EOF