Favicon of Borgmatic

Borgmatic

Automate encrypted backups for servers and workstations. Protect files and databases using a simple configuration file with retention policies and monitoring.

borgmatic is a simple, configuration-driven backup tool for servers and workstations, powered by the robust BorgBackup. It allows you to protect your critical data with strong client-side encryption, ensuring your files are secure before they ever leave your system. All backup operations are managed through a single, easy-to-understand YAML configuration file.

Take full control of your backup strategy with a rich set of features:

  • Automate Everything: Define source directories, backup repositories (local or remote), and schedules.
  • Database Support: Seamlessly dump and include databases, such as PostgreSQL, directly in your backups.
  • Flexible Retention: Easily configure retention policies to specify how many daily, weekly, and monthly backups to keep.
  • Backup Validation: Schedule regular checks to verify the integrity of your backup repository and archives.
  • Integrated Monitoring: Use services like Healthchecks.io to get alerts if your backups stop running, giving you peace of mind.

Directory Structure

borgmatic
.cache
.config
.ssh
borgmatic.d
data
repo
.env
docker-compose.yml

docker-compose.yml

services:
  borgmatic:
    image: ghcr.io/borgmatic-collective/borgmatic:latest
    container_name: borgmatic
    restart: unless-stopped
    environment:
      - TZ=UTC
      - BORG_PASSPHRASE=${BORG_PASSPHRASE}
    volumes:
      - ./borgmatic.d:/etc/borgmatic.d
      - ./.cache:/root/.cache/borg
      - ./.config:/root/.config/borg
      - ./.ssh:/root/.ssh
      - ./data:/mnt/source:ro
      - ./repo:/mnt/repository

.env

BORG_PASSPHRASE=your_super_secret_passphrase
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Borgmatic

Favicon

 

  
  
Favicon

 

  
  
Favicon