defenseunicorns / uds-package-gitlab

🏭 UDS GitLab Zarf Package
Apache License 2.0
6 stars 3 forks source link

Research backup solution for GitLab #50

Open Racer159 opened 6 months ago

Racer159 commented 6 months ago

Is your feature request related to a problem? Please describe.

As Ashton I want to be able to backup GitLab safely so that I can restore it easily in the event of a disaster.

Describe the solution you'd like

We should identify and select solutions that are able to backup the variety of places that GitLab stores data:

https://docs.gitlab.com/ee/administration/backup_restore/backup_gitlab.html

And then follows the recommendations for restoring a GitLab server:

https://docs.gitlab.com/ee/administration/backup_restore/restore_gitlab.html

These should be written in a simple ADR to capture why the final solution was chosen and a follow on implementation issue should be created.

Additional context

We currently don't have set SLAs but should target a baseline to have something while we continue to experiment.

zachariahmiller commented 6 months ago

High level: Follow practices here for services. Keep everything possible in aws provided storage (RDS, S3, Elasticache) Ideally manage secrets externally to mitigate risk and ease restore process. Implement functional equivalent or linux ec2 backup/restore steps on the k8s pods that they are analogous to.

oates commented 5 months ago

@oates add spike label

Racer159 commented 3 months ago

We should sync with @corang as well since his team has started down this path already

Racer159 commented 3 months ago

This may also help inform what we want to say for this issue: https://github.com/defenseunicorns/uds-common/issues/130