# S3 storage support?

**URL:** <https://help.nextcloud.com/t/s3-storage-support/247910>\
**Category:** ℹ️ Support\
**Tags:** external\_storage, s3\_primarystorage, s3, infomaniak, feature\
**Created:** [August 9, 2026, 8:22am UTC](https://help.nextcloud.com/t/s3-storage-support/247910 "2026-08-09T08:22:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vincen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/vincen/32/3952_2.png) [@vincen](https://help.nextcloud.com/u/vincen)\
**Post date:** [August 9, 2026, 8:22am UTC](https://help.nextcloud.com/t/s3-storage-support/247910/1 "2026-08-09T08:22:23Z")

</div>

Hi

Does someone has already succeeded to link a Swissbackup (S3 storage supplied by Infomaniak) with Nextcloud ? I tried both the Nextcloud app for S3 storage and direct in config.php file of NC but both fails. Here is config I did in config.php but it blocks NC stating an error and nothing shows up in NC/Apache logs ☹

```auto
'objectstore' => [
    'class' => '\\OC\\Files\\ObjectStore\\S3',
    'arguments' => [
      'bucket' => 'nc-test',
      'hostname' => 'https://s3.swiss-backup02.infomaniak.com',
      'key' => 'mykeyhere',
      'secret' => 'mysecrethere',
      'port' => 8443,
      // required for some non-Amazon S3 implementations
      'use_path_style' => true,
    ],
  ],

```

Additional question: is it what I understand in documentation ? you use either local storage with data directory or a remote one but not both ? as I wanted to use the external storage to extend the data storage 😉

Thanks

---

<div class="post-metadata">

**Author:** ![hweihwang](https://help.nextcloud.com/user_avatar/help.nextcloud.com/hweihwang/32/76907_2.png) [@hweihwang](https://help.nextcloud.com/u/hweihwang)\
**Post date:** [August 9, 2026, 9:49am UTC](https://help.nextcloud.com/t/s3-storage-support/247910/2 "2026-08-09T09:49:28Z")

</div>

i might be reading your setup wrong, but External Storage sounds closer to what you want than the `objectstore` block in `config.php`.

the `objectstore` setting makes S3 the primary storage, so i’d be careful adding it to an existing instance. External Storage should let you keep the current local data and add the S3 bucket as a separate folder.

a few details may be worth checking:

- hostname: `s3.swiss-backup02.infomaniak.com`, without `https://`
- SSL enabled
- port `443`, unless Infomaniak shows a different one
- the exact bucket name from Infomaniak. it may be `default` rather than `nc-test`

---

<div class="post-metadata">

**Author:** ![vincen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/vincen/32/3952_2.png) [@vincen](https://help.nextcloud.com/u/vincen)\
**Post date:** [August 9, 2026, 1:40pm UTC](https://help.nextcloud.com/t/s3-storage-support/247910/3 "2026-08-09T13:40:39Z")

</div>

> [@hweihwang](#):
>
> i might be reading your setup wrong, but External Storage sounds closer to what you want than the `objectstore` block in `config.php`.  
> the `objectstore` setting makes S3 the primary storage, so i’d be careful adding it to an existing instance. External Storage should let you keep the current local data and add the S3 bucket as a separate folder.

Thanks for clarification and yep you are true External Storage is what I need there as the NC are already existing.  
I guess I’ll need to mount the new S3 storage on existing NC instances, move as much of directories/files from the data storage to the new S3 directory using the occ file:move or copy, and then I can move the shrinked NC to the new hosting and I’m all good 😉

> [@hweihwang](#):
>
> a few details may be worth checking:
> 
> - hostname: `s3.swiss-backup02.infomaniak.com`, without `https://`
> - SSL enabled
> - port `443`, unless Infomaniak shows a different one
> - the exact bucket name from Infomaniak. it may be `default` rather than `nc-test`

Thanks for the tips, will try and check how it goes 👌

---

<div class="post-metadata">

**Author:** ![vincen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/vincen/32/3952_2.png) [@vincen](https://help.nextcloud.com/u/vincen)\
**Post date:** [August 9, 2026, 2:22pm UTC](https://help.nextcloud.com/t/s3-storage-support/247910/4 "2026-08-09T14:22:10Z")

</div>

> [@vincen](#):
>
> Thanks for the tips, will try and check how it goes

I confirm it works but not at all as expected. It’s a shared storage with all users on NC, there are no rights nothing, everyone can drop files in it and everyone has access to it ☹  
I was expecting it to work like regular storage in NC !

---

<div class="post-metadata">

**Author:** ![jtr](https://help.nextcloud.com/letter_avatar/jtr/32/6_449c533f586939b6e5f246632a46421f.png) [@jtr](https://help.nextcloud.com/u/jtr)\
**Post date:** [August 9, 2026, 2:56pm UTC](https://help.nextcloud.com/t/s3-storage-support/247910/5 "2026-08-09T14:56:02Z")

</div>

> [@vincen](#):
>
> there are no rights nothing, everyone can drop files in it and everyone has access to it

This is not inherent.

Depends on how you set it up. See the _[Admin Manual](https://docs.nextcloud.com/server/stable/admin_manual/)_ chapter covering _External Storage_.

---

<div class="post-metadata">

**Author:** ![vincen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/vincen/32/3952_2.png) [@vincen](https://help.nextcloud.com/u/vincen)\
**Post date:** [August 9, 2026, 3:45pm UTC](https://help.nextcloud.com/t/s3-storage-support/247910/6 "2026-08-09T15:45:25Z")

</div>

> [@jtr](#):
>
> Depends on how you set it up. See the _[Admin Manual](https://docs.nextcloud.com/server/stable/admin_manual/)_ chapter covering _External Storage_.

Thanks I checked again the documentation you pointed and all I can see is the use of the home directory feature but the parameter doesn’t exist in Settings of the storage in Nextcloud ☹ It looks to be avalaible only for some specific storage system and not S3 for sure ☹

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [August 9, 2026, 7:39pm UTC](https://help.nextcloud.com/t/s3-storage-support/247910/7 "2026-08-09T19:39:39Z")

</div>

you first post sound you are trying to configure #s3 as “ **primary storage** ” which is covered here:

> **[Configuring Object Storage as Primary Storage — Nextcloud 34 Administration...](https://docs.nextcloud.com/server/stable/admin_manual/configuration_files/primary_storage.html)**

“There be dragons!” 😉 as such setup is quite rare for self-hosting be prepared for try and error if you don’t have access to professional support from NC.. I’m pretty sure it is only possible on fresh install as didn’t see any migration steps till now. but if you happen to install this successfully our community will be really thankful about your feedback on how it works and which steps are required.

---

<div class="post-metadata">

**Author:** ![vincen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/vincen/32/3952_2.png) [@vincen](https://help.nextcloud.com/u/vincen)\
**Post date:** [August 10, 2026, 6:30am UTC](https://help.nextcloud.com/t/s3-storage-support/247910/8 "2026-08-10T06:30:27Z")

</div>

> [@wwe](#):
>
> you first post sound you are trying to configure #s3 as “ **primary storage** ” which is covered here:

Yeah it was my initial wish but then as you state it that it can’t be used on an existing NC instance which is my case ☹ so I’m trying the other solution where S3 storage is used as extension of the existing data directory but unhappy it’s a shared volume through all users (all users have access at the additional storage without any restrictions). They state in documentation you can use a $USER parameter but it doesn’t look to be usable with S3 storage (well the configuration window doesn’t accept that ☹

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [November 8, 2026, 6:30am UTC](https://help.nextcloud.com/t/s3-storage-support/247910/9 "2026-11-08T06:30:49Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
