jenkins moving from one server to another

  1. using thin backup plugin
  2. just by moving the jenkins folder from one server to the correct location in the other (copying the JENKINS_HOME)
  3. can use job import plugin if the 2 servers are in the same netowork
  1. Install ThinBackup on both the source and the target Jenkins servers
  2. Configure Backup Directory on both (in Manage Jenkins → ThinBackup → Settings)
  3. On Sourse Jenkins go to ThinBackup → Backup Now
  4. Copy from Jenkins Source Backup directory to Jenkins Target Backup Directory
  5. On Target Jenkins go to ThinBackup → Restore, and then restart Jenkins service.
  6. If some Plugins or Jobs are missing, copy the backup content directly to the target JENKINS_HOME.
  7. If you had user authentication on the source Jenkins, and now locked out on the target Jenkins, then edit Jenkins config.xml, set <useSecurity> to false, and restart Jenkins.

--

--

Software Engineering Intern @ mubasher technologies

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sithija Thewahettige

Sithija Thewahettige

Software Engineering Intern @ mubasher technologies