Code Monkey home page Code Monkey logo

databack's Introduction

databack

databack is a tool to back up your data from MySQL/PostgreSQL/SSH etc. to any other storages like S3, SCP etc. Which can be run cron job to back up your data automatically, and you can also restore your data from backup files.

Features

  • MySQL/PostgreSQL/SSH/Local data source.
  • S3/SCP/Local storage.
  • Cron job to back up your data automatically.
  • i18n support (English and Chinese).
  • Web UI to manage your backup tasks.

Screenshots

You can try it on Demo site.

databack databack

Deployment

The easiest way to deploy databack is to use docker-compose.

version: "3"
services:
  databack:
    restart: always
    env_file: .env
    network_mode: host
    image: ghcr.io/long2ice/databack/databack

Configuration

Just set environment variables in .env file.

DB_URL = mysql://root:[email protected]:3306/databack
DEBUG = True
REDIS_URL = redis://127.0.0.1:6379/0
SENTRY_DSN = 'xxx'
ENV = production
WORKER = True

Worker

By default, databack will start a builtin worker to run tasks when environment variable WORKER is True. If you want to start multiple workers, you can run rearq databack.tasks:rearq worker command.

For docekr-compose deployment:

version: "3"
services:
  worker:
    restart: always
    env_file: .env
    network_mode: host
    image: ghcr.io/long2ice/databack/databack
    entrypoint: rearq databack.tasks:rearq worker -t

Frontend

The frontend project is here.

License

This project is licensed under the Apache-2.0 License.

databack's People

Contributors

long2ice 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.