I see most tutorials recommend setting both AppData and Postgres Data storage on a host path rather than an ixVolume. Why would that be though? What happens if you choose ixVolume?
It stores the data deep inside a hidden, system managed dataset.
Fine for some apps, but if there’s ever a change you’d want to access it manually, move it to a different location/container, create separate snapshots or backups, etc. it’s not ideal.
Thanks. I sort of noticed that I cannot find php
to run occ
. How can I fix this though? If I simply modify the parameters of the current container from ixVolume to host path and do an update, will that work without completely messing up my Nextcloud?
No. It’ll just look in the new place while all of the data is still in the old place.
Regarding php and occ you need to enter the container in the Apps section
Thanks for the tip! So that’s what that button is there for!
What new place? My user data remains unchanged on a separate host path, it’s only the Postgress and AppData that need to be moved to a host path instead of an ixVolume.
(Are you, by any chance, saying that I would be losing my Nextcloud settings, hence I would have to re-build Nextcloud from scratch?)
Postgres Database and Nextcloud configuration Files are also Data, stored on that iX-volume.
Changing that setting does not migrate ANY data. It just mapps /var/postges (or whereever postgres stores it’s DB files) to that hidden dataset. Same for Nextcloud config. If you change it it will point to an empty directory, unless you manually copy the files over.