How to Move a WordPress Site Without Hassle with Snapshot

How to Move a WordPress Site Without Hassle with Snapshot

Moving your site to a different server or a different kind of WordPress installation can be a time-consuming nightmare if you don’t have the right tools. But with our Snapshot plugin, the experience is more of a sweet dream.

Since Snapshot was launched, we’ve added sooo much new stuff! Head over to the project page to check out all the new features. Check out Snapshot

While Snapshot wasn’t initially designed with site migration in mind, we have since developed it to include this all-important requirement since so many of you asked for this feature, and, of course, we like to keep our members happy!

Migration is a little-known feature in Snapshot, so we’ll cover how to do it in this tutorial. We’ll show you how to move a single install and Multisite install of WordPress and then move one site from a Multisite to a single WordPress install.

If you need to change your domain name along the way, I’ll give you pointers on how to do that, too.

Snapshot isn’t just for backing up and restoring anymore, so without further delay, let’s look at how to migrate your site.

Update: Looking to move your site to a new host? Checkout Shipper! Our new site migration plugin lets you move your WordPress sites with just a click.

It All Starts with a Backup

First thing’s first: If you want to migrate your site with Snapshot, you need to backup your site. But before you even do that, you need to install and activate Snapshot. You can do this either using the WPMU DEV Dashboard plugin in the backend of your site or by downloading Snapshot directly.

Before we move on, it’s worth noting that sometimes Snapshot may run into problems if you have an insufficient memory limit on your WordPress install. So to get around this, check out our post, How to Increase the Maximum Upload and PHP Memory Limit in WordPress. It will only take a minute to do and is worth doing anyway as you might come across memory limit issues in the future if you haven’t already.

Once Snapshot is installed and activated, it’s time to set it up. Using Snapshot, you can learn how to do this in one of our other posts called How to Backup Your WordPress Website (and Multisite).

Here’s how you create a backup: Go to Snapshot Backups > Backup Now in your admin dashboard.

Next, enter a name for your Snapshot backup under Backup Title and any optional notes you would like to add as a private reminder of why you created this backup profile.

Select the Apply Global File Exclusions checkbox if you would like, or edit to select certain files.

Then, click Run Backup.

The run backup button.
One-click is all you need to run a backup.

Once you see a success message at the top of the screen, your Snapshot is all done being created. Go to Snapshot Backups > Available Backups to see it in the list.

Lastly, check the status of your Snapshot under the Archives column. It should list the status of the backup for the destination you chose.

Once your Snapshot has been synced to your destination, you’re ready to start migrating your site.

Migrating Your Site

Now that you have your Snapshot ready, install a brand new WordPress site (or Multisite install) on your new server.

Install and activate the same themes and plugins on your fresh install that are currently included and activated on the site you want to migrate.

Next, install and activate the theme you would like to use for your migrated site. It needs to be activated before migrating your site, even if it’s included with your Snapshot. Taking this step means your site can be ready immediately after migrating.

Install and activate Snapshot on this new site if you don’t already have it active.

 

Next, go to Snapshots > Import and enter a public URL or file path to your Snapshot.

This means if you sent your backup to Dropbox, Amazon S3 or other destinations, you need to either make the file temporarily public, share it with a link or save it to another location.

If you have your Snapshot on your server, just type in the file path to the backup.

When you have your Snapshot entered into the import field, click the Scan/Import Snapshots button.

A “success” message should be displayed at the bottom of the page. If you entered a file path, more than one message may appear. Now it’s time to complete the site migration by going to Snapshots > All Snapshots.

Snapshot import completed successfully.
A snapshot has been imported successfully.

 

Find your Snapshot listed, then hover over the title and select the restore link. If you’re not sure which is which, try matching the snapshot file name with the one in your destination folder.

Next, you should be redirected to the archive page for all the backups for the snapshot profile you chose.

 

The mouse is hovering over the imported snapshot and a menu appears below the snapshot title.
Click restore to finish migrating your site.

 

I only have one Snapshot in my archive, but you may have more listed. Pick the one you would like to use, then hover over the snapshot title.

Archived snapshots list
Choose to restore the Snapshot of your choice.

Click the restore link that appears. On the next page, you can review the options and what you would like to migrate.

Finishing the Migration and Changing the Domain

Scroll down to the Restore Blog Options section and click the Change button next to the label Site URL. This is where you can change the URL of your backup files so your old site can be used with your new domain.

The "Change" button is highlighted next to the "Site URL" label.
You can migrate your site to a different URL.

 

In the field that dynamically appears, you can enter the site ID or blog path of the fresh site you created to be replaced by your Snapshot. Click the Lookup button and you should see the site you selected now displayed.

In the next section called What Tables to Restore? click the option for Restore selected database tables.

The "Restore selected database tables" and "Select All" buttons are highlighted.
Don’t select the first option to restore all blog tables since some tables are excluded.

Click the Select All link next the label WordPress Global Tables. The other tables should be selected by default, but if they’re not, also click the Select All links.

Select the Include selected files option in the next section and make sure to check all the boxes. If you’re not migrating to your main site, then select the Restore all files option instead.

In the last part of the page, choose the theme you would like to use from the list of ones available in your current installation.

 

The "Turn off all plugins" checkbox is highlighted along with the "Restore Snapshot" button at the bottom of the page.
Make sure the theme you want to use for your migrated site is already installed and activated.

Also, be sure the checkbox for Turn off all plugins is not checked, otherwise your migrated site may not display correctly.

Finally, click the Restore Snapshot button at the bottom of the page.

 

The snapshot migration has completed with a "success" message at the top of the page.
Once your snapshot migration has completed, you should see a success message appear.

On the next page that loads, you should see a list of your tables and files with a loading bar to display the uploading progress. Once your migration is complete, a success message appears at the top of the page and that’s how you know you’re done.

Easy Migration with Snapshot

Your newly migrated site is now ready to go and looks exactly the same on your new server and even with a new domain. You have also migrated your site easily with Snapshot in well under the several hours this process would take if you completed it manually.

There’s also another way you can easily copy any site within your Multisite network in just a few clicks and that’s with our Cloner plugin. To see how you can copy a site, make changes, then push your new site live in a few clicks, check out one of our other posts: Quick and Reliable Bug Testing with Cloner for WordPress Multisite.

Have you used Snapshot to migrate your site? Do you have any feature requests for Snapshot? Let us know in the comments below.

Tags:
Jenni McKinnon

Jenni McKinnon Jenni has spent over 15 years developing websites and almost as long for WordPress as a copywriter, copy editor, web developer, and course instructor. A self-described WordPress nerd, she enjoys watching The Simpsons and names her test sites after references from the show.