Use nextcloud data folder from external

Is it possible to store the whole nextcloud data folder on a remote system/IP or web address? I just would like to have my data at a complete different place than the nextcloud itself. Iam not only talking about adding an external folder to the nextcloud, but to store the root server itself on a remote system

Hi.

Forgive me to ask but what is the main purpose of this? I never tried that before but it seems like a great challenge. Would be curious to see if it’s something we can do.

I know its might now what you want to see, but here’s really good documentation I found online about how to set this up with an Amazon S3 bucket, that might give you a clue as I think Amazon S3 buckets are hosted on a different machines. https://virtualzero.net/blog/the-ultimate-guide-to-creating-a-nextcloud-aws-ec2-instance-with-ubuntu-16.04-server