Migrate site from local to local via a backup

you should be able to, but only if you have a copy of the database.

Simply place all the files in the Webroot of the new environment and import the database. If using a different database name / username / password make sure to change the info in your wp_config.php

Edit: you may also be able to use the updraft backup to restore it into a new installation

https://www.inmotionhosting.com/support/edu/wordpress/plugins/restore-site

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)