Can I set up a self-hosted solution to sync Local sites between two devices

How can I set up a self-hosted?


System Details

  • Local Version:Version 9.2.2+6771

  • Operating System (Windows 11) and OS version:24H2


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)


My Question
I’d like to know if there’s a way to set up my own self-hosted server to sync the WordPress sites I’m working on in Local between my desktop at home and my laptop at the office. Basically, if I work on a site at home, I want to be able to pick up where I left off at the office with access to the latest changes and vice versa, so when I get back home and want to continue working on that site, I can see the updates I made at the office on my desktop. I currently have a VPS and want to see if I can make this work with it. My goal is to avoid relying on hosting services like WP Engine or Flywheel and keep full control over my data. Does Local support something like this? For example, through setting up a central server or using tools like Git or Syncthing?

If you have any experience with this or specific advice, I’d love to hear it. Thanks!

Hi @Salizan

We don’t have any guides or walkthroughs for this really. Generally speaking we would recommend using our Cloud Backups add on or your own Cloud storage and then exporting your site from your device when you’re done, and importing on your other device when you want to work on it. I definitely understand how that could be a bit more cumbersome.

If you have your own server set up with with WordPress you could use a migration plugin to sync the site yourself. Even though Local Connect is only compatible with WP Engine and Flywheel for now there are many other ways to export, backup or migrate your sites using whichever plugin you might prefer.