Did you know that you can navigate the posts by swiping left and right?

How To Move Jenkins To Another Server

27 Dec 2016 . category: devops . Comments
#jenkins #ci #backup #devops #restore

###How to move jenkins to another server

  1. Stop both Jenkins server
  2. Copy JENKINS_HOME (e.g. /var/lib/jenkins) from the old server to the new one. From a console in the new server:

rsync -av username@old-server-ip:/var/lib/jenkins/ /var/lib/jenkins/
  1. Start your new jenkins server

You minght not need this, but I had to

  • Manage Jenkins and Reload Configuration fromm Disk
  • Disconnect and connect all the slaves again
  • Check that in the Configure System -> Jenkins Location, the Jenkins URL is correctly assigned to the new Jenkins server.

Me

Harry Nguyen is an awesome person. Abosolutely true!.