Move a concrete 5 site from test domain to live domain

I need to move my Concrete 5 site from a test domain to a live domain. I have read the tutorial about how to do a database backup from the Dashboard. My two concerns with that are it says it only backups the text, structure and settings of your website are saved and not the files. Also, I have run into issues with previous CMS systems, where changing domains broke everything due to the file paths becoming wrong.

I'm having trouble doing this migration. The domains are on the same server, but after installing a fresh copy of concrete5 on the new domain (root) and then trying to transfer/overwrite the existing files with the ones from the previous/test domain, I get many errors.

Changing the .htaccess didn't work.

I couldn't find the supposed site.php in the /config folder, nor the site_them_paths.php in the root.

Where are all of the domains referenced in the concrete installation?

Which folders can be straight copied without the need to re-configure?

Do I need to copy the DB over if I would essentially be using the same one (e.g. decommissioning the "test" or old domain)?

I've got another post on this, but haven't received any responses.

I'm considering going over to Drupal; at least, testing with it since I have 3 domains on this server.

I posted a version of this on another thread a while ago, but thought I'd share. It's a little bit different than the other posts here, so I wanted to add it. I always like to start with a fresh install of C5 when I'm moving a site, and this is what I do...
This assumes you are not upgrading the site when you are moving it, just going from the same version to the same version.

What I do:
In your functioning site that you want to move:
turn off pretty urls
clear the cache
run a backup
download the backup

Create a fresh install of C5 at the new location

Go to the old c5 folder by ftp or locally on your hard drive
copy everything in the folders:
blocks
packages
themes
and all folders named with numbers in the "files" folder (like 1913). I think they all end in 13
to
the corresponding folders in your fresh install
You would need to copy the contents of some other folders if you've created override files in there, but this is less common (sometimes I have something in "elements" or "single_pages" for example)

in your new install, upload the backup from the old site into the files/backups folder

in the new site, go to the dashboard in C5 and restore from backup
when the restore is finished, you will see a blank white page (don't panic)
if all goes well the site will be good to go then, just go to your homepage.
Remember to turn on pretty urls...

Unfortunately your guide did not worked with me. I got these errors after clicking run restore:

Warning: chmod() [function.chmod]: Operation not permitted in /home/httpd/vhosts/domain.ch/subdomains/test/httpdocs/concrete/core/controllers/single_pages/dashboard/system/backup_restore/backup.php on line 95

Warning: chmod() [function.chmod]: Operation not permitted in /home/httpd/vhosts/domain.ch/subdomains/test/httpdocs/concrete/core/controllers/single_pages/dashboard/system/backup_restore/backup.php on line 122