Skip to content

gitbucket/h2-migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

GitBucket H2 database migration tool

In GitBucket 3.10, we upgraded H2 to the recent version of H2 1.4.190. However it might cause a compatibility problem for data files. If you got database trouble by upgrading to GitBucket 3.10, you can migrate H2 data files using this tool.

Note: This tool migrate from old data files to new data files but GitBucket 3.10 might break old data files in bootstrap. So you must backup data files (~/.gitbucket/data.*.db) before upgrading to GitBucket 3.10 and restore from old data files before running this tool.

Usage

$ git clone https://github.com/gitbucket/h2-migration.git
$ cd h2-migration
$ ./migration.sh

You can configure GITBUCKET_HOME by modifying head of migration.sh.

export GITBUCKET_HOME=~/.gitbucket
export H2_USER=sa
export H2_PASSWORD=sa
...

If you have any question, send it to the gitter room.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages