I’m currently running NextCloud 27.1.3 in a TrueNas jail.
I want to move to a standalone VM (29.0.6), but with the data sitting on TrueNas NFS rather than in the VM itself (reason being the VM is on a single SSD and backed up, whereas the data sits on an HDD raid)
One of the reasons for the migration is because the jail keeps crashing when I try to upgrade.
I’ve backed up the data using rsync and sqldump to an NFS location.
The instance is my home server, with only 4 users, so recreating users is not an issue if need be.
Issues:
- Can I mount the NFS location to the data folder on the VM and expect it to work ok?
a) If so, where is the data folder? - I’m assuming its /var/www/nextcloud but I get “Permission denied”. Or is it /mnt/ncdata?
b) How small can I then shrink the VM down to? - the VM has SCSI0 of 60G and SCSI1 of 100G - I assume I can just disconnect SCSI1?
c) Do I need to do anything to the existing data backup for it to work? - Can I restore the sql database? Or is the version too far behind, and I’m better off simply recreating the users?