Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

innovate-technologies/docker-restic-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MySQL Backup using Restic

This is a Docker container image available at innovate/restic-mysql that will do a MySQL dump directly to Restic. We use this in a Kubernetes cron job to back up our MySQL servers.

Tags

We use a multiarch build for the images where the architecture is set in the tag

innovate/restic-mysql:amd64-latest # x86-64/and64 build
innovate/restic-mysql:arm64-latest # arm64/arm64v8 build
innovate/restic-mysql:amdhf-latest # armhf build

Usage

The configuration is given via envvars, the following ones need to be set

  • MYSQL_USER: username for MySQL
  • MYSQL_PASSWORD: password for the user
  • MYSQL_HOST: hostname of the MySQL server
  • RESTIC_PASSWORD: password to encrypt the backup with
  • RESTIC_REPOSITORY: repository for Restic to back up to

About

MySQL Backup using Restic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published