{"id":19428476,"url":"https://github.com/gitbucket/h2-migration","last_synced_at":"2026-01-12T00:40:47.046Z","repository":{"id":143026173,"uuid":"48832885","full_name":"gitbucket/h2-migration","owner":"gitbucket","description":null,"archived":false,"fork":false,"pushed_at":"2016-07-14T01:03:30.000Z","size":3181,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-02-06T17:59:28.927Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitbucket.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-31T04:15:00.000Z","updated_at":"2024-10-19T23:14:33.000Z","dependencies_parsed_at":"2023-04-08T20:11:14.147Z","dependency_job_id":null,"html_url":"https://github.com/gitbucket/h2-migration","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitbucket%2Fh2-migration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitbucket%2Fh2-migration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitbucket%2Fh2-migration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitbucket%2Fh2-migration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitbucket","download_url":"https://codeload.github.com/gitbucket/h2-migration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246465256,"owners_count":20781919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T14:15:22.294Z","updated_at":"2025-03-31T12:18:27.822Z","avatar_url":"https://github.com/gitbucket.png","language":"Shell","readme":"# GitBucket H2 database migration tool \n\nIn 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.\n\n**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.\n\n## Usage\n\n```bash\n$ git clone https://github.com/gitbucket/h2-migration.git\n$ cd h2-migration\n$ ./migration.sh\n```\n\nYou can configure `GITBUCKET_HOME` by modifying head of `migration.sh`.\n\n```bash\nexport GITBUCKET_HOME=~/.gitbucket\nexport H2_USER=sa\nexport H2_PASSWORD=sa\n...\n```\n\nIf you have any question, send it to [the gitter room](https://gitter.im/gitbucket/gitbucket).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitbucket%2Fh2-migration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitbucket%2Fh2-migration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitbucket%2Fh2-migration/lists"}