At home I’m currently running Nextcloud 22.2.3 on an Ubuntu 20.04.5 LTS and I need to migrate to a new hardware. / is located on a local SSD and /home is on external HDs which are connected via USB3 and are configured as a RAID5 MD device with a capacaty of 20 TB.
On the new system I’ve recently installed Ubuntu 22.04.1 LTS and there was an option to select Nextcloud for installation during the Ubuntu Server installation process. I used this option and Nextcloud 24.0.6 is up and running but I currently dont know anything about the configuration of the new system.
At the old system the Nextcloud data directory is on /home/data. I intend to reconnect the storage to the new system and to mount it at /home so all the Nextcloud files will be available again at /home/data on the new system. But what is the best way to tell the new Nextcloud installation to use and show these files?