-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only move data files to an external disk #271
Comments
Hello, that sounds interesting what you are trying to achieve here. What about using this new option: https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host to mount a custom directory into the container and make it in Nextcloud available using local external storage? Would that work? (it will like this though not be covered by the built-in backup solution). Another option would be using the external storage app to mount s3 storage into Nextcloud... (also not covered by the built-in backup solution). Apart from that we are actually already using docker volumes as described in the by you linked readme about persistent storage. What you are probably looking for is the docker volume nextcloud_aio_nextcloud_data which is by default located here: /var/lib/docker/volumes/nextcloud_aio_nextcloud_data/_data/ |
Yes, correct.
yes, this would what I am looking for. |
Is it possible that all data of all users are on the external storage and it does not look to the users that this is an extra folder ? |
Yes but it is not as straight forward as using the normal datadir and not covered by the built in backup solution as I said. |
I would be also very interessted about having the possibility to change the docker Volume "nextcloud_aio_nextcloud_data" to a Mount on the Host. Like /mnt/nextcloud/data instead of /var/lib/docker/volumes/nextcloud_aio_nextcloud_data/_data/. |
Yes, it will be implemented with an environmental variable 👍 |
This is now implemented with v0.7.0. Here are some docs on this: https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir |
In the Readme, you mentioned the possibility to move the complete docker directory on an external disk. how-to-store-the-filesinstallation-on-a-separate-drive.
Do you plan to support an option to only store the data files on an external mount like the nextcloud docker image ?
see nextcloud docker | persistent data
Background:
I want to host Nextcloud AIO on an Azure VM and use an blob storage mounted with blobfuse to have an cheap storage location. In order not to endanger the stability of the containers, I would like to mount only the data files on the blobfuse mount
The text was updated successfully, but these errors were encountered: