gitversion-controlgitbucket

Migrating GitBucket to another machine


I need to migrate my live GitBucket installation from one physical machine (Win7) to a different machine (Win7), not to backup my current installation.

I'm using version 4.18.0 with default settings and standalone app with java -jar gitbucket.war.

The installation is using the default H2 database and HOME directory is C:\Users\USER\.gitbucket.


Solution

  • Shutdown the current GitBucket and simply copy ~/.gitbucket to a new machine.