Files
Portainer/backups/kopia/env.example
T
Eduardo David Paredes Vara 616b20f285 feat(backups): añadir stack de backups cifrados con Kopia + Cloudflare R2
- init-r2-repository.sh: inicializa repositorio Kopia en R2
- run-backup.sh: ejecuta backup de rutas definidas en backup-paths.txt
- pre-backup-dumps.sh: vuelca bases de datos (Postgres, MariaDB) antes del backup
- kopia-common.sh: funciones compartidas de autenticación y configuración
- restore-smoke-test.sh: test de restauración para verificar integridad
- backup-paths.txt / excludes.txt: rutas y exclusiones del backup
- systemd/: unidades kopia-server, kopia-docker-backup (service + timer)
- traefik-kopia.yml: exposición del servidor Kopia vía Traefik
- env.example: plantilla de variables (credenciales R2, contraseña repo)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 05:48:38 +00:00

24 lines
703 B
Plaintext

# Copy this file to /opt/kopia/kopia.env and fill the real values there.
# Do not commit the real file.
# Kopia repository encryption password.
KOPIA_PASSWORD=change-me
# Cloudflare R2 S3-compatible repository.
# Endpoint format: <account_id>.r2.cloudflarestorage.com
KOPIA_R2_BUCKET=change-me
KOPIA_R2_ENDPOINT=change-me.r2.cloudflarestorage.com
KOPIA_R2_PREFIX=docker-host
KOPIA_R2_ACCESS_KEY_ID=change-me
KOPIA_R2_SECRET_ACCESS_KEY=change-me
# Local Kopia state and dump staging.
KOPIA_CONFIG_FILE=/opt/kopia/repository.config
KOPIA_CACHE_DIRECTORY=/opt/kopia/cache
KOPIA_LOG_DIR=/opt/kopia/logs
BACKUP_STAGING_DIR=/opt/kopia/staging
# Optional overrides.
BACKUP_PATHS_FILE=
KOPIA_EXCLUDES_FILE=