Guides/Plugins and tools/Tools/Sync between staging and production sites

Sync between staging and production sites

Last reviewed on December 18, 2025

This guide explains how to transfer changes between your staging and live (production) sites. In this guide, you will learn how to sync changes between staging and production and important considerations for doing so.

Synchronize production to staging

To ensure your staging site reflects the latest version of your live site, you can sync production to staging. This is especially useful before testing updates to themes, plugins, or content. 

To refresh your staging site with a clean copy of the production site, follow these steps:

  1. Visit your Sites list.
  2. Click the staging site title in the list of your sites.
  3. Click the Sync button in the top right of the screen and select the “Pull from Production” option in the dropdown.
A screenshot depicting a dropdown menu that allows you to either "Pull from Production" or "Push to Production". The former has been selected.
  1. A modal will open where you can choose what to pull.
The "Pull from Production" modal where you can choose which elements of the production site you want to pull into our staging environment.
  1. Choose to sync “All files and folders” or “Specific files and folders,” then use the checkboxes to select what you want to include.
  2. Decide whether to include the “Database tables” in the sync. See the guide below for more information.
  3. Click Pull, and the process will begin. You’ll receive an email once the sync is complete.

Synchronize staging to production

When you’re ready to move your changes from the staging site to your live site, you can sync media files, plugins, themes, and database content—including posts, pages, and menus. 

⚠️

Syncing from staging to production will overwrite matching content on your live site. Any data added to production after your last sync will be replaced. You cannot sync individual posts or pages—if you include the database, all database content syncs together. If data loss occurs, you can restore from a backup.

Follow the steps below to copy your staging site back to your production (live) site:

  1. Visit your Sites list in the dashboard.
  2. Click the staging site in the list.
  3. Click the Sync button in the top right of the screen and select the “Push to Production” option in the dropdown.
A screenshot depicting a dropdown menu that allows you to either "Pull from Production" or "Push to Production". The latter has been selected.
  1. A modal will open where you can choose what to push.
The "Push to Production" modal where you can choose which elements of the staging site you want to push to our production environment.
  1. Choose to sync “All files and folders” or “Specific files and folders,” then use the checkboxes to select what you want to include.
  2. Decide whether to include the “Database tables” in the sync. See the guide below for more information.
  3. When syncing from staging to production, confirm the sync by entering your site’s URL when prompted.
The dialog box where you need to type in the URL of the website in order to complete the push to production.
  1. Click Push, and the process will begin. You’ll receive an email once the sync is complete.

💡

The PHP version on your production site doesn’t automatically update to match staging. After syncing, update the production PHP version in your site’s Web Server Settings.

Database synchronization

Syncing the database from staging to production ensures the content you changed or added to your staging site appears on your production site.

When to sync the database

To fully reflect changes made on your staging site to production (or vice versa), you must include “Database tables” when syncing. This is essential for updates involving:

  • Posts, pages, and custom post types
  • Media uploads in the Media Library
  • Site template or Styles edits made in the Site Editor
  • Plugin and theme activation or deactivation
  • Any other content stored in the database

The database syncs as a whole—you cannot select individual posts or pages to sync. If you need to transfer only specific content, consider using the Export and Import tools instead.

If you’re syncing media uploads and want them to appear in the WordPress Media Library, the database must also be included in the sync.

When you sync the database, staging database content overwrites matching production database content. This includes posts, pages, settings, and other stored data. Any content added to production after your last sync from production to staging will be replaced.

Syncing files (plugins, themes, uploads) will add new files and update modified files on the destination site.

WooCommerce considerations

For websites with WooCommerce and other e-commerce plugins, syncing the database can result in permanent data loss. For example, if a new order is placed on your production site after you’ve created a staging copy, syncing the staging database back to production will erase that order.

Any data added to the production site after the last sync (from production to staging) will be overwritten, including:

  • Orders
  • Product changes
  • Customer information

If you have WooCommerce installed, an additional warning appears when syncing from staging to production.

An additional warning that will display when syncing content if you have WooCommerce installed.

It’s generally safe to sync the database if:

  • The site is still in development and hasn’t launched
  • The production store isn’t accepting real orders
  • You’re testing on staging, and there’s no risk of overwriting real data
  • Orders are disabled on production, and the database was synced to staging before changes were made
  • You’ve successfully exported the latest store data from production, imported it to staging, and confirmed that the data matches on both sites.

Payment gateway configurations on your staging site, such as test accounts or sandbox settings, will not overwrite your production payment settings when syncing. You can leave payments unconfigured or use test mode on staging without affecting live payment processing.

If data loss occurs after syncing, you can restore your site using a production backup.

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!