cloudverve / wp-sync-db

A WordPress plugin that lets you push, pull, and sync database tables between WordPress instances.
https://wp-sync-db.github.io
GNU General Public License v2.0
74 stars 6 forks source link
synchronization wordpress wordpress-plugin

WP Sync DB

This is a fork of the original WP Sync DB by Sean Lang ("original developer").

WP Sync DB eliminates the manual work of migrating a WP database by exporting your database as a MySQL data dump (much like phpMyAdmin), doing a find and replace on URLs/file paths, and allowing you to save it to your computer or push/pull it directly to/from another WordPress instance.

It is especially useful for syncing a local development database with a live site.

Download Installable ZIP: wp-sync-db.zip

:pushpin: Help Wanted - Translations: If you know of any quality translations or are able to translate strings from another language, please let me know. If you don't have or know how to use Poedit, no problem - You can simply translate in a text file and I will create the translation files.

:pushpin: Composer: This fork will be added to Packagist once it is closer to release.

Screenshot

Features

Installation

  1. Install WP Sync DB by downloading the latest release.
  2. Access the WP Sync DB menu option under WP Admin > Tools.
  3. :construction: (optional) Install the WP Sync DB Media Files addon to sync media libraries.

Tip: You can also install GitHub Updater to enable automatic updates from this repository.

Requirements

Although this plugin may work with other configurations, the following minimum requirements are supported:

If you encounter a problem using these minimum requirements, please report an issue.

Demonstration Videos

Feature Walk-Through

UI Walkthrough

Pulling Live Data to Your Local Development Environment

Pulling Live Data Into Your Local Development Environment

Pushing Local Development Data to a Staging Environment

Pushing Local to a Staging Environment

:construction: Media Files Addon Demo

A short demo of the Media Files Addon, which allows you to sync your WordPress Media Libraries.

Media Files and CLI Addons

Frequently Asked Questions

Is multisite supported?

This is currently not officially supported.

Although they lack admin interfaces, you might try Network Sub-domain Updater in conjunction with Rewrite Content URLs to assist with manual migration of multisite data.

If you'd prefer a wizard, a commercial alternative is WP Migrate DB Pro and its Multisite Tools Addon.

Does it migrate files as well?

:construction: Using the optional Media Files Addon, you can sync Media Library files between instances.

Note: Due to various changes/improvements over time, support for this addon is currently in testing phase. Use at your own risk.

Legal Notes

The software that this is forked from was released under the GPL version 2.0 copyleft license, granting freedom to copy, distribute, and/or modify this software. Due to a DMCA takedown request, the original developer renamed it and removed branding/trademarks and license verification code.

Analytics