I just tested this on my Windows 11 setup but I couldn’t replicate it. Have you tested with a new blank site or any other sites to see if the same thing happens?
You might also run through our Windows guide here and make sure there are any blockers in place that could be preventing changes from getting saved properly.
Thank you Nick for quick response.
I’ve looked through the article you provided. Nothing there that could help me.
Unfortunately, I cannot reproduce it myself right now, it looks like it was one-time issue.
There was another step, that couldn’t be reproduced. I started another site and tried to pull DB from WPE, there was an error and you can see it in the logs that I’ve attached above.
Could that DB pull issue cause that behavior with dropping all tables?
I don’t see any errors standing out in the log yet that could have caused that issue, but it’s possible there was a sync issue. Some of the sites in your account I can see are quite large, which in those cases it’s often better to download a backup and direct import it rather than trying to use the Local Connect sync. As a workaround for pushing you can use the free WPE migration plugin which will work from Local to WPE.
A few of the sites on your account I’ve checked also have a large number of plugins installed, mostly all outdated, so a plugin/theme conflict could also be another culprit.
Is there any backup tool in Local? That issue has happened only because I had that database only in local env, and WPE has already rewritten that old database in backups. (more than 90 days passed)
You can also always use Local’s native export feature to create a manual backup zip copy that can be stored on your device or in your own cloud storage.
Of course any other backup plugins should work fine, but you’ll want to be careful if creating backups that are then saved within your site files as those can bloat your site’s overall size.