Hi
I’m wanting to move my storage for my virtualised nextcloud server from being backed by a CIFS share on a windows server to being a vmdk attached to the virtual machine… Rebooting the windows box knocks nextcloud offline etc…
I currently have the cifs setup using fstab to a mountpoint /media/nextcloudData.
But want to move all the files to a “drive” presented to /media/nextcloudDataLocal
Can I just put nextcloud into maintenance mode then stop the service.
Use rsync to move all the files (100GB+) to the /media/nextcloudDataLocal
Remove the fstab setup (comment it out)
Change the mount location so the local drive now has the same mount point as the old CIFS (/media/nextcloudData).
Reboot the server
Start the service and then disable maintenance mode?
Will nextcloud notice that the data is now in a different location or should this “just work”…
Is there anything fancy I need to do options wise for rsync?
I use a few “apps” including, news, deck, notes, maps, talk…
Thanks for any help or guidance