-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathbareos-backup-server.json
More file actions
206 lines (206 loc) · 6.67 KB
/
bareos-backup-server.json
File metadata and controls
206 lines (206 loc) · 6.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
{
"Bareos Backup Server": {
"description": "Network-based '<b>Ba</b>ckup and <b>Re</b>covery <b>O</b>pen <b>S</b>ource software' for all major operating systems. Director/Catalog/Storage and director-local (catalog/config backups) File services. <a href='https://rockstor.com/docs/interface/docker-based-rock-ons/bareos-backup-server.html' target='_blank'>Rock-on guide</a>.<p><b>Before install run: </b><code>groupadd --system --gid 105 bareos</code> && <code>useradd --system --uid 105 --comment 'bareos' --home-dir /var/lib/bareos -g bareos -G disk,tape --shell /bin/false bareos</code><p><b>After install requirement:</b> click 'i' icon for instructions.</p><p>Based on <a href='https://codeberg.org/phillxnet/-/packages' target='_blank'>custom OCI images</a> from the Rockstor maintainers, available for amd64 architecture only.</p>",
"version": "0.0.1",
"website": "https://www.bareos.org/",
"more_info": "<h4>Required post-install configuration</h4><ol><li>System - Network - Add Connection (Name=BareosFdToStorage Type=docker).</li><li>This Rock-on's spanner icon - Networking - Rocknets - select BareosFdToStorage for bareos-fd & bareos-storage.</li><ol>",
"ui": {
"slug": "bareos-webui"
},
"containers": {
"bareos-db": {
"image": "postgres",
"tag": "16",
"launch_order": 1,
"volumes": {
"/var/lib/postgresql/data": {
"description": "'Catalog' storage (Postgres DB).",
"label": "'Catalog' data [e.g. bareos-catalog]"
}
},
"opts": [
[
"-e",
"POSTGRES_INITDB_ARGS=--encoding=SQL_ASCII"
]
],
"environment": {
"POSTGRES_PASSWORD": {
"description": "Set password for `postgres` super-user.",
"label": "'postgres' super-user password"
}
}
},
"bareos-dir": {
"image": "codeberg.org/phillxnet/bareos-director",
"tag": "latest",
"launch_order": 2,
"uid": 105,
"ports": {
"9101": {
"description": "'Director' communications port.",
"label": "'Director' port [must be 9101]",
"host_default": 9101,
"protocol": "tcp"
}
},
"volumes": {
"/etc/bareos": {
"description": "'Director' configuration (bareos:bareos).",
"label": "'Director' config [e.g. bareos-dir-config]"
},
"/var/lib/bareos": {
"description": "'Director' data/state (bareos:bareos).",
"label": "'Director' data [e.g. bareos-dir-data]"
}
},
"opts": [
[
"-e",
"DB_INIT=true"
],
[
"-e",
"DB_NAME=bareos"
],
[
"-e",
"DB_USER=bareos"
],
[
"-e",
"DB_ADMIN_USER=postgres"
],
[
"-e",
"DB_HOST=bareos-db"
],
[
"-e",
"DB_PORT=5432"
],
[
"-e",
"BAREOS_SD_HOST=bareos-storage"
],
[
"-e",
"BAREOS_FD_HOST=bareos-fd"
]
],
"environment": {
"BAREOS_FD_PASSWORD": {
"description": "Set Director's local 'File'/Client service (bareos-fd) password.",
"label": "Director's local 'File' password"
},
"BAREOS_SD_PASSWORD": {
"description": "Set 'Storage' service password.",
"label": "'Storage' password"
},
"BAREOS_WEBUI_PASSWORD": {
"description": "Set Bareos WebUI 'admin' user password.",
"label": "WebUI 'admin' user's password"
},
"DB_ADMIN_PASSWORD": {
"description": "Re-enter `postgres` super-user password.",
"label": "Re-enter 'postgres' super-user password"
},
"DB_PASSWORD": {
"description": "Set password for the `bareos` DB user.",
"label": "Catalog's `bareos` user password"
},
"RECEIVER_EMAIL": {
"description": "'To:' email address - receives Bareos notifications.",
"label": "Receiver email [see Email Alerts]"
},
"SENDER_EMAIL": {
"description": "'From:' email address - sending Bareos notifications.",
"label": "Sender email [see Email Alerts]"
},
"SMTP_HOST": {
"description": "Set email relay hostname or IP - example uses Rockstor's Email Alerts.",
"label": "SMTP relay host [e.g. Rockstor's IP]"
}
}
},
"bareos-fd": {
"image": "codeberg.org/phillxnet/bareos-file",
"tag": "latest",
"launch_order": 4,
"uid": 105,
"opts": [
[
"--volumes-from",
"bareos-dir"
]
]
},
"bareos-storage": {
"image": "codeberg.org/phillxnet/bareos-storage",
"tag": "latest",
"launch_order": 3,
"uid": 105,
"ports": {
"9103": {
"description": "'Storage' communications port.",
"label": "'Storage' port [must be 9103]",
"host_default": 9103,
"protocol": "tcp"
}
},
"volumes": {
"/var/lib/bareos/storage": {
"description": "'Storage' for all backups (bareos:bareos).",
"label": "Backups data [e.g. bareos-backups]"
}
},
"opts": [
[
"--volumes-from",
"bareos-dir"
]
]
},
"bareos-webui": {
"image": "codeberg.org/phillxnet/bareos-webui",
"tag": "latest",
"launch_order": 5,
"ports": {
"80": {
"description": "Bareos Web Interface.",
"label": "WebUI port [e.g. 9100]",
"host_default": 9100,
"protocol": "tcp",
"ui": true
}
},
"volumes": {
"/etc/bareos-webui": {
"description": "'WebUI' configuration.",
"label": "'WebUI' config [e.g. bareos-webui]"
}
}
}
},
"container_links": {
"bareos-dir": [
{
"name": "BareosDirToDB",
"source_container": "bareos-db"
},
{
"name": "BareosDirToStorage",
"source_container": "bareos-storage"
},
{
"name": "BareosDirToFd",
"source_container": "bareos-fd"
},
{
"name": "BareosDirToWebui",
"source_container": "bareos-webui"
}
]
}
}
}