Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions docs/backups.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion hack/docker/sidecar-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down