Synchronization of WordPress Sites

You can synchronize the content of your WordPress site including files and database with another WordPress site.

Let us say you maintain a non-public (staging) version of a WordPress site on a separate domain or subdomain and a publicly available (production) version of this site on a production domain. You may want to synchronize your WordPress sites in the following situations:

When performing the sync, keep in mind the following:

NOTE: During synchronization, files and database tables copied from the source overwrite those present on the destination. Any changes made to the files and database tables on the destination prior to synchronization will be discarded and lost without warning.
NOTE: If you have caching plugins installed on a WordPress website you want to synchronize with, clear the cache on the source website before sync. Otherwise, the destination website might work incorrectly.

To synchronize a WordPress site data with another site

  1. Go to WordPress in the menu on the left.

  1. Click the Copy Data button located within the section of the WordPress installation you wish to copy data from.
  1. In the Target drop-down menu, select the destination WordPress installation you want to synchronize the data with.
  1. Under Data to Copy, select which data you wish to synchronize with the destination WordPress site. The following options are available:

    NOTE: The files wp-config, .htaccess, and web.config will not be synchronized as changing of these files may disrupt the operation of WordPress.

  1. If Database was selected via one of the options above, next select which tables from within the database will be copied.

NOTE: The default Exceptions to the tables which will be copied pertain to your website's pages, posts and users. To leave the pages, post and users of your Target intact, leave the default Exceptions selected. To overwrite the pages, posts and users of your Target with that of your Source, uncheck the Exceptions.

When copying data from a Source to a Target, restore point will be created. If the copying of data needs to be undone, the restore point can be utilized to Restore your WordPress to it's state just prior to the syncronization being performed

  1. When you are satisfied with the selected destination and the content to be synchronized, click Start.
  2. When the synchronization is finished, you will see a page displaying the settings of the source WordPress installation. On it, you can see the last time synchronization was performed, along with the option to perform a Restore and effectively undo the synchronization.

Database synchronization

When you choose to synchronize databases (that is, you have selected either the Database Only or the Files and Database option), you need to specify which database tables you want to synchronize: