Database Backup for Openshift Pods
Atention:
This is a experimental image for backup MySQL, PostgreSQL and MongoDB, use at your own risk!!
##Versions: MySQL versions currently supported are:
PostgreSQL versions currently supported are:
MongoDB versions currently supported are:
##Instalation: You can either use our image from dockerhub or build at your local machine:
To use our image:
$ docker pull getupcloud/backup:latest
To build the image:
$ git clone https://github.com/getupcloud/backup.git
$ cd backup
$ docker build -t backup:latest .
##Requirements: This image expects you have a Azure Storage Account, a blob container and the keys, for more information about Azure Blob Storage please see the official documentation
##Usage:
For MySQL Database pods:
$ ./backup.sh -e mysql -k <Azure Key> -c <Azure Container> -a <Azure Storage Account Name>
For PostgreSQL Database pods:
$ ./backup.sh -e postgresql -k <Azure Key> -c <Azure Container> -a <Azure Storage Account Name>
For MongoDB Database pods:
$ ./backup.sh -e mongodb -k <Azure Key> -c <Azure Container> -a <Azure Storage Account Name>