I'm relatively new to all these and I'm just now realizing there are this many ways to use Jenkins (sorry for being dumb). YES!!! like you said, we want to use a backup mechanism as we don't have any of these in place. Where can I find documentation or study materials for the stuff you mentioned here? Would really appreciate if you can point me to some.
On Tuesday, November 27, 2018 at 12:40:10 PM UTC-5, Mark Waite wrote: > > He's saying that if you don't need to backup and restore your job > definitions (possibly they are all multibranch Pipeline jobs that are easy > to recreate, or they are all defined with the Job DSL plugin so they will > be automatically recreated or they are defined in a Docker image) and don't > need to backup and restore your credential definitions (same reasons) and > don't need to backup and restore other configuration settings (possibly > because you're using Configuration as Code plugin to store your > configuration in a source control system), then there are backup concepts > that use a source control system as your backup system. > > In your use case, I suspect you want to use a backup. > > Mark Waite > > On Tue, Nov 27, 2018 at 7:50 AM <[email protected] <javascript:>> wrote: > >> I'm not sure what you are trying to say? >> >> On Monday, November 26, 2018 at 8:03:34 PM UTC-5, rajendraprasad reddy >> wrote: >>> >>> Hi , >>> I have another solution, just document the list of plugins in old >>> Jenkins server and instead of backup and restore plugins just reinstall >>> plugins on new Jenkins server. >>> >>> Thanks, >>> Rajendra >>> >>> On Fri, 2 Nov, 2018, 02:06 <[email protected] wrote: >>> >>>> We have a Jenkins instance running and we are trying to setup a backup >>>> and restore mechanism in case of any mishaps. We are looking for a full >>>> backup of the Jenkins and so decided to go with PeriodicBackup plugin. >>>> With this plugin, the backup works fine. But, we are trying to restore it >>>> in a completely new Jenkins setup and not able to restore. When we pick >>>> the backup file that we want to restore from, it says restoring, but >>>> nothing happens. Even after waiting out for over 30 mins, nothing is >>>> restored. As a work around, I stopped the Jenkins service, renamed the >>>> 'JENKINS_HOME' (/var/lib/jenkins) folder to 'jenkins_backup' and created >>>> another folder called 'jenkins' in the same location. In this folder, I >>>> copied all the files from the backup and then started Jenkins (NOTE: I >>>> didn't change the .owner file. I'm using the .owner file of the new >>>> Jenkins only). Jenkins came up and I was able to see all the >>>> configurations from the old one. Everything was fine. I let it like that >>>> overnight and in the morning when I came and tried to access it, Jenkins >>>> was way too slow and I was not able to save any new configuration. When I >>>> try I'm getting >>>> java.io.ioexception: too many open files jenkins >>>> error. I restarted the jenkins and it's taking too long for the UI to >>>> come up. Am I doing anything wrong here? Any suggestions for my >>>> requirement? >>>> >>>> P.S. - I tried SCMSync plugin and ThinBackup. But, problem with these >>>> are that they don't do full backup. But, with ThinBackup both backup and >>>> restore works fine. >>>> >>>> -- >>>> 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 [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/jenkinsci-users/0c58b4fa-4e8b-4c53-9ca9-b99397078fae%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/jenkinsci-users/0c58b4fa-4e8b-4c53-9ca9-b99397078fae%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >> 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 [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/9d3fad8e-7bbe-4472-86dd-57ef3d0da960%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/9d3fad8e-7bbe-4472-86dd-57ef3d0da960%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > Thanks! > Mark Waite > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ce0af9d3-07d0-4de3-915f-ecff4bf06e47%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
