File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
admin_manual/configuration_files Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -270,6 +270,37 @@ all files for that user in their corresponding bucket.
270270You can find out more information about upscaling with object storage and Nextcloud in the
271271`Nextcloud customer portal <https://portal.nextcloud.com/article/object-store-as-primary-storage-16.html >`_.
272272
273+ ----------------------------------------------------------------
274+ Multibucket Object Store with per Bucket configuration overrides
275+ ----------------------------------------------------------------
276+
277+ When using an Object Store with :code: `'multibucket => true' ` it is possible to configure overrides for all config options per bucket:
278+
279+ ::
280+
281+ 'objectstore' => [
282+ 'class' => 'Object\\Storage\\Backend\\Class',
283+ 'arguments' => [
284+ 'multibucket' => true,
285+ 'bucket' => 'nextcloud_',
286+ 'perBucket' => [
287+ 'nextcloud_1' => [
288+ 'port' => 9999,
289+ ],
290+ ],
291+ ],
292+ ],
293+
294+ This can be useful for example if you want to configure credentials per bucket that is used by a Team folder.
295+ A script for provisioning new Team folders this way could look like this (first make sure the bucket exists with those credentials):
296+
297+ ::
298+
299+ occ config:system:set --type=string --value=KEYVALUE objectstore arguments perBucket BUCKETNAME key
300+ occ config:system:set --type=string --value=SECRETVALUE objectstore arguments perBucket BUCKETNAME secret
301+ occ groupfolders:create --bucket BUCKETNAME TEAMFOLDERNAME
302+
303+ The credentials must be set before the new Team folder is created.
273304
274305---------------------------
275306S3 SSE-C encryption support
You can’t perform that action at this time.
0 commit comments