mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-13 17:05:50 +01:00
Add DB encryption docs.
@@ -76,4 +76,12 @@ For some plugins which use the database such as [gitbucket-gist-plugin](https://
|
|||||||
2. After upgrading to GitBucket 4.x, export GitBucket tables with plugin tables. (e.g. gitbucket-gist-plugin uses `GIST` and `GIST_COMMENT` table)
|
2. After upgrading to GitBucket 4.x, export GitBucket tables with plugin tables. (e.g. gitbucket-gist-plugin uses `GIST` and `GIST_COMMENT` table)
|
||||||
- If you would like to upgrade plugins individually, you can export GitBucket data without plugin tables and export only plugin tables to other files. You can import plugin tables after upgrading your plugins.
|
- If you would like to upgrade plugins individually, you can export GitBucket data without plugin tables and export only plugin tables to other files. You can import plugin tables after upgrading your plugins.
|
||||||
3. Configure GitBucket to use external database, and install GitBucket 4.x supported version of plugins.
|
3. Configure GitBucket to use external database, and install GitBucket 4.x supported version of plugins.
|
||||||
4. Run GitBucket, and import the data which is exported in 2.
|
4. Run GitBucket, and import the data which is exported in 2.
|
||||||
|
|
||||||
|
## Database Encryption
|
||||||
|
|
||||||
|
Some databases support the encyrption of the DB specific files on disk. In order to activate such a functionality, the ```url``` specified in the ```GITBUCKET_HOME/database.conf``` file needs to adjusted according to the database encyrption specification.
|
||||||
|
|
||||||
|
For **H2 (default DB)**, the encryption steps are described here: http://www.h2database.com/html/features.html#file_encryption .
|
||||||
|
|
||||||
|
**Note:** If encryption is active, the DB Console https://github.com/gitbucket/gitbucket/wiki/Connect-to-H2-database and other plug-ins that use their own connectin also need those encryption adjustments *(as they don't rely on the standard ```GITBUCKET_HOME/database.conf``` to get their connection from)*.
|
||||||
Reference in New Issue
Block a user