You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin enhances [GitBucket](https://github.com/gitbucket/gitbucket) by offering a way to backup/dump the H2 database of GitBucket.
3
+
This plugin enhances [GitBucket](https://github.com/gitbucket/gitbucket) by offering a way to backup/dump the entire H2 database of GitBucket.
4
4
5
-
It originates from [pull request #845](takezoe/gitbucket#845) and can be used to address database backup described in [gitbucket backup documentation](https://github.com/takezoe/gitbucket/wiki/Backup)
5
+
It originates from [pull request #845](takezoe/gitbucket#845) and can be used to address database backup described in [GitBucket Backup Documentation](https://github.com/gitbucket/gitbucket/wiki/Backup)
6
6
7
7
## Features
8
8
@@ -45,6 +45,7 @@ On success, you will receive a `HTTP 200` answer with a body containing `done: F
45
45
46
46
Plugin version | GitBucket version
47
47
:--------------|:-----------------
48
+
1.6.x | >= 4.21.y |
48
49
1.5.x | >= 4.16.y
49
50
1.4.x | >= 4.10.y
50
51
1.3.x | >= 4.3.y
@@ -60,33 +61,36 @@ sbt clean package
60
61
61
62
## Installation
62
63
63
-
- copy gitbucket-h2-backup.jar into GITBUCKET_HOME/plugins
64
-
- restart gitbucket
64
+
- copy `gitbucket-h2-backup.jar` into GITBUCKET_HOME/plugins
65
+
- restart GitBucket
65
66
66
67
## Release Notes
67
68
69
+
### 1.6.0
70
+
- compatibility with GitBucket 4.21.x
71
+
68
72
### 1.5.1
69
-
- compatibility with gitbucket 4.16.0 and scala 2.12
73
+
- compatibility with GitBucket 4.16.0 and Scala 2.12
70
74
71
75
### 1.4.0
72
76
73
-
- compatibility with gitbucket 4.10, scala 2.12 [#20](https://github.com/gitbucket-plugins/gitbucket-h2-backup-plugin/issues/20)
77
+
- compatibility with GitBucket 4.10, scala 2.12 [#20](https://github.com/gitbucket-plugins/gitbucket-h2-backup-plugin/issues/20)
74
78
- allow to secure `database/backup` endpoint [#1](https://github.com/gitbucket-plugins/gitbucket-h2-backup-plugin/issues/1),[#19](https://github.com/gitbucket-plugins/gitbucket-h2-backup-plugin/issues/19)
75
79
see [Securing backup endpoint](#securing-backup-endpoint) paragraph
76
80
77
81
### 1.3.0
78
82
79
-
- compatibility with gitbucket 4.3.0
80
-
- fix version order in gitbucket Plugins panel
83
+
- compatibility with GitBucket 4.3.0
84
+
- fix version order in GitBucket Plugins panel
81
85
- default backup file contains date with timestamp [#12](https://github.com/gitbucket-plugins/gitbucket-h2-backup-plugin/issues/12)
82
86
83
87
### 1.2.0
84
88
85
-
- binary compatibility with gitbucket 4.x
89
+
- binary compatibility with GitBucket 4.x
86
90
87
91
### 1.1
88
92
89
-
- recompilation to ensure binary compatibility with gitbucket 3.11
93
+
- recompilation to ensure binary compatibility with GitBucket 3.11
90
94
91
95
### 1.0
92
96
@@ -97,10 +101,10 @@ sbt clean package
97
101
98
102
In version 1.4.0, it is possible to secure the `database/backup` endpoint:
99
103
100
-
- launch gitbucket with System property _secure.backup_ set to true (for example `-Dsecure.backup=true` on the command line)
101
-
- due to actual limitations of gitbucket & plugins security, once the previous setting is activated,
102
-
a call to `http://YOUR_GITBUCKET/database/backup` will be temporary redirected `http://YOUR_GITBUCKET/api/v3/plugins/database/backup`.
104
+
- launch GitBucket with System property _secure.backup_ set to true (for example `-Dsecure.backup=true` on the command line)
105
+
- due to actual limitations of GitBucket & plugins security, once the previous setting is activated,
106
+
a call to `http://YOUR_GITBUCKET/database/backup` will be temporary redirected `http://YOUR_GITBUCKET/api/v3/plugins/database/backup`.
103
107
You have to follow this temporary redirection.
104
108
- if you call the endpoint using _httpie_, use the `--follow` parameter
105
-
- this secured endpoint route is TEMPORARY you should not call it directly.
106
-
If you do think that it will change in the future when gitbucket will support secured routes for plugins.
109
+
- this secured endpoint route is TEMPORARY you should not call it directly.
110
+
If you do think that it will change in the future when GitBucket will support secured routes for plugins.
0 commit comments