Hub: retention and verification for off-host backup targets

Aperta
#41 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
kotlin
Ambito
backend, devops

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)
Lingua principale
Kotlin
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ft-dev-org/cloudbridge-oss

Tutte le issue di ft-dev-org/cloudbridge-oss

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.