This question already has an answer here:
Befor I forget, I use Magento 18.104.22.168. I backuped my live Magento shop. Then I copied the backup to my test shop an loaded the backup. Now I cant reach the frontend or the backend. I'm always beeing redirected to the live Shop. I believe its because of the address set up in the shop. Where are they beeing saved?