AppsDatabase BackupDataback

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.

Directory Structure

    • .env
    • docker-compose.yml

docker-compose.yml

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

.env

DB_URL=mysql://root:123456@127.0.0.1:3306/databack
DEBUG=True
REDIS_URL=redis://127.0.0.1:6379/0
SENTRY_DSN=
ENV=development
WORKER=True
SECRET_KEY=xxx

Resources

GitHub: https://github.com/long2ice/databack

GitHub Container Registry: https://github.com/long2ice/databack/pkgs/container/databack%2Fdataback

Configuration: https://github.com/long2ice/databack#deployment