Docker image to backup files and databases with borg-backup
3.5K
Docker image to backup files and databases with borg-backup
This image is WIP, come back later!
TZ
TARGET_DIR
SSH_USER
SSH_KEYFILE
UID
GID
SERVER_MODE
BORG_PASSPHRASE
CLIENT_NAME
BACKUP_DIR
VOLUME_DIR
BACKUP_SERVER
BACKUP_PORT
SSH_PARAMS
BACKUP_PREFIX
BACKUP_SUFFIX
MIN_BACKUP_SIZE
MAX_BACKUP_SIZE
FREE_BACKUP_SPACE
BORG_AUTO_INIT
BORG_ENCRYPTION
BORG_COMPRESSION
BORG_UPLOAD_LIMIT
BORG_CHECKPOINT_INTERVAL
BORG_PARAMS
DB_BACKUP
DB_BACKUP_FILTER
DB_BACKUP_DEFAULT_METHOD
DB_BACKUP_METHOD
DB_BACKUP_COMMAND
DB_BACKUP_USER
DB_BACKUP_PASSWORD
You have to provide at least these two variables to enable email notifications:
ADMIN_EMAIL - Notification emails are sent to this email address.
SMTP_EMAIL - Email address from which the emails are sent
You have to set your SMTP server by either mounting /etc/msmtprc or using the following environment variables:
SMTP_FROM - Name of the sender (default: borg-backup)
SMTP_HOST - Hostname of the SMTP server
SMTP_PORT - Port of the SMTP server (default: 587)
SMTP_USER - Username/email for authentication (default: $SMTP_EMAIL)
SMTP_PASSWORD - Password for authentication
SMTP_TLS - Enable/disable TLS (on/off, default: on)
SMTP_STARTTLS - Enable/disable STARTTLS (on/off, default: on)
SMTP_CERTCHECK - Enable/disable certificate verification (on/off, default: on)
Content type
Image
Digest
sha256:a0b3a9a2f…
Size
43.1 MB
Last updated
about 2 months ago
docker pull schmailzl/borg-backup