Is there a way to sync a live site with a test site so that have what's on the live site locally to work.
If you are making test site from the scratch then you can dump the database, copy all files to test site and make some other changes like described here:https://github.com/unaio/una/wiki/Cloud-FAQ#4-how-to-migrate-from-una-cloud-to-other-hosting-
This assumes your running terminal on your local machine
Test server can be on your local machine or on remote server, in case of remote server it's better to have access via SSH terminal.
If you are making test site from the scratch then you can dump the database, copy all files to test site and make some other changes like described here:
https://github.com/unaio/una/wiki/Cloud-FAQ#4-how-to-migrate-from-una-cloud-to-other-hosting-
This assumes your running terminal on your local machine
Test server can be on your local machine or on remote server, in case of remote server it's better to have access via SSH terminal.