Sync user (modified) content

The WordPress site content on production is modified by other users.

Is there a safe and proven workflow that prevents overriding the modified data (notably database and the upload directory) and synchronizing it with/backing up to development?

VersionPress looks like a solution for syncing.
Are there any recommended approaches from the Roots/Trellis team?

I’ve yet to see one :frowning:

VersionPress indeed aims to provide this very workflow but only works for simpler sites now. There are two big challenges for it:

  1. Plugin support, see the technical specification
  2. Hosting challenges as VP relies on Git

That’s why we’re also building an environment where VersionPress-like functionality is provided out of the box. The technology itself is a bit less powerful but still does database merging pretty well and the main point is that it works reliably for any site. It’s not fully launched yet but close.

In the future, we have some interesting things to do with VersionPress. This year should be about finalizing the plugin support format and writing the first couple of definitions for top 100 plugins or so. I should also point out that there is Mergebot and they’re creating their definitions as well. It’s early days but I think that in the future, there will either be a unified format or some converter between VP and Mergebot definitions because it doesn’t make sense to maintain basically the same thing twice.

Overall, this is a really interesting problem and it’s good that it’s finally getting some solutions.

I’m investigating about this topic.

@strarsis did you find any solution?
Anyone from roots team can point me to the correct direction.

Thanks in advance.

@gfirem: Versionpress is in beta now, but production usage is still not recommended (https://docs.versionpress.net/en/getting-started/about-eap/).
Also, Gutenberg support is still missing (https://github.com/versionpress/versionpress/issues/1387).

For development/staging I transfer down from production (no syncing/merging).
The data doesn’t have to be recent at all, but it must be a good representation of the data that is used on production site so the theme and plugins can be tested with it.

There are other services (that aren’t free) that can sync WordPress content between sties, but I really like to see VersionPress becoming ready as it is opensource.

1 Like