Ops: set up automatic PostgreSQL backups
Maintainer thường phản hồi trong vòng 1 ngày
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
- 18/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- docker, docker-compose, postgresql
- Lĩnh vực
- databases, devops, infrastructure
Hướng nghiên cứu
Start by reading the POSTGRES_* settings and the external pg_net network in deployment/portainer/docker-compose.portainer.yaml, then the postgres service in docker-compose.yaml. The approach (pg_dump, pgBackRest, snapshots) is still open, so agree it with the maintainer before writing anything. Done means a scheduled, off-site, encrypted backup with a documented and tested restore, plus an alert on failure.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Goal
Establish automated, restorable backups for the production Meshflow PostgreSQL database (Django/Celery/Channels data).
Context
- Production stack: Portainer compose —
deployment/portainer/docker-compose.portainer.yaml(API/workers usePOSTGRES_*env; DB likely on externalpg_netnetwork). - Local/dev:
postgresservice in rootdocker-compose.yaml(postgres:17-alpinefor dev — production version may differ). - No automated backup process is documented or wired in-repo today.
Scope
- Choose approach: scheduled
pg_dump(custom format + compression), pgBackRest, cloud provider snapshots, or host/volume backup — document rationale - Schedule (e.g. nightly full + optional WAL/archiving if RPO/RTO require it)
- Off-site / off-volume destination (S3-compatible, second host, etc.) — backups on same disk as data are not sufficient
- Retention policy (e.g. 7 daily, 4 weekly)
- Encryption at rest for backup files (if stored outside trust boundary)
- Runbook: restore procedure + tested restore drill on staging (or disposable clone)
- Monitoring/alerting on backup job failure
- Document in
docs/ordeployment/(env vars, cron/compose sidecar, credentials handling — no secrets in git)
Out of scope
- Neo4j backup (separate ticket if needed)
- Redis persistence strategy (separate concern)
Acceptance
- Automated backups run on schedule without manual intervention
- Operator can restore DB to a point in time within agreed RPO using documented steps
- Failed backup run generates an alert or visible log/metric
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 0
- Merge trung bình
- 23 giờ 9 phút
- Pull request đã merge (30 ngày)
- 15
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pskillen/meshflow-api
-
enhancement meshtastic-2.8
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
pskillen/meshflow-api#459 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug tech-debt
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
pskillen/meshflow-api#480 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 55/100
pskillen/meshflow-api#479 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
pskillen/meshflow-api#478 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 73/100
pskillen/meshflow-api#472 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pskillen/meshflow-api
Issue tương tự
-
area:docs documentation effort:M ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
mczielinski/ob-analytics#423 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
flaky: test_ci_eval_scope_exclude never-matches case spends its 1s budget on the rollout waitĐang mởneeds-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
gke-labs/kube-agents#4838 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
danyuchn/asd-ste100-skill#60 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 64/100
Gathin23/cleanyourtv#3299 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
autowarefoundation/autoware_carla_scenario#1485 ·
Maintainer thường phản hồi trong vòng 1 ngày