Important Steps-
1- Take db dump using below command
magento-cloud db:dump
It will ask for project id and environment, you need to enter both then dump will be start creating on the same directory.
2- Now after dump you need to mv this dump to another environment using below command
magento-cloud scp db.sql.gz remote:pub/media/db.sql.gz
3- Below command for db creds
echo $MAGENTO_CLOUD_RELATIONSHIPS | base64 -d | json_pp
4- Below command for connect magento cloud db and second for import db zip file-mysql -h host -P port -p -u dbuser dbnamezcat pub/media/db.sql.gz | sed -e 's/DEFINER[ ]*=[ ]*[^*]*\*/\*/' | mysql -h host -P port -p -u dbuser dbname
5- Update base url in new imported dbUPDATE core_config_data SET value='http://baseurl/' WHERE path='web/unsecure/base_url';UPDATE core_config_data SET value='https://baseurl/' WHERE path='web/secure/base_url';
6- For move image from local machine below commandmagento-cloud scp image.zip remote:pub/media/images/That's it.