Design dist-git backup approach for OpenShift #744

Closed
opened 2026-08-24 17:22:58 +00:00 by dkirwan · 3 comments
Member

Summary

Choose and document the backup architecture for Helm-deployed Forgejo

Details

Evaluate how dist-git backups should run on OpenShift given scale and operational constraints.

  • Compare in-pod CLI backup (current rsh approach) vs CronJob vs volume snapshots
  • Define backup window, concurrency, and impact on running Forgejo service
  • Identify RBAC, network, and security requirements for backup access
  • Decide where backup artifacts land before off-cluster transfer

Deliverable: architecture decision record with recommended approach.

### Summary Choose and document the backup architecture for Helm-deployed Forgejo ### Details Evaluate how dist-git backups should run on OpenShift given scale and operational constraints. - Compare in-pod CLI backup (current rsh approach) vs CronJob vs volume snapshots - Define backup window, concurrency, and impact on running Forgejo service - Identify RBAC, network, and security requirements for backup access - Decide where backup artifacts land before off-cluster transfer Deliverable: architecture decision record with recommended approach.
dkirwan self-assigned this 2026-08-24 17:22:58 +00:00
dkirwan added this to the Sprint 28 project 2026-09-03 11:34:44 +00:00
Author
Member

Will mount a ocs-storagecluster-cephfs PVC 500GB to use as a backups scratch space on staging and prod clusters.

Netapp store to hold the repos/config etc.
Staging has a 150GB netapp store
Prod will have a 500GB netapp store

Need to come up with a mechanism to copy the backups out of this ocs-storagecluster-cephfs store over to the backups01.

Will mount a ocs-storagecluster-cephfs PVC 500GB to use as a backups scratch space on staging and prod clusters. Netapp store to hold the repos/config etc. Staging has a 150GB netapp store Prod will have a 500GB netapp store Need to come up with a mechanism to copy the backups out of this ocs-storagecluster-cephfs store over to the backups01.
Author
Member

Need to modify our helm charts to mount this ocs-storagecluster-cephfs store with a dist-git boolean perhaps.

Need to modify our helm charts to mount this ocs-storagecluster-cephfs store with a dist-git boolean perhaps.
dkirwan modified the project from Sprint 28 to (deleted) 2026-09-07 10:25:53 +00:00
lenkaseg modified the project from (deleted) to Sprint 29 2026-09-07 10:32:32 +00:00
Author
Member

Helmchart now creates the backup scratch PVC and mounts it in the forgejo instance.

May backport this solution to the staging/prod forge instance later.

Helmchart now creates the backup scratch PVC and mounts it in the forgejo instance. May backport this solution to the staging/prod forge instance later.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
forge/forge#744
No description provided.