Minimalisitic container (only 25MB) for backing up PostgreSQL databases.
Easily backup your PostgreSQL Database.
Intended to be used with:
It has to be in the same Resource Group as the Kubernetes Cluster(the cluster resources not the resource group where the Kubernetes Managed Service is located).
Name the storage account uniquely. And update pg-storage-class.yaml to use the unique name instead of "pgbackupstorage"
Replace database creds in pg-backup-cronJob.yaml. !Attention: This is for simplicity these should be replaced with Secrets.
Execute below command:
kubectl create -f ./aks
docker pull rinormaloku/postgres-back-up
docker run -v /host/backup:/pg_backup rinormaloku/postgres-back-up
docker build -t $DOCKER_USER/postgres-back-up .
docker run -v /d/backup:/pg_backup $DOCKER_USER/postgres-back-up
Content type
Image
Digest
Size
6.5 MB
Last updated
over 6 years ago
docker pull drbothen/postgres-backup-container