Kopia
Kopia is a cross-platform tool for managing encrypted backups in the cloud. It provides fast, incremental backups, secure, client-side end-to-end encryption, compression and data deduplication.
Directory Structure
- .env
- docker-compose.yml
docker-compose.yml
version: '3.7'
services:
kopia:
image: kopia/kopia:latest
hostname: Hostname
container_name: Kopia
restart: unless-stopped
ports:
- 51515:51515
# Setup the server that provides the web gui
command:
- server
- start
- --disable-csrf-token-checks
- --insecure
- --address=0.0.0.0:51515
- --server-username=USERNAME
- --server-password=SECRET_PASSWORD
environment:
# Set repository password
KOPIA_PASSWORD: "SECRET"
USER: "User"
volumes:
# Mount local folders needed by kopia
- /path/to/config/dir:/app/config
- /path/to/cache/dir:/app/cache
- /path/to/logs/dir:/app/logs
# Mount local folders to snapshot
- /path/to/data/dir:/data:ro
# Mount repository location
- /path/to/repository/dir:/repository
# Mount path for browsing mounted snaphots
- /path/to/tmp/dir:/tmp:sharedResources
Website: https://kopia.io/
GitHub: https://github.com/kopia/kopia
Docker Hub: https://hub.docker.com/r/kopia/kopia
Configuration: https://kopia.io/docs/installation/#docker-images