Skip to content

josiasmontag/docker-duplicity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Duplicity Cron Runner

This is MySQL/MariaDB support for Tecnativa/docker-duplicity.

Available images

Each of the built-in [flavors][flavors] is separated into a specific docker image:

MySQL (docker-duplicity-mysql)

The same behaviour as in PostgreSQL but for MySQL/MariaDB databases. Make sure you run this image in a fashion similar to this docker-compose.yaml definition:

services:
  db:
    image: mariadb:10.5
    environment:
      MARIADB_DATABASE: mydb
      MARIADB_USER: myuser
      MARIADB_PASSWORD: mypass
  backup:
    image: ghcr.io/josiasmontag/docker-duplicity-mysql
    hostname: my.mysql.backup
    environment:
      # MySQL connection
      MYSQL_HOST: db 
      MYSQL_PASSWORD: mypass 
      MYSQL_USER: myuser 

      # Additional configurations for Duplicity
      AWS_ACCESS_KEY_ID: example amazon s3 access key
      AWS_SECRET_ACCESS_KEY: example amazon s3 secret key
      DST: boto3+s3://mybucket/myfolder
      PASSPHRASE: example backkup encryption secret

It will make [dumps automatically][Dockerfile]:

# Makes postgres dumps for all databases except to mysql, performance_schema & information_schema.
# They are uploaded by JOB_300_WHEN
JOB_200_WHEN=daily weekly

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages