This is simple change that can help you to quickly move Nextcloud data to other location. With Cloudamo, data folder is outside Nextcloud installation in /nextclouddata this way is protected from problems with main installation or similar. But if you wish to change to other location, here simple steps:
STEP 1
Go to cPanel > File manager > config > config.php
STEP 2
Open and edit file, data folder location is under:
$CONFIG = array (
***
***
***
'datadirectory' => '/nextclouddata', //new path of data directory
***
***
***
);
STEP 3
After this you can move your /nextclouddata folder to location you have set in config.php file