Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Rollback needed but no previous version: how to fix it

OPS-294Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

A rollback means putting the site back to the last version that worked. This issue happens when that option does not exist. The old theme was overwritten, the old build was deleted, the database changed with no backup, or the only copy lived on one person's laptop.

It is not the bad deploy itself. It is what turns a small mistake into a long outage. With a previous version, a broken form costs minutes. Without one, someone has to find the fault and fix it live while the funnel stays broken.

Why it costs you leads or sales

Every minute a broken landing page, form or checkout stays live, paid traffic keeps arriving and leaves without converting. If you cannot roll back, the time to recover grows from minutes to hours or days, and you pay for ads the whole time.

Time to recover from the same broken deployExample numbers
Time to recover from the same broken deploy (example)One-click rollback available: 10 minutes; Manual restore from partial backup: 120 minutes; No previous version, rebuild live: 480 minutes018436810120480One-click rollback av…Manual restore from p…No previous version, …minutes

Example: illustrative recovery times for one broken form, with and without a restorable previous version.

How it unfolds without a rollback option
  1. 10:00

    A release goes live and overwrites the old files.

  2. 10:20

    Someone notices the form or checkout is broken.

  3. 10:30

    The team looks for the previous version and finds none.

  4. 13:00

    The fault is traced and patched by hand on the live site.

  5. 13:30

    The funnel works again, after hours of lost traffic.

How to check if your site has it

Ask one question: if the last change broke the site right now, how would you undo it, and how long would it take? If the answer is vague, you have this issue.

Rollback readiness check
  • You can name the last version that worked and where it is stored.
  • Your host, theme or platform keeps earlier versions you can restore.
  • A backup of files and database was taken before the last change.
  • The backup is stored somewhere other than the server it protects.
  • You have restored a backup at least once to prove it works.
  • More than one person knows the rollback steps.
  • Config values and environment variables are saved outside the deployed code.

How to fix it

The method depends on how your site is built. Pick your platform below, then follow the general steps.

Keep a restorable previous version
  1. Back up before every change

    Use your host's snapshot feature or a backup plugin to save files and the database before updating plugins, themes or core.

  2. Test on staging first

    If your host offers a staging site, apply the update there, check forms and tracking, then push live.

  3. Store backups off the server

    Send copies to separate storage so a server problem does not take the backups with it.

Example: symlink-based release folders with instant rollbackbash
# Deploy a new release
RELEASE=releases/$(date +%Y%m%d%H%M)
mkdir -p $RELEASE
cp -r build/* $RELEASE/
ln -sfn $(pwd)/$RELEASE current

# Roll back: point current at the previous release folder
ls -1 releases | tail -n 2
ln -sfn $(pwd)/releases/PREVIOUS_FOLDER current

# Keep the last 5 releases, remove older ones
ls -1dt releases/* | tail -n +6 | xargs rm -rf
General steps for any site
  1. List what must be restorable

    Files or theme, database, tag manager container, DNS, redirects and environment settings.

  2. Take a snapshot before each release

    Make it a required step in your release checklist, not an optional extra.

  3. Keep a minimum number of versions

    Hold at least the last three releases or backups, plus one older monthly copy.

  4. Store copies in a second place

    Use separate storage or a different account from the live site.

  5. Write the rollback steps down

    One page, in plain words, that anyone on the team can follow under pressure.

  6. Rehearse it

    Restore to a test copy and time it. Fix gaps before a real incident.

Release process before and after

No rollback option

  • Edits made directly on the live site
  • Old files overwritten on deploy
  • Backups missing, old or never tested
  • Recovery means debugging live

Restorable releases

  • Snapshot or duplicate taken before each change
  • Last several versions kept and named
  • Backups stored off the server and tested
  • Recovery is one documented step

How to confirm it's fixed

Prove the rollback works
  1. Run a rollback drill

    On staging or a copy, deploy a deliberately small change, then roll it back using your written steps.

  2. Time it

    Note how long it took and who needed to be involved. Aim for minutes, not hours.

  3. Check the funnel after restore

    Submit the form, load the checkout and confirm tracking tags fire on the restored version.

  4. Check data

    Confirm recent leads, orders and settings were not lost by restoring.

How to prevent it happening again

Habits that keep rollback possible
  • Never edit the live site directly without a snapshot or duplicate.
  • Automate backups on a schedule and before each release.
  • Set retention so old versions are not deleted too soon.
  • Keep a changelog of what changed, when and by whom.
  • Avoid releasing right before or during peak ad hours.
  • Review the rollback page every quarter and after any platform change.

How FunnelGuard handles this

This issue is outside what FunnelGuard checks. Whether a previous version exists is a matter of your backups, version control and deploy setup, and FunnelGuard does not inspect those.

The kind of tool that fits is a backup and release-management tool: your host's snapshots or backup service, Git with a CI/CD pipeline that keeps tagged builds, or your platform's built-in version history.

FunnelGuard is a separate, complementary tool. It runs your real customer journeys on a schedule, such as lead forms and checkouts, and checks tracking hits and whether test leads arrive. You can use it after a rollback to check that the restored funnel works end to end. A free plan covers 1 site and 2 journeys, and a free read-only website audit is also available.

Which tool handles which part
NeedKind of tool
Keep and restore previous versionsBackups, version control, CI/CD, platform version history
Undo a bad container changeTag manager version history
Re-run the funnel after a restore to see it worksSynthetic monitoring such as FunnelGuard

Questions people ask

What do I do if a deploy broke my site and I have no backup?

First check for hidden copies: your host's automatic snapshots, platform version history, your Git repository, a CDN or browser cache, and the Wayback Machine for page content. If none exist, fix the fault directly on the live site as fast as you can, then set up backups so it does not happen again.

How do I roll back a Shopify theme?

Go to Online Store > Themes and find the earlier theme in the theme library. Open its menu and choose Publish. This only works if you duplicated the theme before editing, so make a copy before every change.

Can I restore a previous version of a Webflow site?

Yes, if a backup exists. In Site settings > Backups you can restore an earlier backup, then republish. Create a backup before large changes so a good one is always available.

How many previous versions should I keep?

Keep at least the last three releases or backups, plus an older monthly copy. This covers a bad release you notice a few days later. Store them somewhere other than the live server.

Why is my WordPress rollback not working?

Common causes are a backup that is incomplete, a database that changed after the backup, or files restored without the matching database. Restore both together to a staging copy first, then check forms and tracking before going live.

How do I roll back a Google Tag Manager change?

Open your container, go to the Versions tab, choose the last good version and use Actions > Publish. This makes that version live again without losing the later ones.

Does FunnelGuard help me roll back a deploy?

No. Rollback needs backups, version control or platform version history. FunnelGuard can run your funnel journeys after a rollback to check that forms, checkouts and tracking work again.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.