BCDevOps / developer-experience

This repository is used to track all work for the BCGov Platform Services Team (This includes work for: 1. Platform Experience, 2. Developer Experience 3. Platform Operations/OCP 3)
Apache License 2.0
8 stars 17 forks source link

Automate metadata collection for NetApp Backups #4943

Open StevenBarre opened 3 months ago

StevenBarre commented 3 months ago

Describe the issue Currently, the backups are stored under the PV name, which is a UID and not the PVC friendly name. In the event a PVC is deleted, it can be hard to discover the PV name to correctly request the restore.

https://developer.gov.bc.ca/docs/default/component/platform-developer-docs/docs/automation-and-resiliency/netapp-backup-restore/

What is the Value/Impact? Simpler restore process

What is the plan? How will this get completed? Develop a CronJob to collect the PV name of all netapp-file-backup PVCs and store it somewhere, possibly a ConfigMap in a non-tenant namespace.

Identify any dependencies None

Definition of done

caggles commented 3 months ago

maybe we can store it in s3, since then it's easy to recover if the whole cluster blows up, lol.