Hi everyone,
I’ve recently installed Nextcloud AIO as a Docker image, and I’m trying to move all Nextcloud data to a specific partition I’ve mounted. Here’s my current setup:
- The partition
/dev/sdb1
is mounted to/mnt/nextcloud
. - I’d like all Nextcloud data (user files, database, etc.) to be stored in
/mnt/nextcloud
instead of the default Docker volumes.
I’m not sure about the best approach to configure this without breaking the current setup. I’d appreciate your help with:
- Changing the data directory location in a way compatible with Nextcloud AIO.
- Safely migrating existing data, if necessary.
- Any potential configuration steps for Docker or Nextcloud itself to ensure everything works smoothly.
If anyone has done something similar or has step-by-step instructions, that would be amazing!
Thanks in advance!