Build Your Own Business Website header image

Backup, Restore, Clone and Migrate with BackupBuddy – Part 8 – How to Migrate a Clone of a Site to a Development Server – The Easy Way

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

Whoops, you've found some premium content!

Watch the opening clip of this video to preview it,
the full video is available to paid members.

In this part of our series, Backup, Restore, Clone and Migrate with BackupBuddy, I’m going to show how you migrate a clone. Well, it’s unbelievably easy to create a development server, make a copy of your website of it using BackupBuddy and then work like that. And that’s what we’re going to do next.

Create a Subdomain

This is the site we’re going to copy, The very first thing to do is to create a subdomain. So we’ll come over here to our control panel, come down to subdomains, click enter. And I’m going to create a new subdomain called demo backup and so all I’ll have to do is type it in there. It’s going to be a subdomain of I could actually choose it as a subdomain of something else but I’m not going to do that. It’s going to be subdomain of

I don’t have to enter a document root here because it automatically will make a folder for demo backup when you create the subdomain. So we just hit create and Bluehost is automatically going to create the subdomain, add it to the server, create a folder, add the basic files to that folder.

And if you want to see what that looks like, you can come on over to file manager. And if we scroll down here a little bit, here is demo backup folder that Bluehost created when we created the subdomain. If we open it up, you can see the files they add, cgi bin and these files here. These are the default files that Bluehost automatically adds to every domain folder that you create. And this is where we’re going to install our clone or our copy.

Get the Backup To Migrate

We’re going now to the site that we want to migrate and come back over here to the dashboard and go to BackupBuddy. Well actually, let’s just make sure we’ve got a backup to migrate. We don’t. We have to have a backup to migrate. Okay, we’ve got all of our settings are still the same but it didn’t migrate backups when we did that.

So we come back over to backup. We’re going to perform a complete manual backup and it should stop about here. There we go. Our archive size is 25 MB.

Now we’ve got our backup that we’re going to restore. This is essentially our clone now that we’re going to restore and we come over here to migrate. The one we want to migrate is the 25 MB one so we hover over this and we say migrate this backup.

Add Destination to Send the Clone

We’re going to add a destination and we’re going to choose local directory because we’re migrating this to the same server. We’re migrating it to the subdomain that we created. So we’ll just say this destination is going to be our test destination and the local file path is byobtuto public html and then remember the name of this was demo backup with a closing slash. And then the migration URL is going to be

So here’s the URL, Here’s the local path which is home2byobtuto public html demobackup. And now we just test the settings. The test was successful. The test would have failed if this folder didn’t exist or if this subdomain didn’t exist. But because they both exist, it succeeded so we just add destination.

Migrate the Backup

And now what we do is select this destination because this is the place we’re going to go to. So we’re, we’re going to go to our backups. We’ve got this backup here. We go to migrate and restore. We’re going to migrate this backup.

We’re going to migrate to this local directory. It wants to make sure or to confirm that the destination site URL so it’s and you click begin migration. Don’t panic. It takes a minute. Just let it do its thing. I’m going to leave all this part in the video.

While we’re sitting here waiting for this to do something or nothing, let’s just take a look at our file manager. Come back down to demo, backup and see whether or not our files got moved over there. Okay, that file did get moved and importbuddy.php did get moved so so far we’re okay. I’m just going to refresh that page.

We’ll begin the migration again. Status, success sending backup file. So now we’re back to those familiar steps 1 through 6 so acknowledge the warning, hit next step. So now it’s unzipping the backup file, hit next step. Okay, the URL settings are and then we’ve got local host.

Create a New Database

You don’t want to use these settings because these settings are for the original site, right? So we’re not going to use those settings again. We have to create a new database.

So while we’re here, we’re going to come back over to the control panel and we’re going to use the database wizard. So we come down here to databases and we just select mySQL database wizard. And we’re going to give it a name. It should be a meaningful name.

The second thing to do is to create the user. You don’t need anything special to bring you to this. I generally make the username and the database name identical. Then do a password and I use their password generator to do this. So I copy the password, say you’ve copied it, use that password and then create the user. And then the step 3 of this is to give the user all privileges. Okay, next step.

Now we’ve created a database and a database wizard. And the next thing, just come back over to BackupBuddy. And remember, it was red and red and we paste that database name. Test the database settings and say next step. Database is imported so we say the next step.

Check the Site

Database is migrated so now we just want to go check out the working of the site. The site appears to be working fine.

I want to point out something to you about this. We’re going to do it from this finished products page. This is a link to someplace else inside the site. And if we were on the original site and we went to that link, click on this link, it’s going to take us to finished projects West Seattle view home.

BackupBuddy Now Updates URLs to Current Site

The beautiful thing about BackupBuddy these days is that this will do exactly the same thing. If we click on that link, it will take us to finished projects West Seattle view home. What BackupBuddy does is goes in and changes the file names, changes all of the URLs. It finds all of the URLs that referred back to the original site and changes them so that they refer to the current site.

Last year when I taught this, I told you you had to use a plugin to go in and search and find all those things. And I did have members who were using my plugins, for example, the Full Width Backgrounds Plugin and they would come in here and add a background image. And they would have to come in and manually change these background image addresses to the new address.

But you don’t have to do that anymore in BackupBuddy. BackupBuddy now automatically changes all of those addresses for you so your links don’t link to the old site and your images aren’t being served from the old site. Everything has been automatically changed for you to the new site.

And Rich asks, “Is there anything that does not change?” I tried to find URLs that did not change and I used the plugin to search for the old URL and I couldn’t find it anywhere. So I think that the every instance of the old URL is changed to the new URL.

We got that done so we can go ahead and say cleanup and remove temporary files. Maybe, it didn’t say that. Oh yeah, there we go. All those temporary files are cleaned up and we are completed with that migration.

0 Comments… add one
0 comments… add one

Leave a Comment