Hub: retention and verification for off-host backup targets

Đang mở
#41 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
kotlin
Lĩnh vực
backend, devops

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)
Ngôn ngữ chính
Kotlin
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ft-dev-org/cloudbridge-oss

Tất cả issue của ft-dev-org/cloudbridge-oss

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.