Restore Of Jenkins Configuration

32 views
Skip to first unread message

Paul Wilkins

unread,
Jun 12, 2015, 3:24:09 AM6/12/15
to jenkins...@googlegroups.com
Hello

I attempted to revert a Jenkins upgrade and this totally killed my Jenkins instance.   I have an old image pre upgrade of the Jenkins machine, all these machines are AWS Ec2 windows machines.   If on the failed machine I uninstall Jenkins and re install version 1.555 which was the pre upgrade version is it easier and quicker to manually re apply all of the jobs and configuration or is there a way of copying the xml files from the old image of this machine.

I don't want to just swap these machines out as the image is quite old and the actual set up of the machine is different.   But the set up of jenkins should be the same as this hasn't changed over time.

I really hope that makes sense.

Thanks

Paul.

Daniel Beck

unread,
Jun 12, 2015, 4:15:16 AM6/12/15
to jenkins...@googlegroups.com
Jenkins uses mostly XML file-based storage, so you should be able to copy over the entire JENKINS_HOME (typically /var/lib/jenkins) and use that.

Make sure you copy over other Jenkins-related files like /etc/default/jenkins or /etc/sysconfig/jenkins (depending on distro) as well, as they may contain important configuration.
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/19a996b2-731b-4562-bcbe-9e05f82cea59%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Paul Wilkins

unread,
Jun 12, 2015, 6:00:22 AM6/12/15
to jenkins...@googlegroups.com
Daniel

Thank you very much for our help.   This is very useful indeed.and will allow me to get back up and running much quicker.

Thanks

Paul.

You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/vtcbs6jefDQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3EA0CB6B-7638-4871-B01F-5173CFDF6ACD%40beckweb.net.
Reply all
Reply to author
Forward
0 new messages