GithubHelp home page GithubHelp logo

mohan-13 / backup-services Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mekomsolutions/backup-services

0.0 0.0 0.0 17 KB

Docker images to backup databases, files and more

Shell 95.62% Dockerfile 4.38%

backup-services's Introduction

backup-services

Docker images to backup databases, files and more

MySQL backup service

To use MySQL backup docker service set the value for the following environment variables, and add a volume to retrieve the .sql file.

Environment variable Required Default value
DB_HOST Yes localhost
DB_NAME Yes /
DB_USERNAME Yes /
DB_PASSWORD Yes /
DB_PORT No 3306
BACKUP_PATH No /opt/backup/

ex:

docker run --rm -e DB_NAME=openmrs -e DB_USERNAME=root -e DB_PASSWORD=password -v ~/target/:/opt/backup mekomsolutions/mysql_backup

PostgreSQL backup service

To use PostgreSQL backup docker service, set the value for the following environment variables, and add a volume to retrieve the database .dump file.

Environment variable Required Default value
DB_HOST Yes localhost
DB_NAME Yes /
DB_USERNAME Yes /
DB_PASSWORD Yes /
DB_PORT No 5432
BACKUP_PATH No /opt/backup/

ex:

docker run --rm -e DB_NAME=odoo -e DB_USERNAME=root -e DB_PASSWORD=password -v ~/target/:/opt/backup mekomsolutions/postgres_backup

Filestore backup

To use Filestore backup docker service, set the value for the following environment variable, and add volumes as shown in the example below to retrieve the backup .zip file.

Environment variable Required Default value Description
FILESTORE_PATH Yes / Path to filestore folder
BACKUP_PATH No /opt/backup/ Path where filestore backup should be stored
FILENAME No filestore Name of generated zip file
ex:
docker run --rm -e FILESTORE_PATH=/opt/data -v ~/data:/opt/data -v ~/target:/opt/backup mekomsolutions/filestore_backup

backup-services's People

Contributors

chinzou avatar mohan-13 avatar rbuisson 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.