Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rickmak/azure-postgres-backup
- Owner: rickmak
- License: mit
- Created: 2020-03-26T09:44:40.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-30T07:37:19.000Z (almost 5 years ago)
- Last Synced: 2024-11-06T08:33:54.328Z (3 months ago)
- Topics: azure, dockerfile, k8s, postgres
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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