616b20f285
- 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>
78 lines
2.1 KiB
Plaintext
78 lines
2.1 KiB
Plaintext
# Filesystem paths included in Kopia snapshots.
|
|
# Database contents are captured through dumps in /opt/kopia/staging/dumps.
|
|
#
|
|
# Nextcloud policy: include DB dump plus app/config/runtime metadata only.
|
|
# Do not include /opt/nextcloud/data, custom_apps or html until storage cost is reviewed.
|
|
|
|
/opt/kopia/staging/dumps
|
|
|
|
# Paperless: keep documents and app data.
|
|
/opt/paperless/data
|
|
/opt/paperless/media
|
|
/opt/paperless/export
|
|
/opt/paperless/consume
|
|
/opt/paperless-ai/data
|
|
/opt/rclone
|
|
|
|
# Gitea: keep repositories, attachments, runner config and DB dump.
|
|
/opt/gitea/data
|
|
/opt/gitea/runner
|
|
|
|
# App configuration and small persistent data.
|
|
/opt/n8n/data
|
|
/opt/authentik/redis
|
|
/opt/memos/data
|
|
/opt/vikunja/files
|
|
/opt/trilium/data
|
|
/opt/karakeep/data
|
|
/opt/karakeep/meili_data
|
|
/opt/adguard/conf
|
|
/opt/adguard/work
|
|
/opt/wg-easy
|
|
/opt/traefik/dynamic
|
|
/opt/traefik/letsencrypt
|
|
/opt/traefik/certs
|
|
/opt/mail-relay/opendkim
|
|
/opt/mail-relay/secrets
|
|
/opt/beszel/data
|
|
/opt/beszel/agent
|
|
/opt/homepage/config
|
|
/opt/dozzle/data
|
|
/opt/guacamole/admin-credentials.env
|
|
|
|
# Kasm Workspaces: DB dump plus install/config state required for restore.
|
|
# Docker image/layer storage under /opt/kasm/opt/docker is intentionally omitted.
|
|
/opt/kasm/1.18.1/bin
|
|
/opt/kasm/1.18.1/certs
|
|
/opt/kasm/1.18.1/conf
|
|
/opt/kasm/1.18.1/docker
|
|
/opt/kasm/1.18.1/file_mappings
|
|
/opt/kasm/1.18.1/licenses
|
|
/opt/kasm/1.18.1/plugins
|
|
|
|
# OpenCode Web UI service configuration and runtime state.
|
|
/etc/opencode-web.env
|
|
/home/felidae/.config/opencode
|
|
/home/felidae/.local/share/opencode
|
|
|
|
# Nextcloud: no user multimedia/data and no app tree. DB dump is generated separately.
|
|
/opt/nextcloud/config
|
|
/opt/nextcloud/themes
|
|
/opt/onlyoffice/data
|
|
/opt/onlyoffice/lib
|
|
/opt/onlyoffice/postgresql
|
|
|
|
# Scheduler: keep PostgreSQL data volume and logical dump, but not source tree.
|
|
/var/lib/docker/volumes/scheduler_app_postgres_data/_data
|
|
|
|
# Spintools / THSCOM.
|
|
/opt/spintools/prod
|
|
/opt/spintools/openproject/assets
|
|
/opt/spintools/openproject-token
|
|
/opt/spintools/authentik/redis
|
|
/var/lib/docker/volumes/spintools_ruleta_static/_data
|
|
/var/lib/docker/volumes/thscom-backend-media/_data
|
|
|
|
# OpenClaw runtime state, excluding workspaces via exclude file.
|
|
/home/felidae/.openclaw
|