{"id":36424,"date":"2024-07-11T04:17:09","date_gmt":"2024-07-11T04:17:09","guid":{"rendered":"https:\/\/www.wpstaq.com\/?post_type=knowledgebase&#038;p=36424"},"modified":"2026-09-28T07:23:24","modified_gmt":"2026-09-28T07:23:24","slug":"how-to-sync-a-staging-site-to-production","status":"publish","type":"knowledgebase","link":"https:\/\/www.wpstaq.com\/sg\/knowledgebase\/how-to-sync-a-staging-site-to-production\/","title":{"rendered":"How to sync a staging site to production"},"content":{"rendered":"<p>You can push changes from a staging website to the live website without copying the whole site. Choose the database, plugins, themes, and content. You can also include or exclude specific database tables. Staq backs up both websites before it writes anything. PHP, redirects, and the other Staq settings are not copied. These steps select the data, run the sync, and show what you still update on the live website.<\/p>\n<h2>Open the staging website<\/h2>\n<ol>\n<li>Open the staging website.<\/li>\n<li>The environment switcher says <strong>Staging Environment<\/strong>.<\/li>\n<li>Click <strong>Sync Staging<\/strong>. You can also open <strong>Files<\/strong> and click <strong>Sync Staging<\/strong> in the rail.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/09\/sync-staging-open.png\" alt=\"Sync Staging on the staging website\"><\/p>\n<h2>Choose what to copy<\/h2>\n<ol>\n<li>Step 1 is <strong>Select Data<\/strong>.<\/li>\n<li>Backups are created for the live website and the staging website before the sync starts.<\/li>\n<li>If you have more than one staging website, confirm the name on the page is the one you mean to sync.<\/li>\n<li><strong>Complete Website<\/strong> copies the database, plugins, content, and themes.<\/li>\n<li><strong>Select Types<\/strong> lets you choose which parts to push.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/09\/sync-staging-choose.png\" alt=\"Complete Website and Select Types\"><\/p>\n<h2>Select the parts to sync<\/h2>\n<ol>\n<li>Click <strong>Select Types<\/strong>.<\/li>\n<li>Tick <strong>Database<\/strong>, <strong>Content<\/strong>, <strong>Plugins<\/strong>, <strong>Themes<\/strong>, or any mix.<\/li>\n<li>WordPress setting changes use <strong>Database<\/strong>.<\/li>\n<li>Plugin or theme updates use <strong>Plugins<\/strong> and <strong>Themes<\/strong>.<\/li>\n<li>New files and images use <strong>Content<\/strong>. Add <strong>Database<\/strong> when those changes are stored in the database.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/09\/sync-staging-types.png\" alt=\"Database, content, plugins, and themes\"><\/p>\n<h2>Include or exclude database tables<\/h2>\n<ol>\n<li>With <strong>Database<\/strong> ticked, open <strong>Scope<\/strong>.<\/li>\n<li><strong>All tables<\/strong> copies every table.<\/li>\n<li><strong>Include selected tables<\/strong> copies only the tables you name.<\/li>\n<li><strong>Exclude selected tables<\/strong> copies every table except the ones you name.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/09\/sync-staging-scope.png\" alt=\"All tables, include selected tables, or exclude selected tables\"><\/p>\n<h2>Leave live rows in place<\/h2>\n<ol>\n<li>Choose <strong>Exclude selected tables<\/strong> when the live website has newer rows you must keep, such as form submissions or WooCommerce orders.<\/li>\n<li>Add those table names.<\/li>\n<li>Leave <strong>Content<\/strong>, <strong>Plugins<\/strong>, and <strong>Themes<\/strong> unticked if this sync is the database only.<\/li>\n<li>If you cannot exclude those tables, export the live data first and import it again after the sync.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/09\/sync-staging-exclude.png\" alt=\"Exclude selected database tables\"><\/p>\n<h2>Sync plugins and themes with those tables left out<\/h2>\n<ol>\n<li>Keep the same table exclusion.<\/li>\n<li>Tick <strong>Plugins<\/strong> and <strong>Themes<\/strong> when those updates should go to the live website too.<\/li>\n<li>Click <strong>Sync Now<\/strong> only when the selection is what you want on the live website.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/09\/sync-staging-plugins-themes.png\" alt=\"Plugins and themes selected with tables excluded\"><\/p>\n<h2>Watch the sync<\/h2>\n<ol>\n<li>The page moves to <strong>Sync Progress<\/strong>.<\/li>\n<li>The event log creates a backup of the live website and a backup of the staging website before it changes the live website.<\/li>\n<li>Wait until the log says the staging site synced successfully.<\/li>\n<li>Click <strong>Review<\/strong>.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/09\/sync-staging-progress.png\" alt=\"Sync Progress backs up both websites first\"><\/p>\n<h2>Update settings the sync leaves behind<\/h2>\n<ol>\n<li><strong>Review &amp; Finish<\/strong> lists Nginx, PHP, Object Cache, Cron Jobs, WP Config, and URL Redirects.<\/li>\n<li>The sync does not copy these Staq settings. <strong>Match<\/strong> means they already agree. <strong>Needs update<\/strong> means you change that setting on the live website yourself.<\/li>\n<li>PHP can show a different max post size. URL redirects can exist only on staging.<\/li>\n<li>Click <strong>Go to Live Website<\/strong> and update each row that says <strong>Needs update<\/strong>.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/09\/sync-staging-review.png\" alt=\"Settings the sync does not copy\"><\/p>\n<h2>FAQ<\/h2>\n<h3>Do I need to take a backup first?<\/h3>\n<p>No. Staq backs up the live website and the staging website before the sync. Restore either copy from <strong>Backups<\/strong> if you need it.<\/p>\n<h3>Can I keep new orders or form entries on the live website?<\/h3>\n<p>Yes. Exclude those tables, or leave <strong>Database<\/strong> unticked. If you cannot exclude them, export the live data first and import it again after the sync.<\/p>\n<h3>Does the sync cost extra?<\/h3>\n<p>There is no separate charge. Storage and bandwidth from the staging website count toward the live website&#8217;s usage.<\/p>\n<h3>Can I have more than one staging website?<\/h3>\n<p>Yes. Each one can have its own label. The sync page names the staging website you are about to push. Confirm it before you click <strong>Sync Now<\/strong>.<\/p>\n<h3>Do staging and live use the same resources?<\/h3>\n<p>Yes. Even though they are completely different environments, we apply the same resources to the staging environment just like the production website. Staging cannot use more PHP workers than the live website. Raise the workers on the live website first if staging needs more.<\/p>\n<h3>What stays off on a staging website?<\/h3>\n<p>You cannot configure both Cloudflare and CloudFront. WebP images are not served from the staging website either.<\/p>\n<h3>I do not see Sync Staging<\/h3>\n<p>You are on Dev or Live. Open the staging website from the environment switcher.<\/p>\n<h2>Need some help?<\/h2>\n<p>Open a support ticket if the control is not in Staq, or the change does not save.<\/p>\n","protected":false},"featured_media":0,"parent":0,"template":"","class_list":["post-36424","knowledgebase","type-knowledgebase","status-publish","hentry","categories-deployment","categories-staging"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to sync a staging site to production - Managed Hosting Platform for WordPress<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-sync-a-staging-site-to-production\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to sync a staging site to production - Managed Hosting Platform for WordPress\" \/>\n<meta property=\"og:description\" content=\"You can push changes from a staging website to the live website without copying the whole site. Choose the database, plugins, themes, and content. You can also include or exclude specific database tables. Staq backs up both websites before it writes anything. PHP, redirects, and the other Staq settings are not copied. These steps select&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-sync-a-staging-site-to-production\/\" \/>\n<meta property=\"og:site_name\" content=\"Managed Hosting Platform for WordPress\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/staqhosting\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-28T07:23:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/09\/sync-staging-open.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-sync-a-staging-site-to-production\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-sync-a-staging-site-to-production\\\/\",\"name\":\"How to sync a staging site to production - Managed Hosting Platform for WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-sync-a-staging-site-to-production\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-sync-a-staging-site-to-production\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/sync-staging-open.png\",\"datePublished\":\"2024-07-11T04:17:09+00:00\",\"dateModified\":\"2026-09-28T07:23:24+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-sync-a-staging-site-to-production\\\/#breadcrumb\"},\"inLanguage\":\"en-sg\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-sync-a-staging-site-to-production\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-sg\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-sync-a-staging-site-to-production\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/sync-staging-open.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/sync-staging-open.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-sync-a-staging-site-to-production\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wpstaq.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to sync a staging site to production\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"name\":\"Managed Hosting Platform for WordPress\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wpstaq.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-sg\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\",\"name\":\"Staq\",\"alternateName\":\"WPStaq\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-sg\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"width\":512,\"height\":512,\"caption\":\"Staq\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/staqhosting\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wpstaq\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to sync a staging site to production - Managed Hosting Platform for WordPress","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-sync-a-staging-site-to-production\/","og_locale":"en_US","og_type":"article","og_title":"How to sync a staging site to production - Managed Hosting Platform for WordPress","og_description":"You can push changes from a staging website to the live website without copying the whole site. Choose the database, plugins, themes, and content. You can also include or exclude specific database tables. Staq backs up both websites before it writes anything. PHP, redirects, and the other Staq settings are not copied. These steps select&hellip;","og_url":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-sync-a-staging-site-to-production\/","og_site_name":"Managed Hosting Platform for WordPress","article_publisher":"https:\/\/www.facebook.com\/staqhosting\/","article_modified_time":"2026-09-28T07:23:24+00:00","og_image":[{"url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/09\/sync-staging-open.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-sync-a-staging-site-to-production\/","url":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-sync-a-staging-site-to-production\/","name":"How to sync a staging site to production - Managed Hosting Platform for WordPress","isPartOf":{"@id":"https:\/\/www.wpstaq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-sync-a-staging-site-to-production\/#primaryimage"},"image":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-sync-a-staging-site-to-production\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/09\/sync-staging-open.png","datePublished":"2024-07-11T04:17:09+00:00","dateModified":"2026-09-28T07:23:24+00:00","breadcrumb":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-sync-a-staging-site-to-production\/#breadcrumb"},"inLanguage":"en-sg","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpstaq.com\/knowledgebase\/how-to-sync-a-staging-site-to-production\/"]}]},{"@type":"ImageObject","inLanguage":"en-sg","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-sync-a-staging-site-to-production\/#primaryimage","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/09\/sync-staging-open.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/09\/sync-staging-open.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-sync-a-staging-site-to-production\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wpstaq.com\/"},{"@type":"ListItem","position":2,"name":"How to sync a staging site to production"}]},{"@type":"WebSite","@id":"https:\/\/www.wpstaq.com\/#website","url":"https:\/\/www.wpstaq.com\/","name":"Managed Hosting Platform for WordPress","description":"","publisher":{"@id":"https:\/\/www.wpstaq.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpstaq.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-sg"},{"@type":"Organization","@id":"https:\/\/www.wpstaq.com\/#organization","name":"Staq","alternateName":"WPStaq","url":"https:\/\/www.wpstaq.com\/","logo":{"@type":"ImageObject","inLanguage":"en-sg","@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","width":512,"height":512,"caption":"Staq"},"image":{"@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/staqhosting\/","https:\/\/www.linkedin.com\/company\/wpstaq"]}]}},"_links":{"self":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/knowledgebase\/36424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/types\/knowledgebase"}],"wp:attachment":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/media?parent=36424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}