Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Migrating an entire network

From: Creating and Managing a Blog Network with WordPress

Video: Migrating an entire network

There may come a time as you're working with the WordPress Multisite Installation that you feel the need to move your entire network from one place to another. This could be if you're working in a development environment locally on your home machine and you want to take that environment live on the web or if you simply need to switch from a testing server to a live server. In this case, I'm going to be utilizing one of my testing domains to move a site to a live domain, and I'm going to do that using the BackupBuddy plug-in. So I'm able to take an entire Multisite installation and move it from one domain to another. Pretty cool.

Migrating an entire network

There may come a time as you're working with the WordPress Multisite Installation that you feel the need to move your entire network from one place to another. This could be if you're working in a development environment locally on your home machine and you want to take that environment live on the web or if you simply need to switch from a testing server to a live server. In this case, I'm going to be utilizing one of my testing domains to move a site to a live domain, and I'm going to do that using the BackupBuddy plug-in. So I'm able to take an entire Multisite installation and move it from one domain to another. Pretty cool.

I'll go down here first to the BackupBuddy section of my Dashboard, and notice I'm logged in as the Network Administrator while I do this. I'm going to go down to Backup & Restore. If you haven't already done so, go ahead and generate a full backup of your site. I've already generated one for myself and downloaded it to my Desktop. Now what you'll need to do is download the Beta version of BackupBuddy's ImportBuddy script. This will then allow you to import your Multisite installation into your other domain. In order to access the ImportBuddy Beta, you must click on this link here.

It's a little misleading because you would think that you'd click down here, the same place you'd download the non-beta version, but in this case, you click right here. Once you click that, it downloads the file automatically for you. Once you have the ImportBuddy and your Full Backup downloaded to your hard drive, it's time to get to work. Let's move over to my code editing window. Once I'm inside my code editor I want to navigate to the domain where I want to stick my new Multisite installation. I have to do two things here. I have to first upload the ImportBuddy script and then also upload the BackupBuddy backup file.

I'll navigate to my desktop and drag the backup file into the destination folder. Then I'll grab the ImportBuddy script and throw it in there as well. Once I've got those pieces in place, I'm ready to keep going. Let's move back to the web. For this next portion I'm going to be using the cPanel, which most hosting companies provide for you. Inside of my cPanel I need to make sure that I create a database for this WordPress Installation to live on. So in the Home section of my cPanel I'll navigate down and in this case I can just use the MySQL database wizard.

I can create a database, in this case I'll call it wpms for Multisite, click Next. It asks me to create a user I'll call it Justin. My password, just do something quick. Once I do that, I'll create my user. It may come up and give you an error saying your passwords don't match. If they do, go back and try it again.

Once you've got your passwords matched, it automatically creates the database and your user. I'll give myself all the privileges, Next Step. Now my database has been created. I'll leave this up so that I have the names for reference in case I need them later. Now I'm ready to start the migration. I'll go back over to my gnawledge code domain. At the end of the domain in the Address Bar I'll append a slash and then I'll type out importbuddy.php. Once I get here, you'll notice it takes me to the BackupBuddy Restoration & Migration tool.

I'm on Step 1 of 6, and right now it's telling me that I need to select the BackupBuddy file that I want to import or migrate. In this case it finds automatically the backup file that's located inside of my root directory, and that's okay. I'll hit Next Step. It's going to go through and extract all of the files. If the files are successfully extracted, it will tell you that here. If there are any problems BackupBuddy will let you know. Once I've clicked Next, it takes me here to Step 3 of 6. In this case I'm going to enter in all of the settings that correspond to my WordPress Multisite.

Stuff like my WordPress Address; that's just the domain name. Your Multisite Domain--this is the base domain that's going to be used to add on all of your subdomains. Your Database Settings--most of these are going to be provided by your hosting company, the first of which is your MySQL Server. The great thing about BackupBuddy is it puts in the recommended value and also tells you what it was previously. If you happen to be moving from one domain to another on the same server, chances are that's the same thing. However, if you want to check with your host to make sure you know the exact MySQL Server address, that would be good as well. But 99% of the time, the local host is what you're going to use here.

Your Database Name--this is the name of the database that you created. If you remember correctly in my Control panel, I created the database earlier. Let's go back down to that. I'm on MySQL Databases and I created seeley_wpms, so I'll call that wpms. Database User, that was Justin, and then the Database Password, and then a Database Prefix.

It's just going to be wp_. I can test my database settings. Everything looks to be successful. If you get any errors here, it's probably because you misspelled something in the list above. Go back and check those settings one more time and try it again. If everything looks successful, hit Next Step. It goes through and imports everything into the database, and it tells me here that the initial database import has been completed. I'll click Next Step. This time it's going through and it's bringing in all of my WordPress files. It's telling me here that I can verify the site functionality and then delete my backup file and ImportBuddy script from my site if I want to.

It's also telling me that I can run a File Cleanup here at the bottom. The first thing I'm going to do is open up my site and make sure it's okay. When I open it up you can see now the Migrate Me Please site is now live on gnawledge.co. I've successfully migrated to an entire Multisite installation from one place to another. Don't believe me? Let's login to the backend. Once I'm logged in to the backend, you'll see here that I get My Sites and there's Migrate Me Please, Site 2, Site 3, and Site 4.

I can visit any of these sites that I want to in the browser and they're all exactly as they were inside that other WordPress Multisite Installation. That's pretty quick and painless. Let's close these up and finish up with the BackupBuddy Restoration tool. I'll clean up and remove the temporary files. Once the BackupBuddy has finished, it tells me the import is complete and I can now visit my site. Let's close these up and I'll go back to the domain. Once I get back into the domain, I can now work with this as if it was still that same WordPress Multisite Installation, because basically it is.

You've just moved it from one place to another. All of your files, all of your themes, all your plug-ins, and hopefully all of your settings have all been transferred over to this new installation. So you took an entire network from one end to the other in just about five or ten minutes. That's going to save you a ton of time and alleviate a lot of headaches in the future. So if you're a developer and you're not using tools like this, you're really doing yourself a disservice. So take some time and practice as a few times, going from a local host to some dummy domains or something like that.

Once you get the process down pat, you will be ready to move any site at any time from local to remote or from a live environment to another live environment. Possibilities are endless.

Show transcript

This video is part of

Image for Creating and Managing a Blog Network with WordPress
Creating and Managing a Blog Network with WordPress

49 video lessons · 10994 viewers

Justin Seeley
Author

 
Expand all | Collapse all
  1. 47s
    1. Welcome
      47s
  2. 16m 30s
    1. Introducing multisite
      2m 40s
    2. Common use cases for multisite
      6m 24s
    3. Understanding multisite server requirements
      1m 40s
    4. Optimizing your hosting environment
      3m 52s
    5. Using subdomains vs. subdirectories
      1m 54s
  3. 22m 34s
    1. Enabling the Network feature
      2m 26s
    2. Installing your network
      7m 13s
    3. Troubleshooting network configurations
      4m 4s
    4. Disabling your network installation
      2m 44s
    5. Changing your install type
      3m 23s
    6. Removing the blog permalink
      2m 44s
  4. 46m 27s
    1. Getting to know the network admin interface
      2m 40s
    2. Configuring the network
      6m 2s
    3. Creating your first site
      5m 25s
    4. Managing your user database
      8m 14s
    5. Installing and enabling themes
      7m 16s
    6. Enabling themes on a per-site basis
      3m 56s
    7. Defining a site-wide default theme
      3m 12s
    8. Installing and activating plug-ins
      6m 16s
    9. Updating your network installation
      3m 26s
  5. 29m 15s
    1. Setting up user permissions
      3m 31s
    2. Defining the registration process
      3m 8s
    3. Controlling access to sites
      2m 43s
    4. Importing users from another blog
      3m 52s
    5. Understanding user roles
      3m 39s
    6. Changing user roles on signup
      2m 58s
    7. Exploring blog privacy settings
      6m 1s
    8. Enabling features for site administrators
      3m 23s
  6. 38m 22s
    1. Displaying posts from network sites on the home page
      7m 45s
    2. Displaying a list of your networked sites
      4m 9s
    3. Broadcasting news across all sites
      8m 22s
    4. Gathering and using comments network-wide
      5m 13s
    5. Creating and using global tags and categories
      4m 33s
    6. Exploring network plug-ins
      8m 20s
  7. 17m 18s
    1. Introducing domain mapping
      1m 58s
    2. Using parked or add-on domains
      3m 24s
    3. Altering DNS records
      2m 15s
    4. Installing the domain mapping plug-in
      3m 18s
    5. Mapping a domain to a specific site
      2m 58s
    6. Hiding the original domain name
      3m 25s
  8. 33m 28s
    1. Understanding the importance of backing up your web site
      2m 4s
    2. Exploring backup plug-ins
      2m 23s
    3. Installing and configuring BackupBuddy
      8m 29s
    4. Migrating a standalone site into your network
      3m 24s
    5. Migrating an entire network
      7m 41s
    6. Scheduling backups with BackupBuddy
      3m 43s
    7. Remotely storing your backups
      5m 44s
  9. 28s
    1. Final thoughts
      28s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Creating and Managing a Blog Network with WordPress.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.