In my last article, I talked about how to change web hosts and the process involved. For simple sites, the process isn’t too hard, but if you are moving a WordPress blogs, the process is a bit more difficult because you have to transfer the database over as well. This can be quite challenging for people who haven’t gone through it before.
If you find yourself going through this process a lot, you might want to invest in an awesome WordPress plugin called Backup Buddy. I’ve been using Backup Buddy for awhile now, and it’s a great tool to have if you move sites around as often as I do. While there are other WordPress plugins that do partial backups (DB only), Backup Buddy is the only plugin I know that does one click full site backups. It’s very flexible in how it works, and very easy to use which is the most important. If backups aren’t easy, you won’t be doing them, right?
Creating A Backup With BackupBuddy
Backup Buddy installs like any other WordPress plugin. Once it’s up and running, you’ll see a BackupBuddy settings menu added in your WordPress Control Panel.
To create a full backup of your site, click on Backups and then click on Full Backup. The process can take from 30 seconds to a couple of minutes depending on how large your site is.
Once the process is complete, you’ll see a link to your backup file which you can now click on to download it locally to your computer.
There’s also a button at the bottom to download a file called importbuddy.php that you’ll want to download too. This is the script you’ll be using to import your backup file to your new host.
Restoring Your Backup
Here’s the process for restoring your blog:
- Upload your backup file and importbuddy.php to the root web directory of your server (usually public_html).
- Create a MySQL DB for your site in your cPanel.
- Navigate to the importbuddy.php file on your webserver. If your main domain is mydomain.com then you would access this file by going to http://mydomain.com/importbuddy.php in your web browser.
This will lead you through a simple wizard that will walk you through the process of restoring your backup. The defaults usually work fine, and you just need to enter in the DB info in Step 2. That’s it! Once you go through the wizard, your site will be live. It really is that simple.
Even if you’re not moving web hosts, BackupBuddy is excellent for plain WordPress backups as well. You can schedule monthly, weekly, daily and even hourly backups and have them sent to your email, FTP server, or even Amazon S3 if you have an account there. There’s nothing worse then having all your posts on your blog get wiped out you put all your hard work and sweat into. So BackupBuddy ensures that you always have a fallback in case something bad happens.
As you can see, BackupBuddy can be a huge timesaver if you want to migrate a site to your new best web host. There are many things that can go wrong when backing up and restoring your site manually. By using the BackupBuddy you minimize these problems and have perfect backups every time.