Last updated: · By Asael Dreyer
In short: to update a WooCommerce store without losing orders, test the update on a staging site first, then run the same update on the live site at a quiet hour, after a backup and with checkout temporarily closed. The key rule: never push the database from staging to the live store, because it overwrites orders that came in meanwhile. On Cloudways you can push files only, or selected tables (checked on 7 Nov 2026).
⏱ Time needed: 30–90 minutes per update round · Difficulty: medium · Last checked against the official documentation: 7 Nov 2026
Key facts (as of 7 Nov 2026):
- WooCommerce recommends: a backup, a test on staging, Coming soon mode during the update, and a test order afterwards.
- Order tables (HPOS): wc_orders, wc_order_addresses, wc_order_operational_data and wc_orders_meta. The default for new stores since WooCommerce 8.2.
- Without HPOS: orders live in posts and postmeta, mixed in with your site content.
- Cloudways staging: Push files, Full DB or selected tables, with a backup beforehand.
- SafeUpdates: $3 per app per month (1–5 apps), $2 from 6 apps.
Why is a WooCommerce update riskier than a normal site update?
Because a store’s data keeps changing. On a brochure site, what was there in the morning is identical in the evening. In a store, orders come in, customers register and stock moves. Any action that rolls the database back wipes all of that out.
On top of that, WooCommerce depends on many components: the payment plugin, the invoicing plugin, the theme and the shipping plugins. According to the official WooCommerce guide, compatibility depends on the whole set, so you update and test them together.
Where do orders live in the database?
This is the fact that decides what you are allowed to overwrite. According to the HPOS documentation, stores with High-Performance Order Storage (HPOS) keep orders in four dedicated tables. This has been the default for new stores since WooCommerce 8.2, released in October 2023.
| Store mode | Where the orders are | What it means when pushing from staging |
|---|---|---|
| HPOS enabled | wp_wc_orders, wp_wc_order_addresses, wp_wc_order_operational_data, wp_wc_orders_meta | You can exclude the four tables from the push |
| HPOS disabled (WordPress Post Tables) | wp_posts and wp_postmeta | You cannot separate orders from content. Don’t push the database at all |
The wp_ prefix is the default, and yours may be different. You can check the mode under WooCommerce → Settings → Advanced → Features, in the order storage setting.
How do you update a WooCommerce store safely, step by step?
This is the workflow I use, based on the WooCommerce recommendations and the Cloudways staging tools. It works for updating WooCommerce itself as well as plugins and the theme.
- Pull the live store to staging so the test runs on current data. Full guide: Staging environment on Cloudways.
- Update everything on staging: WooCommerce, the payment plugin, invoicing, the theme and the other plugins.
- Test on staging: a product page, the cart, checkout, an order in your payment provider’s test mode, the customer email and the invoice.
- Back up the live site right before you start. Guide: Backup and restore.
- Pick a quiet hour and turn on Coming soon mode so customers can’t place orders mid-update.
- Update the live site under Plugins → Installed Plugins, in the same order that worked on staging.
- If a database update notice appears, click Update WooCommerce Database and follow View progress until the completion message.
- Place a test order on the live site, check for failed scheduled actions, and only then turn off Coming soon.
What if you still need to push from staging?
Sometimes the change is a design or code you built on staging, not an update. According to the Cloudways guide, under Staging Management → Push you choose files (Web Application Files) and the database separately, and for the database you can pick Full DB or selected tables. Cloudways itself recommends selected tables so you can exclude order tables or user data, ticking the backup option before the push, and pushing during off-peak hours.
On a store with HPOS: push files and, only if you must, just the tables you changed, without the four order tables and without the user tables. On a store without HPOS: push files only, and make content changes by hand on the live site.
The code BFCM802 takes 80% off your bill for the first two months (up to $200 off per month), including unlimited free site migrations. New customers only, and only until the offer ends.
The offer ends on December 4, 2026 at 23:59 (UTC+2).
Start with a free trial, no credit card. Enter the code at checkout and check that it shows up.
After Black Friday: 30% off for 3 months with the code ASAEL. On a large server (above about $444 a month) ASAEL already saves more today. BFCM802 vs. ASAEL calculator
Start a free trial server, no credit card. When you move to a paid plan, the code ASAEL takes 30% off your bill for the first three months.
The link fills in the code on the signup form. Just make sure it shows up.
What do you do if the update broke the store?
Close checkout, roll back the component that broke, and restore the database only if you have no other choice. According to WooCommerce, you keep checkout closed and fix the problem on staging before trying again.
- Turn on Coming soon if it isn’t already on.
- Identify the plugin that caused the problem, from the error message or from the application logs.
- Roll that plugin back to the previous version, or restore only files from a backup.
- A full database restore also sends the orders back to the backup point. If you have to do it, export the orders that came in since the backup first.
Does Cloudways SafeUpdates solve this?
Partly. According to the SafeUpdates page, the tool detects core, theme and plugin updates, takes a backup, tests the updates on a temporary staging environment (visual comparison, performance, logs and HTML), and rolls back if something fails. The price is $3 per app per month for up to 5 apps and $2 from 6 apps up, as of 7 Nov 2026.
What it doesn’t do: it doesn’t pay at your checkout. A visual check will catch a broken page, but not necessarily a payment plugin that only throws an error at the moment of payment. On a store, use SafeUpdates for small plugins and test WooCommerce and payment plugin updates by hand. Setup and activation: the SafeUpdates guide.
What are the common mistakes when updating a store?
Pushing Full DB from staging: the most expensive mistake. Every order that arrived after the staging site was created is deleted.
Updating at a busy hour: a customer who pays in the middle of a database update may get an error or a partial order.
Updating WooCommerce without the payment plugin: a new WooCommerce version with an old payment plugin is a common source of checkout problems.
Skipping the test order: the site looks fine, but checkout doesn’t work. Find that out before your customers do.
Black Friday 2026: until 4 Dec 2026 Cloudways offers 80% off for two months with the code BFCM802. Details on the coupon page.
Last checked: 7 Nov 2026
Don’t want to handle this yourself? On the website maintenance page I laid out what to include in a maintenance package and what it costs.
Frequently asked questions
Test the update on a staging site, then run the same update on the live site at a quiet hour and after a backup. Don’t push the staging database to the live site, because it overwrites orders that came in meanwhile. Finish with a test order.
First close checkout, for example with Coming soon mode, so customers don’t order on a broken site. Then roll back the plugin that caused the problem to its previous version, or restore files from a backup. A full database restore also sends the orders back to the backup point, so use it only if you have no other choice.
WooCommerce recommends checking for updates once a month, and updating sooner when there is a security fix. You can spot security fixes on the WooCommerce Advisories page and in the changelog.
Files yes, the database only with great care. On Cloudways you can push only files, or only selected tables, and leave the order tables out. Pushing Full DB overwrites everything that came into the live store after the staging site was created.
It is a request to run changes to the database structure after an update. According to WooCommerce, you make sure you have a backup, click Update WooCommerce Database and follow View progress. Only after the message that the update is complete do you continue testing the store.
It helps, but it doesn’t replace testing checkout. SafeUpdates tests updates on a temporary staging environment, with visual, performance and log checks, and rolls back if something fails. A real payment at checkout is still a test you do yourself.
Related guides
- Hosting for a WooCommerce store
- Staging environment on Cloudways
- Automatic plugin updates with SafeUpdates
- Backup and restore on Cloudways
- Slow checkout in WooCommerce
Sources (checked on 7 Nov 2026): WooCommerce: How to update WooCommerce · WooCommerce HPOS · Cloudways KB: Staging environment · Cloudways SafeUpdates. This page was written and checked by Asael Dreyer · Updated: 7 Nov 2026
Disclosure: this is an independent site, not the official Cloudways site. Some links on this site are affiliate links: if you sign up through them we earn a commission, at no extra cost to you. Full details