<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Database Merging | WPvivid Plugins Documentation</title>
	<atom:link href="https://docs.wpvivid.com/category/database-merging/feed" rel="self" type="application/rss+xml" />
	<link>https://docs.wpvivid.com</link>
	<description>WPvivid Plugins Knowledge Base</description>
	<lastBuildDate>Thu, 23 Oct 2025 14:35:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>WPvivid Database Merging Overview</title>
		<link>https://docs.wpvivid.com/wpvivid-database-merging-overview.html</link>
					<comments>https://docs.wpvivid.com/wpvivid-database-merging-overview.html#respond</comments>
		
		<dc:creator><![CDATA[Tony]]></dc:creator>
		<pubDate>Thu, 15 Sep 2022 16:10:48 +0000</pubDate>
				<category><![CDATA[Database Merging]]></category>
		<category><![CDATA[Docs]]></category>
		<guid isPermaLink="false">https://docs.wpvivid.com/?p=1664</guid>

					<description><![CDATA[This post shows how to merge only changes(files + database tables) on a dev site to a prod site using WPvivid Merging plugin.]]></description>
										<content:encoded><![CDATA[<p><span class='et-dropcap'>W</span>Pvivid Merging plugin allows you to merge only changes(files + database tables) that have been made on a development site to the production site, without losing existing data on your production site.</p>
<h2>The Typical Usage Scenario</h2>
<p>At WPvivid, over the past two years, we have been requested by many users to implement the &#8216;database merging&#8217; feature for a very similar usage scenario, which we think also is the most typical usage scenario for &#8216;database merging&#8217;:</p>
<p><em>&#8221; If I copy my live WooCommerce site, or any other sites where content is updated frequently to a development site, then while I am making design changes to the development site, the live site is also getting new data, i.e. contact form submissions or newly paid membership subscriptions, product updates, etc.</em> <em>After I am finished editing my development site, copying the development site to live will erase all of the new data that came to the live site.&#8221;</em></p>
<p>It has also inspired and motivated us to develop and launch WPvivid Merging to handle the merging live updates in that scenario. So now with WPvivid Merging, users can easily keep track of changes that has been made on the staging site, and merge only changes to the production site, without losing existing data on the production site.</p>
<h2>Prerequisites for Database Merging</h2>
<p>There is some preparation work you will need to finish for utilizing database merging.</p>
<h4>1. Set Dev Site and Prod Site</h4>
<p><a href="https://docs.wpvivid.com/install-wpvivid-pro-plugins.html">Install WPvivid Merging plugin</a> on both your dev site and prod site. Set the sites as a dev site or a prod site.</p>
<p><a href="https://docs.wpvivid.com/wp-content/uploads/2022/09/set-prod-dev-site-database-merging.png"><img fetchpriority="high" decoding="async" class="with-border alignnone wp-image-1676 size-full" src="https://docs.wpvivid.com/wp-content/uploads/2022/09/set-prod-dev-site-database-merging.png" alt="Set Prod or Dev Site Database Merging" width="349" height="194" srcset="https://docs.wpvivid.com/wp-content/uploads/2022/09/set-prod-dev-site-database-merging.png 349w, https://docs.wpvivid.com/wp-content/uploads/2022/09/set-prod-dev-site-database-merging-300x167.png 300w" sizes="(max-width: 349px) 100vw, 349px" /></a></p>
<h4>2. Connect the Dev site and the Prod site</h4>
<p>On the prod site &gt; WPvivid Merging, click &#8216;Generate a key for creating connection with dev site&#8217; button. <a href="https://docs.wpvivid.com/wp-content/uploads/2022/09/generate-connection-key-on-prod-site.png"><img loading="lazy" decoding="async" class="with-border alignnone wp-image-1677 size-full" src="https://docs.wpvivid.com/wp-content/uploads/2022/09/generate-connection-key-on-prod-site.png" alt="Generate A Connection Key on Prod Site" width="642" height="241" srcset="https://docs.wpvivid.com/wp-content/uploads/2022/09/generate-connection-key-on-prod-site.png 642w, https://docs.wpvivid.com/wp-content/uploads/2022/09/generate-connection-key-on-prod-site-480x180.png 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 642px, 100vw" /></a> Then copy the key and paste it to the dev site, click Connect to connect the dev site to the prod site. <a href="https://docs.wpvivid.com/wp-content/uploads/2022/09/connect-dev-site-to-prod-site.png"><img loading="lazy" decoding="async" class="with-border alignnone wp-image-1678 size-full" src="https://docs.wpvivid.com/wp-content/uploads/2022/09/connect-dev-site-to-prod-site.png" alt="Connect Dev Site to Prod Site" width="625" height="268" srcset="https://docs.wpvivid.com/wp-content/uploads/2022/09/connect-dev-site-to-prod-site.png 625w, https://docs.wpvivid.com/wp-content/uploads/2022/09/connect-dev-site-to-prod-site-480x206.png 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 625px, 100vw" /></a></p>
<h4>3. Set A Preview Site (coming soon)</h4>
<p>This option is coming soon and will allow you to connect a preview site with the dev site, so before merging data to your prod site, you can safely test the merging and preview changes.</p>
<h4>4. Install WPvivid Backup Plugin(it&#8217;s free)</h4>
<p>It is highly recommended to use <a href="https://wordpress.org/plugins/wpvivid-backuprestore/">WPvivid Backup Plugin</a> to quickly create snapshots for the databases, for example, before you create a database recording task or perform database merging. So if something goes wrong, you can quickly restore it back to normal. <a href="https://docs.wpvivid.com/wp-content/uploads/2022/09/install-free-wpvivid-backup-plugin.png"><img loading="lazy" decoding="async" class="with-border alignnone wp-image-1681 size-full" src="https://docs.wpvivid.com/wp-content/uploads/2022/09/install-free-wpvivid-backup-plugin.png" alt="Install Free WPvivid Backup Plugin" width="1016" height="477" srcset="https://docs.wpvivid.com/wp-content/uploads/2022/09/install-free-wpvivid-backup-plugin.png 1016w, https://docs.wpvivid.com/wp-content/uploads/2022/09/install-free-wpvivid-backup-plugin-980x460.png 980w, https://docs.wpvivid.com/wp-content/uploads/2022/09/install-free-wpvivid-backup-plugin-480x225.png 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1016px, 100vw" /></a></p>
<h2>Initial Synchronization of Databases</h2>
<p>Once the preparation work is done, perform the initial synchronization of dev database with the prod database.</p>
<h4>1. Migrate Files of Prod Site to Dev Site</h4>
<p>Before syncing databases, migrate files of the prod site to the dev site. You can use <a href="https://wpvivid.com/">WPvivid Backup Plugin</a>(it&#8217;s free) for the migration. Related Doc: <a href="https://docs.wpvivid.com/get-started-transfer-site.html">How-to: Transfer Your Site</a> Or, you can copy the entire prod site (files + database) to the dev site, so you can skip the initial databases synchronization.</p>
<h4>2. Sync Dev DB with Prod DB</h4>
<p>After the files are copied to the dev site, on the dev site &gt; WPvivid Merging &gt; Click on the &#8216;Sync Dev DB with Prod DB&#8217; button to start synchronization. <a href="https://docs.wpvivid.com/wp-content/uploads/2022/09/sync-dev-db-with-prod-db.png"><img loading="lazy" decoding="async" class="with-border alignnone wp-image-1679 size-full" src="https://docs.wpvivid.com/wp-content/uploads/2022/09/sync-dev-db-with-prod-db.png" alt="Sync Dev DB with Prod DB" width="870" height="262" srcset="https://docs.wpvivid.com/wp-content/uploads/2022/09/sync-dev-db-with-prod-db.png 870w, https://docs.wpvivid.com/wp-content/uploads/2022/09/sync-dev-db-with-prod-db-480x145.png 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 870px, 100vw" /></a></p>
<h2>How to Perform Database Merging?</h2>
<p>After the dev database is in sync with the dev database, you can start to create a database recording task.</p>
<h4>1. What Is A Database Recorder?</h4>
<p>A database recorder is automatically created and enabled after you create a database recording task, for keeping track of all changes including files and data queries of the site.</p>
<h4>2. What Is A Database Recording Task?</h4>
<p>A database recording task contains a full life cycle of a database recording, and allows users to merge all changes (files + data queries) recorded in the task to the prod site. Thanks to this task system, users don&#8217;t have to sync databases every time after a merging which is required with other merging tools, but only do a sync after multiple merging, which saves great time. A task will be automatically terminated and marked as &#8216;Merged&#8217; after a successful merging, then a new task can be created as needed.</p>
<h4>3. Create A Database Recording Task</h4>
<p>To create a database recording task, on the dev site &gt; WPvivid Merging, click on the &#8216;Create A Database Recording Task&#8217; button. <a href="https://docs.wpvivid.com/wp-content/uploads/2022/09/create-database-recording-task.png"><img loading="lazy" decoding="async" class="with-border alignnone wp-image-1680 size-full" src="https://docs.wpvivid.com/wp-content/uploads/2022/09/create-database-recording-task.png" alt="Create A Database Recording Task" width="1176" height="462" srcset="https://docs.wpvivid.com/wp-content/uploads/2022/09/create-database-recording-task.png 1176w, https://docs.wpvivid.com/wp-content/uploads/2022/09/create-database-recording-task-980x385.png 980w, https://docs.wpvivid.com/wp-content/uploads/2022/09/create-database-recording-task-480x189.png 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1176px, 100vw" /></a> When creating a task, it is highly recommended to check the option &#8216;Create a snapshot for dev site&#8217;. With it checked, the plugin will create a snapshot for the dev site automatically. Using this option requires <a href="https://wordpress.org/plugins/wpvivid-backuprestore/">WPvivid Backup Plugin</a>(it&#8217;s free) installed. It can take a few minutes to create a task, depending on how many tables and plugins(themes) of the site. A task will be enabled automatically by default upon creation. So, once a task is created, you will see it running on the Tasks Section. On this Tasks Section, you can enable/disable a task, view the task start Time, Escaped time(running time), how many database queries have been recorded and how many files have been added, and perform database merging. You can also rollback the dev site database to a previous point if you have created snapshots with <a href="https://wordpress.org/plugins/wpvivid-backuprestore/">WPvivid Backup Plugin</a>. <strong>Note:</strong> The update of task information is not in real time, refresh the page to keep it updated.</p>
<h4>4. Merge Changes from Dev Site to Prod Site</h4>
<p>When you are ready to merge the changes from the dev site to the prod site, on the dev site &gt; WPvivid Merging &gt; Tasks section &gt; Merge to,  select &#8216;Production Site&#8217; from the drop-down menu. <a href="https://docs.wpvivid.com/wp-content/uploads/2022/09/merge-changes-from-dev-site-to-prod-site.png"><img loading="lazy" decoding="async" class="with-border alignnone wp-image-1682 size-full" src="https://docs.wpvivid.com/wp-content/uploads/2022/09/merge-changes-from-dev-site-to-prod-site.png" alt="Merge Changes from Dev Site to Prod Site" width="1175" height="364" srcset="https://docs.wpvivid.com/wp-content/uploads/2022/09/merge-changes-from-dev-site-to-prod-site.png 1175w, https://docs.wpvivid.com/wp-content/uploads/2022/09/merge-changes-from-dev-site-to-prod-site-980x304.png 980w, https://docs.wpvivid.com/wp-content/uploads/2022/09/merge-changes-from-dev-site-to-prod-site-480x149.png 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1175px, 100vw" /></a> Choose to merge both Database and Files, Files only, or Database only. You can also check the option &#8216;Create a snapshot for your production site before merging&#8217;, which is recommended. After that, click on the &#8216;Merge Now&#8217; button to start the merging. <strong>Note:</strong> Do not close or refresh the page during the merging process, otherwise, the merging will fail and the sites can be down.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://docs.wpvivid.com/wpvivid-database-merging-overview.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
