Implement automated dist-git backup CronJob #746

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

Summary

Replace manual rsh backup with a scheduled automated job

Details

Automate the Forgejo CLI backup on OpenShift instead of manual pod access.

  • Create CronJob (or equivalent) that runs forgejo-cli backup on schedule
  • Mount required volumes and set resource limits from sizing work
  • Capture backup logs and exit status
  • Define backup schedule and naming convention for archives

Deliverable: working CronJob manifest and schedule definition.

### Summary Replace manual rsh backup with a scheduled automated job ### Details Automate the Forgejo CLI backup on OpenShift instead of manual pod access. - Create CronJob (or equivalent) that runs forgejo-cli backup on schedule - Mount required volumes and set resource limits from sizing work - Capture backup logs and exit status - Define backup schedule and naming convention for archives Deliverable: working CronJob manifest and schedule definition.
dkirwan self-assigned this 2026-08-24 17:23:02 +00:00
dkirwan added this to the Sprint 29 project 2026-09-08 10:31:00 +00:00
Author
Member
  • Created a mount on the incluster storage 500gb
  • Working on modifying the backups scripting so it produces a backups file and place it on this storage
  • Will rsync it out of the cluster over to backup01
  • Can backport backups improvement to stg/prod forge.fp.o later.
- Created a mount on the incluster storage 500gb - Working on modifying the backups scripting so it produces a backups file and place it on this storage - Will rsync it out of the cluster over to backup01 - Can backport backups improvement to stg/prod forge.fp.o later.
Author
Member
  • Increased the os-control prod storage to 400gb to tide us over to such time as the dist-git backup improvements are backported back to forge.fp.o.
- Increased the os-control prod storage to 400gb to tide us over to such time as the dist-git backup improvements are backported back to forge.fp.o.
Author
Member
  • Created service account in dist-git namespace
  • cronjob on backup01 to copy down daily dist-git backups /fedorabackups/os-control01
  • cronjob on backup01 to prune backups based on retention scheme
  • currently blocked on a firewall issue between backup01 and staging openshift
- Created service account in dist-git namespace - cronjob on backup01 to copy down daily dist-git backups /fedorabackups/os-control01 - cronjob on backup01 to prune backups based on retention scheme - currently blocked on a firewall issue between backup01 and staging openshift
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#746
No description provided.