borg-mysql-backup

Docker app from laur's Repository

Overview

Service for backing up mysql dumps to local and/or remote borg repos. Other files&dirs may be included in the backup, and database dumps can be excluded altogether. Please refer to project page @ https://github.com/laur89/docker-borg-mysql-backup for further documentation.

Runtime arguments

Network
bridge
Shell
sh
Privileged
false

Template configuration

Host identifierVariable

Container Variable: HOST_ID

Target
HOST_ID
Default
unraid
borg repo passphrase (both remote & local)Variable

Container Variable: BORG_PASSPHRASE

Target
BORG_PASSPHRASE
borg prune optionsVariable

Container Variable: PRUNE_OPTS

Target
PRUNE_OPTS
Default
--keep-daily=7 --keep-weekly=4 --keep-monthly=3 --keep-within=3d
local borg repo locationPathrw

Container Path: /backup

Target
/backup
borg create optionsVariable

Container Variable: CREATE_OPTS

Target
CREATE_OPTS
Default
--compression zlib,5
borg remote pathVariable

Container Variable: BORG_REMOTE_PATH

Target
BORG_REMOTE_PATH
Default
borg1
/etc/localtime (for syncing with host clock)Pathro

Container Path: /etc/localtime

Target
/etc/localtime
Default
/etc/localtime
borg cache; see borg docs for additional infoPathrw

Container Path: /root/.cache/borg

Target
/root/.cache/borg
Default
/mnt/user/appdata/borg-mysql-backup/.borg/cache
borg config; see borg docs for additional infoPathrw

Container Path: /root/.config/borg

Target
/root/.config/borg
Default
/mnt/user/appdata/borg-mysql-backup/.borg/config
scripts' logsPathrw

Container Path: /var/log

Target
/var/log
Default
/mnt/user/appdata/borg-mysql-backup/logs
common opts for all borg commandsVariable

Container Variable: COMMON_OPTS

Target
COMMON_OPTS
Default
--lock-wait 18000
config locationPathro

Container Path: /config

Target
/config
Default
/mnt/user/appdata/borg-mysql-backup

Categories

Download Statistics

4,390
Total Downloads

Details

Repository
layr/borg-mysql-backup:borg1
Last Updated2026-03-31
First Seen2020-11-17

Run borg-mysql-backup on Unraid.

borg-mysql-backup is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.