Thanks for all the replies and tips everyone!

On Tuesday, September 22, 2015 at 3:06:14 PM UTC-5, Baptiste Mathus wrote:
>
> One small quick tip about migrating big instances: we needed to move a 
> Jenkins master (~1000 jobs) to a new machine minimizing the downtime.
>
> * leave the running server as is
> * provision the new machine and sync as often as you want the .jenkins 
> directory from the running machine to that new one (rsync in mirror + 
> --delete mode)
> * plan migration
> * sync a pre-last time
> * shutdown
> * last sync (supposedly very small diff)
> * start the new server
>
> (Sure you'll want to do some checks on the new servers that Jenkins can 
> indeed run fine before the real migration)
>
> We used the same technique to move a ~300GB nexus server without any issue.
>
> My 2 cents
>
> HTH
> Le 22 sept. 2015 9:49 PM, "Slide" <[email protected] <javascript:>> a 
> écrit :
>
>> Copying JENKINS_HOME was how I moved from one server to another. It 
>> worked great for me. Just want to make sure you initially install the same 
>> version of Jenkins on the destination server during migration to avoid any 
>> weird issues. Then update the Jenkins URL in the global config and you 
>> should be off and running.
>>
>> On Tue, Sep 22, 2015, 12:25 Victor Martinez <[email protected] 
>> <javascript:>> wrote:
>>
>>> What about using the SCM Sync plugin instead?
>>> - 
>>> https://wiki.jenkins-ci.org/display/JENKINS/SCM+Sync+configuration+plugin
>>>
>>> Cheers
>>>
>>> On Tuesday, 22 September 2015 18:55:46 UTC+2, Justin wrote:
>>>>
>>>> My orgranization is moving to a new datacenter. I know that jobs can be 
>>>> migrated between servers by just copying the job folder. But what about 
>>>> the 
>>>> rest of the server instance (global credentials, global security, plugin 
>>>> configurations, user database/settings, etc)? I've seen some older posts 
>>>> (for hudson rather than jenkins) saying to do a fresh install and then 
>>>> overwrite JENKINS_HOME on the new server with the install from the old 
>>>> server. Is that still a preferred method? 
>>>>
>>> -- 
>>> 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/2ec577ff-fcbd-4c48-871e-97e880b7df65%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/2ec577ff-fcbd-4c48-871e-97e880b7df65%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/CAPiUgVc8ju93H_jGBECb1_P6EPUzzQGrB-f%3DJRGdMxcNgrzCJw%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVc8ju93H_jGBECb1_P6EPUzzQGrB-f%3DJRGdMxcNgrzCJw%40mail.gmail.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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b9fe3ba0-ac77-4d3d-987d-1fd3569249da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to