Email addresses changes when pulling from Live to Local

User email addresses are getting replaced when pulling from live to local. I think it is statement from the logs below that is the cause:

search-replace ‘’ ‘https://exampledomain.local’ --all-tables

The result is email addresses with live domain are updated incorrectly and contain an https://

This then requires emails and SMTP being manually corrected to resolve.

Can you please advise on whether there is a way to avoid on pulling from live to local?

Hello @natability and welcome to Kinsta Community!
What you are reporting sounds similar to a bug that has been already reported to our devs, but I would need to check your mainlog.log file to be sure. Do you mind sending us a copy via DM? You can find it by clicking on the question mark icon at the bottom left corner of DevKinsta and then on Reveal log file in File Manager.

If the issue is the one I am referring to, there’s currently no solution other than performing a search and replace once you push back to Kinsta so that the email addresses can be fixed. Of course, if needed, you can also manually run a search and replace in docker by using wp cli