Skip to content

francoborrelli/mysql-backup-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mysql-backup-docker

MySQL MariaDB Docker AWS GitHub Actions GitLab CI

A background backup utility for MySQL and Mariadb. It allows uploading backups to AWS S3.

🐳 Docker compose example

version: '3'

services:
  db:
    image: mariadb:latest
    restart: always
    environment:
      MYSQL_DATABASE: database
      MYSQL_USER: test
      MYSQL_PASSWORD: test-pwd

  backup:
    image: ghcr.io/francoborrelli/mysql-backup-docker:master
    restart: always
    environment:
      MYSQL_DATABASE: database
      MYSQL_HOST: db
      MYSQL_PORT: 3306
      MYSQL_PASSWORD: test-pwd
      MYSQL_USER: test
      AWS_ACCESS_KEY_ID: xxxxxxxx
      AWS_SECRET_ACCESS_KEY: xxxxxxxx
      BUCKET: bucket
      PREFIX: db
      MAIL_FROM: mail@example.com
      MAIL_USER: mail@example.com
      MAIL_HOST: mail.example.com
      MAIL_PORT: 587
      MAIL_PASSWORD: mail_pass
      MAIL_TO: mail@example.com
    volumes:
      - database_backup:/backups

volumes:
  database_backup:
    driver: local

Releases

No releases published

Packages

 
 
 
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy