I crashed my old nextcloudpi installation so I did a new installation. I had all my data on an external HDD. When I use the installation Wizard can I just click ‘Move data to USB’ or will it overwrite my old data?
Of course I skipped formatting the HDD.
The wizard is for 1st time users, I would heed the warning, and avoid risk of destroying data by:
Manually editing /var/www/nextcloud/config/config.php from command line
to point to your ncdata.
Be sure to edit;
After which you need to run nc-scan from ncp-config>TOOLS or ncp-web.
thanks for your answer. What values do I have to for
Is it enough to give the mountpoint to ‘datadirectory’ or do I need to give a specific folder on the HDD?
Mountpoint + folder. Example with /dev/sdx mounted as /media/xnbox
‘datadirectory’ => ‘/media/xnbox/ncdata’,
‘tempdirectory’ => ‘/media/xnbox/ncdata/tmp’,
‘logfile’ => ‘/media/xnbox/ncdata/nextcloud.log’,
If your ncdata is in the root directory of the drive, you can use just the mountpoint for datadirectory and add /tmp and /nextcloud.log for the 2 others respectively.