db-backup

db-backup

Docker 应用程序 from A75G's Repository

概述

Backup multiple database types on a scheduled basis with many customizable options. Manual Backups can be performed by entering the container and typing backup-now For diffrent port please add variable DB1_PORT and include the port For more DB backups you can include DB2_NAME etc https://github.com/tiredofit/docker-db-backup#job-backup-options Check advanced for more settings

运行时参数

网络
bridge
外壳
sh
特权
false

模板配置

Backup LocationPathrw

Database Dump Location

目标
/backup
价值
/mnt/user/backups/db/
DB01_NAMEVariable

Schema Name e.g. database or ALL to backup all databases the user has access to.

价值
ALL
DB01_TYPEVariable

Type of DB Server to backup couch influx mysql mssql pgsql mongo redis sqlite3

默认值
mysql|pgsql|mongo|redis|influx|couch|mssql|sqlite3
价值
mysql
DB01_HOSTVariable

Server Hostname e.g. mariadb. For sqlite3, full path to DB file e.g. /backup/db.sqlite3

价值
192.168.1.1
DB01_USERVariable

username for the database(s) - Can use root for MySQL

价值
root
DB01_PASSVariable

(optional if DB doesn't require it) password for the database

价值
password
DEFAULT_SPLIT_DBVariable

If using ALL - use this to split each database into its own file as opposed to one singular file

默认值
TRUE|FALSE
价值
TRUE
DEFAULT_BACKUP_INTERVALVariable

How often to dump DB Minutes Defaults 1440 = Day

价值
1440
DEFAULT_BACKUP_BEGINVariable

https://github.com/tiredofit/docker-db-backup#scheduling-options

价值
0300
DEFAULT_CLEANUP_TIMEVariable

Value in minutes to delete old backups. 10080 = One Week. If you want all backup delete this key.

价值
10080
DEFAULT_COMPRESSIONVariable

Use either Gzip GZ, Bzip2 BZ, XZip XZ, ZSTD ZSTD or none NONE

默认值
ZSTD|BZ|XZ|GZ|NONE
价值
ZSTD
DEFAULT_COMPRESSION_LEVELVariable

Numerical value of what level of compression to use, most allow 1 to 9, except for ZSTD which allows for 1 to 19

默认值
3|1|2|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19
价值
3
DEFAULT_GZ_RSYNCABLEVariable

Use --rsyncable (gzip only) for faster rsync transfers and incremental backup deduplication.

默认值
FALSE|TRUE
价值
FALSE
DEBUG_MODEVariable

DEBUG_MODE

默认值
FALSE|TRUE
价值
FALSE
CONTAINER_ENABLE_MONITORINGVariable
默认值
FALSE|TRUE
价值
FALSE
DEFAULT_CHECKSUMVariable

Either MD5 or SHA1 or NONE

默认值
NONE|SHA1|MD5
价值
NONE
DEFAULT_CREATE_LATEST_SYMLINKVariable

Create a symbolic link pointing to last backup in this format: latest-(DB_TYPE)_(DB_NAME)_(DB_HOST)

默认值
FALSE|TRUE
价值
FALSE
DEFAULT_ENABLE_PARALLEL_COMPRESSIONVariable

Maximum amount of threads to use when compressing - Integer value e.g. 8

默认值
autodetected
价值
autodetected
USER_DBBACKUPVariable

The uid that the image should read and write files as

价值
99
GROUP_DBBACKUPVariable

The gid that the image should read and write files as

价值
100
DEFAULT_FILESYSTEM_PATH_PERMISSIONVariable

Permissions to apply to backup directory

价值
755
DEFAULT_FILESYSTEM_PERMISSIONVariable

Permissions to apply to files.

默认值
777
价值
777

类别

下载统计数据

22,692,047
下载总数
520,239
本月
537,902
平均每月

长期下载总量

加载图表...

详细信息

存储库
tiredofit/db-backup:latest
最后更新2026-03-13
初见2020-03-07

在Unraid 上运行 db-backup 。

db-backup 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。