Skip to content

Commit

Permalink
Merge pull request #148 from jkaninda/feature/azure-blob
Browse files Browse the repository at this point in the history
Feature/azure blob
  • Loading branch information
jkaninda authored Dec 6, 2024
2 parents 2862e50 + f70e549 commit 94a1dcd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/how-tos/azure-blob.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ As described on local backup section, to change the storage of you backup and us
You can also specify a folder where you want to save you data by adding `--path my-custom-path` flag.


## Backup to S3
## Backup to Azure Blob storage

```yml
services:
Expand All @@ -22,7 +22,7 @@ services:
# for a list of available releases.
image: jkaninda/mysql-bkup
container_name: mysql-bkup
command: backup --storage s3 -d database --path /my-custom-path
command: backup --storage azure -d database --path my-custom-path
environment:
- DB_PORT=3306
- DB_HOST=mysql
Expand All @@ -33,10 +33,6 @@ services:
- AZURE_STORAGE_CONTAINER_NAME=backup-container
- AZURE_STORAGE_ACCOUNT_NAME=account-name
- AZURE_STORAGE_ACCOUNT_KEY=Ppby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==
## In case you are using S3 alternative such as Minio and your Minio instance is not secured, you change it to true
- AWS_DISABLE_SSL="false"
- AWS_FORCE_PATH_STYLE=true # true for S3 alternative such as Minio

# mysql-bkup container must be connected to the same network with your database
networks:
- web
Expand Down

0 comments on commit 94a1dcd

Please sign in to comment.