I had a Raspberry Pi running a Nextcloud server on my home network, with the data folder stored unencrypted on a USB hard drive.
That Pi got damaged and no longer works, but I still have the intact hard drive with all the data in it. Now I would like to setup a new Raspberry Pi with a Nextcloud server and use the data folder in my hard drive.
Can I do that? Would it be as simple as migrating the data folder to point to the folder on the hard drive and running some command to re-read the files?