Docker Loxone backup

June 10, 2026 ยท View on GitHub

Multi-platform Docker image for automated Loxone backups based on Alpine Linux.

Information

ServiceStats
GitHubLast commit Issues PR
Docker HubPulls Stars

Usage

docker pull docker.io/xjokay/loxone-backup:latest

Supported tags

TagDescription
latestLatest release
{release}Specific release version, see available releases

Exposed Ports

None

Volumes

DirectoryDescription
/dataLocation of the backups

Configuration

For this Docker image, it's strongly advised to create a separate user who has only the permission FTP.

ENV fieldReq. / Opt.Description
LOXONE_IPRequiredIP or url of the Loxone Miniserver.
LOXONE_USERNAMERequiredLoxone username.
LOXONE_PASSWORDRequiredLoxone password.
INTERVALOptionalInterval of backups. Default is 86400 seconds (24h). Ignored if CRON is set.
CRONOptionalCron expression for scheduling backups, e.g. 0 0 * * *. Overrides INTERVAL.
KEEP_DAYSOptionalCleanup of backups older than x days. Default is 30. Can be disabled by setting 0.
VERBOSEOptionalIf true, increases the verbosity level. Default is false.
EXCLUDE_DIRSOptionalComma separated list of folders to exclude, e.g. dir1,dir2. Default is excluding nothing.

Samples

docker-compose

services:
  app:
    image: docker.io/xjokay/loxone-backup:latest
    volumes:
      - ./data:/data
    environment:
      - TZ=Europe/Zurich
      - LOXONE_IP=192.168.1.10
      - LOXONE_USERNAME={loxone-username}
      - LOXONE_PASSWORD={loxone-password}
    networks:
      - default

docker run

docker run -d \
  -v $PWD/data:/data \
  -e TZ=Europe/Zurich \
  -e LOXONE_IP=192.168.1.10 \
  -e LOXONE_USERNAME={loxone-username} \
  -e LOXONE_PASSWORD={loxone-password} \
  docker.io/xjokay/loxone-backup:latest