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

How do you move Jenkins to a new server or cluster?

IntermediateConceptBackups, HA, upgrades & performance
Answer
  1. Put the old controller in quiet-down and wait for builds.
  2. Stop it and copy JENKINS_HOME (rsync, excluding workspaces) or restore from backup into the new volume.
  3. Start the new controller with the same core and plugin versions (or the planned upgrade).
  4. Update the Jenkins URL in unclassified.location.url, DNS, webhooks and agent connection URLs.
  5. Verify credentials decrypt (this proves secrets/ came along), agents connect, and a test pipeline runs.
All Jenkins questions Roadmap: Jenkins

More on Backups, HA, upgrades & performance