I had to reinstall Nextcloud after some redis issues arising from an auto update. I’ve used Nextcloudpi for this and my original install. How do I move the data from my old install to the new one? I’m a completely novice and what little I learnt during the original install I have forgotten in terms of the commands etc. I need to find the folder name and then move the data, or point Nextcloud to the folder.
I’ve looked at other topics but my knowledge is very limited.
I appreciate the suggestion but I don’t have the hard drive space to do this. There’s also the issue of the nextcloud drive being formatted in ext4 and my computer being ntfs
First create all users via WebUI in your new instance.
find / -name .ocdata
…should give you the path of the data folder. If both folders are on the same disk, they should both show up. Inside this folder you should see sub-folders named by the usernames of your users. Copy the contents of the old user folders to the folders of the new installation.
cp -a /path/to/sourcefolder/. /path/to/destfolder/