Skip to content
    MaintainHQ help

    How to Restore a WordPress Backup: Whole Sites, Single Files and Tables

    A step-by-step guide to restoring from the Backups page: a full site, chosen files or database tables, a point in time, or a move to another host.

    5 min readGus, MaintainHQ

    A dashboard showing a list of WordPress backups with a restore button highlighted

    When a plugin update goes wrong or someone deletes the wrong page, the fastest way back is often a restore. This guide covers the restore options on the Backups page: putting a whole site back, recovering just the files or tables you need, rolling back to a specific moment, and moving a site onto another host.

    Who this is for

    This article is for agency staff and freelancers who look after WordPress sites and need to undo a change without guessing. Backups and restores are included on every plan, including off-site copies, incremental backups and verification, so you do not need to upgrade to use anything described here.

    What a backup contains

    It helps to know what you are restoring before you start:

    • Included: the site's database and the wp-content folder (themes, plugins, uploads).
    • Not included: WordPress core files. These are standard files you can reinstall at any time, so they are left out to keep backups lean.

    Before you start

    A few quick checks will save time:

    1. Pick the right backup. Open Backups, History and look at the dates. If you are unsure which one is healthy, ask Gus (see below) for the last good backup and its verification status.
    2. Pin it if it matters. Older backups are cleared by retention rules over time. Pinning a backup keeps it.
    3. Find your passphrase if the backup is encrypted and you are restoring to a different site. More on this further down.

    Restore a whole site

    Use this when the site is broken or badly changed and you want everything back as it was.

    1. Go to Backups, then the Restore / Migrate tab. You can also press Restore on a backup in the History tab.
    2. Choose the backup you want.
    3. Under Restore onto, choose this site.
    4. Type the confirmation text when asked.
    5. Press Start restore.

    Two safeguards run automatically:

    • A safety backup of the site's current state is taken first, so you can go back if you change your mind. Safety backups are kept for 30 days.
    • The restore runs into temporary tables and is rolled back if it fails, so a half-finished restore will not leave the site in a mixed state.

    Restore individual files, folders or tables

    Often you only need part of a backup. Perhaps a theme file was overwritten, or one database table was damaged by a plugin.

    1. Go to Backups, then History.
    2. Browse the backup you want.
    3. Select the files, folders or tables to bring back and restore them.

    If you just want a copy of a single file to compare or edit by hand, you can download one file from the same view instead of restoring it.

    This is usually the least disruptive option, because everything you did not select stays exactly as it is.

    Roll back to a moment with the change journal

    A normal backup takes you back to when it was made. Point-in-time restore lets you go back to a specific moment between backups, which is useful if content was lost an hour after the last backup ran.

    Set it up first:

    1. Go to Backups, then Protection.
    2. Switch on the Change journal. The site needs connector version 3.19.0 or later.

    Then, when you need it: choose Restore to this moment and pick the time.

    Know its limits before you rely on it:

    • It covers posts, post meta, users, options, comments, terms and WooCommerce orders.
    • It does not cover other plugins' own tables, changes made by direct SQL, or multisite sub-sites.
    • Journal data is kept for 14 days.

    The journal only records changes from the moment you switch it on, so turn it on now if your sites have busy content or shops.

    Move a site to a new host

    The same restore screen doubles as a migration tool.

    1. Connect the destination site first, so it appears in your dashboard.
    2. Go to Backups, Restore / Migrate and choose the backup from the original site.
    3. Under Restore onto, choose another site and select the destination.
    4. Type the confirmation and press Start restore.

    Encrypted backups and passphrases

    If a backup is encrypted, you need its passphrase to restore it anywhere other than the site it came from. The passphrase cannot be recovered by support if it is lost, so store it somewhere safe and shared with whoever might need it, such as your team's password manager.

    Where Gus fits

    Gus can help you choose a backup, but it cannot start a restore for you. Ask Gus in Gus AI (/dashboard/gus) something like "Is the latest backup for this site healthy?" and it can report:

    • the last good backup
    • whether it has been verified
    • whether an off-site copy exists
    • test restore and encryption status
    • whether the change journal is on, and the recovery point

    You then press the buttons yourself on the Backups page. This keeps a person in charge of anything that changes a live site.

    If something goes wrong

    If a restore will not start or the result is not what you expected:

    • Remember the safety backup taken before the restore. You can restore that to get back to where you were.
    • Check that the site is still connected and on a recent connector version, especially for point-in-time restores.
    • If you are still stuck, open a MaintainHQ support ticket from Helpdesk and include the site and the backup you were trying to use.

    Wrapping up

    For most problems, a granular restore from History is the gentlest fix. Use a full restore from Restore / Migrate when the whole site needs to go back, and switch on the change journal ahead of time so you have finer control when you need it. A pinned backup and a safely stored passphrase make every one of these options more dependable.

    Get MaintainHQ updates

    Enjoyed this? Get new posts, Gus skills and WordPress maintenance tips by email. Roughly once a month, and you can unsubscribe at any time.

    Ready to try MaintainHQ?

    From £29 a month for up to 2 sites. Every plan starts with a 14-day trial.