Interview Prep/Jenkins/Backups, HA, upgrades & performance

How do you back up Jenkins running on Kubernetes?

IntermediateConceptBackups, HA, upgrades & performance
Answer

Snapshot the JENKINS_HOME PersistentVolume with VolumeSnapshots (CSI) or Velero on a schedule, and/or run a CronJob that tars the important paths (excluding workspaces) and uploads to S3 with versioning and object lock. Practise restores: restore the snapshot into a new PVC, start a controller from the same image and JCasC, check credentials decrypt and build history appears.

All Jenkins questions Roadmap: Jenkins

More on Backups, HA, upgrades & performance