Difference between revisions of "Migration of Gerrit Server Old to New"

From ppwiki
Jump to navigation Jump to search
Line 16: Line 16:
 
|OS
 
|OS
 
|MYSQL
 
|MYSQL
 +
|MYSQL version
 
|Gerrit version
 
|Gerrit version
 
|Authentication
 
|Authentication
Line 21: Line 22:
 
|Ubuntu 14.04
 
|Ubuntu 14.04
 
|On Localhost
 
|On Localhost
 +
|
 
|2.13
 
|2.13
 
|LDAP
 
|LDAP

Revision as of 11:56, 12 July 2018

In this tutorial, we will be migrating our gerrit 2.13 to a new server running gerrit 2.15

Prerequisites

To complete this tutorial, you'll need the following 2 nodes

  • Database node
  • New gerrit node

Environment

Old gerrit

Server Information
OS MYSQL MYSQL version Gerrit version Authentication
Ubuntu 14.04 On Localhost 2.13 LDAP

New gerrit

Server Information
OS MYSQL Gerrit version Authentication
Debian 9 (Stretch) On remonte host 2.15 LDAP

STEP 1 On old gerrit node

Stop gerrit

Backup gerrit database

Login to your old gerrit node and backup your gerrit data base. In this case the database name is reviewdb. I use mysqldump to backup the database to a file.

STEP 2 On new gerrit node

Installation

Configuation