@robj Production data shouldn’t leave production environments. Use factories and seeds to create data in non-production environments.
It just takes one person to momentarily forget they’re not in UAT to mess up live data. And it does happen.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi all - I have an Laravel 10 app deployed in Vapor. Vapor also has our staging and UAT environments. Production has its own DB server and staging & UAT are on a different DB server. Both the DB servers have been provisioned by Vapor.
To keep UAT fresh we plan to anonymize Production data and copy it over. For this we use two DB connections in the application. ie we don't save a dump and copy it over.
It all works well if the source and target database are on the same server, however, when we try to copy the data to a different target server the connection times out.
Any thoughts?
Thanks, RobJ.
Please or to participate in this conversation.