Hub: retention and verification for off-host backup targets

Abierto
#41 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
kotlin
Área
backend, devops

Línea de trabajo

Read hub/cloudbridge_hub/backups.py, backupcrypt.py, cli.py, and doctor.py, then check the backup profile in deploy/compose.yaml to trace target configuration and existing archive handling. Use a temporary target directory for the requested tests. Done means opt-in pruning targets only matching archives without following symlinks, written archives can be checked without the secret key, and doctor reports the newest target archive's age when mounted.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

backend difficulty: intermediate enhancement privacy self-hosting

Context

prune-backups --older-than N expires archives in the data volume's backups/, but archives written to
CB_BACKUP_TARGET_PATH (a NAS mount, an external disk) need manual retention. Old archives keep photos that were
hidden later, so retention matters for privacy.

Acceptance criteria

  • prune-backups can act on the configured target path (opt-in flag), only on files matching
    cloudbridge-*.cbbk, never following symlinks.
  • The backup profile can verify the new archive's structure after writing (without the secret key: header,
    manifest signature or size checks only).
  • doctor reports the age of the newest archive on the target when it is mounted.
  • Tests with a temporary target directory.

Pointers

  • hub/cloudbridge_hub/backups.py, backupcrypt.py, cli.py, doctor.py; deploy/compose.yaml (profile backup)
Lenguaje dominante
Kotlin
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ft-dev-org/cloudbridge-oss

Todos los issues de ft-dev-org/cloudbridge-oss

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.