k-sync
Back to blog

How to back up WooCommerce before migrating to Shopify (2026)

What to back up before migrating from WooCommerce to Shopify — database, files, product data, orders, customers, and why your WooCommerce backup is your safety net during migration.

·By k-sync
5 min read · 900 words

Before you migrate a single product to Shopify, back up your WooCommerce store completely. The backup serves two purposes: a safety net if something goes wrong during migration, and an authoritative reference for data you might need months later (historical orders, customer purchase history, old product data). This guide covers everything you need to preserve and how to do it.

The golden rule: WooCommerce migration is non-destructive

First, an important clarification: migrating to Shopify never modifies, exports, or deletes your WooCommerce data. k-sync and other migration tools read from WooCommerce's API (read-only) and write to Shopify. Your WooCommerce database is untouched.

But that doesn't mean you shouldn't back up. Backups protect against:

What to back up

1. Full WordPress database backup

The most important backup. The WordPress/WooCommerce database contains everything: products, orders, customers, settings, plugin data.

Using UpdraftPlus (recommended)

  1. Install UpdraftPlus (free version in WordPress plugin directory)
  2. Settings → UpdraftPlus Backups → Backup Now
  3. Select: Database only (for targeted backup) or Database + Files
  4. Download the .gz file to your computer
  5. Also back up to remote storage: Google Drive, Dropbox, or AWS S3 (free to configure in UpdraftPlus)

Using phpMyAdmin (manual)

  1. Log in to phpMyAdmin via your hosting control panel (cPanel, Plesk)
  2. Select your WordPress database
  3. Export → Quick → SQL format → Go
  4. Downloads a .sql file — keep this safe

Using WP CLI (developer)

wp db export backup-$(date +%Y%m%d).sql --allow-root

2. WooCommerce product export CSV

Export your product catalog as a WooCommerce CSV for easy reference and potential re-import:

  1. WooCommerce → Products → Export
  2. Select: All products, all columns
  3. Export → Downloads a CSV with all product data

This CSV is useful as:

3. Order export

Export your order history — even if you're not migrating orders to Shopify, having them in a portable format is important for accounting and customer service:

  1. WooCommerce → Orders → Export (top right)
  2. Select all columns, all statuses
  3. Export → CSV file with all orders

Alternatively, use a plugin like "WooCommerce Order Export" for more detailed exports including line items per order.

4. Customer export

  1. WooCommerce → Customers → Export (if available in your version)
  2. Or: WordPress → Users → Export
  3. Alternatively via WP All Export plugin for more control

5. Media files (product images)

Your WooCommerce product images live in WordPress's media library (wp-content/uploads/). When you migrate to Shopify, Shopify downloads your images from the source URLs and re-hosts them. But if you plan to decommission your old WordPress server, you need to download all media files first:

Via FTP/SFTP

  1. Connect to your server with an FTP client (FileZilla, Cyberduck)
  2. Download the entire /wp-content/uploads/ folder
  3. This may be large (1–10+ GB for image-heavy stores)

Via hosting backup

Most hosts (WPEngine, SiteGround, Kinsta) have one-click full site backups including files — use these.

6. Plugin configuration exports

Document your WooCommerce configuration before migration:

Backup storage: where to keep it

Keep backups in at least two locations:

Do NOT keep backups only on the same server as the live site — if the server fails, you lose both.

How long to keep WooCommerce running after migration

The recommended timeline:

PhaseTimelineWooCommerce status
Active migrationDays 1–X (during setup)Fully live, accepting orders
Post-launch (parallel)Week 1–4 after DNS switchLive but in read-only/reference mode, no new orders (maintenance page)
Wind-down periodMonth 1–6Accessible to staff for order history lookup, not public
ArchiveAfter month 6Database backup kept, server decommissioned

Keep WooCommerce accessible (even just to you, not to customers) for at least 6 months after migration. You will need to reference it for:

Decommissioning WooCommerce safely

When you're ready to shut down WooCommerce:

  1. Take a final full backup (database + files)
  2. Verify all critical data has either migrated to Shopify or been backed up elsewhere
  3. Check accounting: are all financial records for tax purposes exported/saved?
  4. Redirect remaining old URLs: check Google Search Console for any crawled pages that don't have redirects yet
  5. Cancel hosting plan (verify no auto-renewal payments)
  6. Store the final database backup offline for 3–7 years (varies by country for business record retention requirements)

Pre-migration backup checklist

This entire backup process takes 1–2 hours and can save days of recovery work if anything goes wrong. Do it before touching anything migration-related.

Migrate your store with k-sync

Connect your WooCommerce store, validate your products, and push to Shopify in minutes. Free for up to 50 products.

Get started free

Related reading

Browse all migration guides