Giter Site home page Giter Site logo

k8s-db-backup's Introduction

Wordpress CI GitHub issues GitHub GitHub forks GitHub stars

K8s db backup

Containerized backup agent for MySQL with AWS and OCI S3 bucket support. This container can be used to automatically create a logical backup of databases and store them on S3 object storage compatible provider. Supported providers are: aws and oci

Requirements

The only requirements is to have enough free space on your kubernetes worker/docker swarm node/docker node to store the logical backup before it is transferred to the object storage.

Supported environment variables

Var Required Desc
S3_PROVIDER always S3 compatible provider. Supported providers: aws, oci
AWS_SECRET_KEY aws aws secret key
AWS_ACCESS_KEY aws aws access key
AWS_REGION aws aws region
AWS_BUCKET_NAME aws aws bucket name
OCI_SECRET_KEY oci oci secret key
OCI_ACCESS_KEY oci oci access key
OCI_REGION oci oci region
OCI_BUCKET_NAME oci oci bucket name
OCI_NAMESPACE oci oci namespace. Follow Understanding Object Storage Namespaces on OCI provider setup
BACKUP_PATH_PREFIX no Local and remote prefix where the backups will be stored. Default: k8s-db-backup
BACKUP_STRATEGY no Define the backup strategy: single dump or split backup by tables. Default: SINGLE_FILE_DUMP. Supported strategies are SINGLE_FILE_DUMP and SPLIT_BY_TABLE

Note on required column:

  • always variable always required
  • aws or oci specific provider variable
  • no optional/not required variable

AWS provider setup

To get the AWS secret and access key follow the links below:

OCI provider setup

To get the ICI secret and access key follow the links below:

k8s-db-backup's People

Contributors

garutilorenzo avatar

Watchers

Md Ashraful Islam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.