Hub: retention and verification for off-host backup targets

オープン
#41 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
kotlin
領域
backend, devops

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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)
主要言語
Kotlin
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ft-dev-org/cloudbridge-oss のほかの issue

ft-dev-org/cloudbridge-oss の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。