Localhost backup restored to Live
-
We work on many websites helping clients.
Updraft is a common plugin installed in their sites, we’ve used it multiple times and had never had this problem.
This client had updraft with the external storage option enabled.
We made a copy of the production site and installed it in localhost to work on a feature.
We installed a copy of the production database and used wp cli to search and replace the production URL to our localhost URL.
We worked on our localhost site normally.
5 days later, the client uses Restore to restore a version of his site and the production database got restored either using a copy of the database that has the localhost URLs, or updraft updated the production URL to locahost, but at one point his site went down and all URLs including siteurl and homeurl in the production database had got replaced with the localhost site URL.
We wanted to report this on one side, and on the other hopefully get some input from you as to what to do to prevent this from ever happening again when installing sites in our local environment!
- The topic ‘Localhost backup restored to Live’ is closed to new replies.