Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions admin_manual/configuration_files/primary_storage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,37 @@ all files for that user in their corresponding bucket.
You can find out more information about upscaling with object storage and Nextcloud in the
`Nextcloud customer portal <https://portal.nextcloud.com/article/object-store-as-primary-storage-16.html>`_.

----------------------------------------------------------------
Multibucket Object Store with per Bucket configuration overrides
----------------------------------------------------------------

When using an Object Store with :code:`'multibucket => true'` it is possible to configure overrides for all config options per bucket:

::

'objectstore' => [
'class' => 'Object\\Storage\\Backend\\Class',
'arguments' => [
'multibucket' => true,
'bucket' => 'nextcloud_',
'perBucket' => [
'nextcloud_1' => [
'port' => 9999,
],
],
],
],

This can be useful for example if you want to configure credentials per bucket that is used by a Team folder.
A script for provisioning new Team folders this way could look like this (first make sure the bucket exists with those credentials):

::

occ config:system:set --type=string --value=KEYVALUE objectstore arguments perBucket BUCKETNAME key
occ config:system:set --type=string --value=SECRETVALUE objectstore arguments perBucket BUCKETNAME secret
occ groupfolders:create --bucket BUCKETNAME TEAMFOLDERNAME

The credentials must be set before the new Team folder is created.

---------------------------
Multi-instance Object Store
Expand Down