Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rickmak/azure-postgres-backup

Tools intents to run inside AKS for backing up Azure PostgresSQL to Azure Blob
https://github.com/rickmak/azure-postgres-backup

azure dockerfile k8s postgres

Last synced: about 2 months ago
JSON representation

Tools intents to run inside AKS for backing up Azure PostgresSQL to Azure Blob

Awesome Lists containing this project

README

        

# azure-postgres-backup
Image prepared to backup Azure PostgreSQL database to Microsoft Azure Blob
Storage Container

# Usage

```
docker run \
-v "${PWD}/dump.sh:/dump.sh" \
--env PGPASSWORD=${PGPASSWORD} \
--env PGUSER=${PGUSER} \
--env PGHOST=${PGHOST} \
--env AZURE_STORAGE_ACCOUNT=${AZURE_STORAGE_ACCOUNT} \
--env AZURE_STORAGE_CONTAINER=${AZURE_STORAGE_CONTAINER} \
--env AZURE_STORAGE_ACCESS_KEY=${AZURE_STORAGE_ACCESS_KEY} \
--env BACKUP_NAME=${BACKUP_NAME} \
--rm rickmak/azure-postgres-backup:latest \
```

There is dump.sh, archive.sh and upload.sh for customization.

For example, if you would like to backup two database override the dump.sh