Getting Started¶
This guide will help you install docker-backup and create your first backup.
Installation¶
The easiest way to run docker-backup is using Docker:
compose.yml
services:
docker-backup:
image: ghcr.io/shyim/docker-backup:latest
restart: unless-stopped
command:
- daemon
- --storage=local.type=local
- --storage=local.path=/backups
- --default-storage=local
- --dashboard=:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- backup-data:/backups
ports:
- "8080:8080"
volumes:
backup-data:
Verify Installation¶
Check that docker-backup is running:
You should see the daemon start and begin monitoring containers.