1. Home
  2. Blog
  3. Backup and Restore

WordPress Restore Without Lockout: What Snapshotify Repairs for You

Backup and Restore

October 5, 2026

Most people judge a backup plugin by whether it can make a backup. The real test comes later, on a bad day, when you click restore and wait. That is when the scary stories happen: a restore that finishes and leaves a site nobody can log into, a site stuck on a maintenance page, a white screen because half of WordPress was replaced and half was not.

None of those failures are about the backup file. They are about the restore process: what it does, in what order, and what it repairs on the way. A WordPress restore without lockout depends on a handful of unglamorous steps that most people never think about until they are missing.

Snapshotify is the DaftPlug backup plugin. Its documentation spells out exactly what a restore does and why, including the parts that prevent you from being locked out of your own wp-admin. This guide walks through those parts, what you should do before you restore, and how to recover if a restore is interrupted.

What Snapshotify actually ships here

From the Snapshotify documentation on Restoring a backup and Troubleshooting:

  • Restores start from Snapshotify > Backups. Choose a backup and select restore. An archive from elsewhere can be brought in with Upload Backup first, then restored like any other.
  • A fixed, ordered sequence: prepare, restore the database, repair prefixed keys, migrate URLs (only when the address changed), restore files, finalize.
  • Prefix repair: role definitions and user capabilities that contain the table prefix inside the data are rewritten right after the database import.
  • Maintenance mode with a safety valve: visitors see a maintenance page from the database step onward, and the flag expires by itself after 30 minutes if a restore crashes hard.
  • A 30-minute re-login token, so you land back in wp-admin after the users table has been replaced.
  • Resumable steps: if a restore fails at the database step or later, retrying the same restore is safe.

According to the Snapshotify free and Pro comparison, restore from your backup list and restore from an uploaded archive are both in the free version. Pro adds scheduling, retention, and cloud storage.

Why lockouts happen in the first place

The table prefix lives in two places. Everyone knows table names start with a prefix like wp_. Fewer people know that WordPress also stores role definitions and user capabilities in keys built from that prefix. If a backup comes from a site with a different prefix and only the table names are renamed, those keys still point at the old prefix. WordPress finds no roles and no capabilities for anyone. The Snapshotify docs describe the result: total lockout from wp-admin, needing database surgery to fix.

The users table is replaced. A restore brings back the users from the backup. The account you were logged in as might not exist in it, or might have a different password. Your session no longer means anything.

Half-restored core breaks every request. Each step of a restore runs as a separate HTTP request that boots WordPress. If new and old core files get mixed at the wrong moment, the next request fatals before anything can recover.

Crashes leave the maintenance flag behind. If a restore dies after switching on maintenance mode, a naive tool leaves the site offline until someone deletes a file over FTP.

Snapshotify handles each of these explicitly.

The restore sequence, step by step

1. Prepare

The archive is extracted and checked, including a free-space check against the total uncompressed size. The docs call this the last non-destructive step. If anything fails here, your site is untouched.

2. Restore the database

Tables are imported. If the backup came from a site with a different table prefix, names are rewritten as they land. From this step onward the site is in maintenance mode, so visitors see a maintenance page rather than a half-restored site.

3. Repair prefixed keys

This is the anti-lockout step. Values that contain the prefix inside the data, role definitions and user capabilities, are rewritten to match the new prefix. Snapshotify does this immediately after the import, before anything else runs.

4. Migrate URLs

Only when the backup came from a different address. This is where a restore becomes a migration, and URLs across the database are rewritten.

5. Restore files

Uploads, plugins, themes, other content, then core. Core is restored last and in two phases: the wp-admin and wp-includes trees first, then all root PHP entry points in a single uninterrupted pass. The docs explain why: if a new wp-settings.php landed while wp-includes still held the old version, the next request would boot a mismatched WordPress and fatal mid-restore. Core restore also merges rather than wipes, because wiping wp-includes mid-restore would leave the next request with no WordPress to boot.

6. Finalize

Maintenance mode is lifted and the site comes back.

Getting back into wp-admin afterward

Because the users table was replaced, Snapshotify issues a short-lived re-login token, valid for 30 minutes, so you land back in wp-admin rather than at a login screen with credentials that no longer apply.

After that window, sign in with the credentials from the backup, not the ones you were using before. If the backup is old, that may be an old password. The troubleshooting page adds a last resort: if you have no working credentials at all, reset the password through the database or with WP-CLI.

This is the most common “I am locked out” moment that is not a bug. The site is fine. The password you are typing simply does not exist in the restored database.

What is deliberately not restored

Some files are skipped on the way in, and each skip prevents a different kind of breakage:

Not restoredWhy
wp-config.phpThe target keeps its own credentials, which is what makes restoring onto a different database work
.htaccessServer specific
.user.ini, php.ini, web.configContain absolute paths from the source host
Host-injected mu-pluginsLoad automatically and cannot be deactivated from wp-admin, so restoring one from another host leaves you stuck with it
Drop-ins such as object-cache.phpBound to the source server

If permalinks return 404 everywhere after moving to a new server, that is the .htaccess skip at work. The troubleshooting page says to re-save Settings > Permalinks on the destination to regenerate the rules.

Before you restore

The docs list four steps. Each takes a minute and each can save an afternoon.

  1. Back up the current state first. A restore is not reversible. If the backup turns out to be the wrong one, the only way back is a backup of what you just replaced.
  2. Check free space. A restore needs roughly twice the archive size, because it extracts before it applies. Snapshotify checks, but knowing in advance saves a failed attempt.
  3. Know which credentials you will need. Those from the backup, if the re-login window passes. Look them up before you start.
  4. Pick a quiet moment. The site is in maintenance mode while it runs.

And one rule shown on screen: do not close the tab during a restore. A backup can safely continue in the background, but a restore is replacing the site underneath itself, and you want to be watching.

If a restore fails

Where it failed determines what to do:

Failed duringStateWhat to do
PrepareUntouchedFix the cause, usually disk space, and retry
Database or laterPartially restoredRetry the same restore. Steps are resumable and repeating them is safe
Stuck in maintenance modeSite offlineWait for the 30-minute expiry, or delete .maintenance in your site root

If you are locked out of wp-admin entirely after a restore, the troubleshooting page says the usual cause is a cross-prefix restore that did not complete its repair step. Re-running the restore fixes it, because the repair runs immediately after the import.

Extra protection during migrations

When a restore is also a migration to a new domain or host, Snapshotify temporarily deactivates two kinds of plugins that would otherwise lock you out:

  • Login-URL changers like WPS Hide Login, which move wp-login.php to a slug stored in the source database. After a migration, the login page would be at an address you may not know, on a site you cannot sign into to find out.
  • SSL forcers, which loop when the target is not yet on HTTPS.

Reconfigure and re-enable them once the new site is settled. A same-site restore never does this.

One thing Snapshotify refuses

Multisite is refused at every entry point, with no override. The docs explain that on a network, table enumeration would silently omit network tables and other subsites, producing an archive that looks successful and is useless. A clear refusal is better than a false sense of safety.

What good looks like

A restore you can trust has a few visible signs:

  • You know which backup you are restoring and why. A title like “Before WooCommerce update” tells you months later whether it is the right one, which is exactly what the Snapshotify docs recommend when you create a backup.
  • A fresh backup of the current state exists before you start, so the restore itself is reversible in practice.
  • The restore runs through every step in the progress view, and the activity log shows no stage that stalled.
  • You are back in wp-admin within the 30-minute window, and Users shows the accounts you expect.
  • Front-end pages load with the right content, images included, and permalinks work.
  • Plugins that were switched off during a migration are reconfigured and back on.

Pitfalls (the ones that bite)

Restoring without a fresh backup of now. If the archive turns out to be the wrong date, you have nothing to go back to.

Typing today’s password after the token expires. Use the credentials stored in the backup.

Closing the tab mid-restore. Backups can run in the background. Restores should be watched.

Panicking at the maintenance page. It expires by itself after 30 minutes, or delete .maintenance in the site root.

Who this is for

  • Anyone who has never tested a restore. Read this before you need it.
  • Agencies restoring client sites, often onto servers with different table prefixes.
  • Store owners who need a restore to work the first time, under pressure.
  • Developers moving sites between local, staging, and production.

Practical checklist

  1. Take a fresh backup of the current state.
  2. Confirm free space of about twice the archive size.
  3. Note the admin credentials stored in the backup.
  4. Pick a quiet time and keep the tab open.
  5. Restore from Snapshotify > Backups.
  6. Use the 30-minute re-login window to check wp-admin.
  7. Re-save permalinks if you changed servers.
  8. Re-enable any login-URL or SSL plugins after a migration.

For the click-by-click version of a normal restore, the related guide on one-click restore of a full snapshot covers the everyday flow. This article is about what happens underneath it.

Takeaway

A WordPress restore without lockout is not luck. It comes from a restore that checks space before touching anything, repairs prefixed role and capability keys right after the import, restores core last in two phases, expires its own maintenance flag, and gives you a 30-minute token to get back in. Snapshotify does each of those, and documents why.

Restore is free in Snapshotify. Pro adds the parts that make sure there is a recent backup to restore from: scheduled backups, retention, and cloud storage on Google Drive, Dropbox, and OneDrive. One DaftPlug membership unlocks Snapshotify together with Progressify, Lightify, Generatify, and Rankify. Plans differ only by site count (Pro $37.99 a year for 1 site, Pro Plus $74.99 for 5, Pro Max $138.99 for 100), with a 14-day money-back guarantee. See pricing when you want the backup side handled as well as the restore.