AppsBackupBorgmatic

Borgmatic

Simple, configuration-driven backup software for servers and workstations.

Directory Structure

    • .env
    • docker-compose.yml

docker-compose.yml

version: '3.9'
services:
  borgmatic:
    image: ghcr.io/borgmatic-collective/borgmatic
    container_name: borgmatic
    volumes:
      - ${VOLUME_SOURCE}:/mnt/source:ro            # backup source
      - ${VOLUME_TARGET}:/mnt/borg-repository      # backup target
      - ${VOLUME_ETC_BORGMATIC}:/etc/borgmatic.d/  # borgmatic config file(s) + crontab.txt
      - ${VOLUME_BORG_CONFIG}:/root/.config/borg   # config and keyfiles
      - ${VOLUME_SSH}:/root/.ssh                   # ssh key for remote repositories
      - ${VOLUME_BORG_CACHE}:/root/.cache/borg     # checksums used for deduplication
    environment:
      - TZ=${TZ}
      - BORG_PASSPHRASE=${BORG_PASSPHRASE}
	restart: unless-stopped

Resources

Website: https://torsion.org/borgmatic/

GitHub: https://github.com/borgmatic-collective/borgmatic

GitHub Container Registry: https://github.com/borgmatic-collective/docker-borgmatic/pkgs/container/borgmatic

Configuration: https://github.com/borgmatic-collective/docker-borgmatic