Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Take a backup immediately before each release deploys

Đang mở
#947 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
3-5 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
Đình trệ
Công nghệ
typescript
Lĩnh vực
databases, devops

Hướng nghiên cứu

Start by locating the release deployment workflow and how it currently invokes Velero; then check the existing scheduled-backup configuration and Prisma migration flow. The issue does not name files or tests, so trace those entry points before estimating the change. Done means a backup is triggered immediately before each release deploy, while the daily scheduled backup remains in place.

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

Mô tả

tech debt

Velero runs a scheduled daily backup. Releases go out at arbitrary times (every morning), so by the time we deploy the newest restore point can already be many hours old.

A deploy doesn't remove data on its own, so the case this covers is a migration that does. Migrations run automatically on every deploy, the backend applies any pending ones before the server starts, and Prisma migrations are forward-only. Rolling back to the previous image changes the code but leaves the schema as the migration left it, so a restore is the only way to recover data a migration dropped.

That's where the timing matters. If the last backup ran in the morning and the release goes out in the evening, restoring costs everything written in between, and rows created after the backup ran have nothing to restore from at all.

Prior art: #704 asked for a scheduled backup and was closed once Velero was in place. A backup tied to each release is a different requirement, not a replacement for the schedule.

Ngôn ngữ chính
TypeScript
Star
4
Fork
0
Merge trung bình
14 giờ 50 phút
Pull request đã merge (30 ngày)
5

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 Garvan-Data-Science-Platform/ctrl

Tất cả issue của Garvan-Data-Science-Platform/ctrl

Issue tương tự

Thêm issue về TypeScript

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.