How to sync a staging site to production
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.
Open the staging website
- Open the staging website.
- The environment switcher says Staging Environment.
- Click Sync Staging. You can also open Files and click Sync Staging in the rail.

Choose what to copy
- Step 1 is Select Data.
- Backups are created for the live website and the staging website before the sync starts.
- If you have more than one staging website, confirm the name on the page is the one you mean to sync.
- Complete Website copies the database, plugins, content, and themes.
- Select Types lets you choose which parts to push.

Select the parts to sync
- Click Select Types.
- Tick Database, Content, Plugins, Themes, or any mix.
- WordPress setting changes use Database.
- Plugin or theme updates use Plugins and Themes.
- New files and images use Content. Add Database when those changes are stored in the database.

Include or exclude database tables
- With Database ticked, open Scope.
- All tables copies every table.
- Include selected tables copies only the tables you name.
- Exclude selected tables copies every table except the ones you name.

Leave live rows in place
- Choose Exclude selected tables when the live website has newer rows you must keep, such as form submissions or WooCommerce orders.
- Add those table names.
- Leave Content, Plugins, and Themes unticked if this sync is the database only.
- If you cannot exclude those tables, export the live data first and import it again after the sync.

Sync plugins and themes with those tables left out
- Keep the same table exclusion.
- Tick Plugins and Themes when those updates should go to the live website too.
- Click Sync Now only when the selection is what you want on the live website.

Watch the sync
- The page moves to Sync Progress.
- The event log creates a backup of the live website and a backup of the staging website before it changes the live website.
- Wait until the log says the staging site synced successfully.
- Click Review.

Update settings the sync leaves behind
- Review & Finish lists Nginx, PHP, Object Cache, Cron Jobs, WP Config, and URL Redirects.
- The sync does not copy these Staq settings. Match means they already agree. Needs update means you change that setting on the live website yourself.
- PHP can show a different max post size. URL redirects can exist only on staging.
- Click Go to Live Website and update each row that says Needs update.

FAQ
Do I need to take a backup first?
No. Staq backs up the live website and the staging website before the sync. Restore either copy from Backups if you need it.
Can I keep new orders or form entries on the live website?
Yes. Exclude those tables, or leave Database unticked. If you cannot exclude them, export the live data first and import it again after the sync.
Does the sync cost extra?
There is no separate charge. Storage and bandwidth from the staging website count toward the live website’s usage.
Can I have more than one staging website?
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 Sync Now.
Do staging and live use the same resources?
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.
What stays off on a staging website?
You cannot configure both Cloudflare and CloudFront. WebP images are not served from the staging website either.
I do not see Sync Staging
You are on Dev or Live. Open the staging website from the environment switcher.
Need some help?
Open a support ticket if the control is not in Staq, or the change does not save.
Need some help?
We all do sometimes. Please reach out to our support team by dropping us a support ticket. We will respond fast.