How does external storage shares files?

Recently I’ve configured all my servers with Nextcloud. I’ve enabled External Storage support and I’ve added folders from each server.

My question is - how exactly does sharing files between external storages work? If I copy a file from one external storage to another external storage using Nextcloud client, what happens?

like:

  • it loads the file from the externalStorage1 on the client disk (loading it to be accessible) and then uploading the file to the externalStorage2? (so it goes externalStorage1 → Nextcloud Client → externalStorage2)
  • it doesn’t load the file it on the client but passes it through Nextcloud server? (so it goes externalStorage1 → Nextcloud server → externalStorage2)
  • it doesn’t load it at all nowhere? (so it goes externalStorage1 → externalStorage2)
  • or maybe full combination? (so it goes externalStorage1 → Nextcloud server → Nextcloud client → Nextcloud server → ExternalStorage2)

what happens if I copy file from a server web ui?

would be nice to know this, it would help be to configure this setup the most optimized way

Hello @marcin7848,

welcome to the Nextcloud community! :handshake:

my educated guess is it depends on how you copy the file. Using web UI likely sends the data from storage1 → server ->> storage2.. using client goes the whole path down to the client.. I would recommend you test yourself.

..and definitely I would recommend against heavy usage of external storage as it often introduces unexpected behaviour.

1 Like

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