Build Your Own Business Website header image

Backup, Restore, Clone & Migrate with BackupBuddy

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects - , , ,

Applies to -

It is essential that website owners know how to backup and restore their sites. BackupBuddy makes this process very easy. However, it’s not just for backups it can also be used to clone your site so that you can create a development copy to work on. Webdesign professionals can use it to develop sites for clients on a development domain and then easily move them to the live domains when they are completed.

In this seminar we look at how to setup and configure BackupBuddy, how to configure automatic backups and how to restore your site when disaster strikes.  In addition we look at two examples of cloning and migrating a site.  The first example is within the same hosting account.  The second example involves moving a development site on one host to it’s actual domain on another.

An outline of the seminars is below.  There are resources designed to help with this in the sidebar.

WordPress Backup Basics

  • Where WordPress Stores Information
    • Database
    • Files
  • Backup Plugin Criteria
    • Automatic
    • Selective
    • Sends backups to remote storage
    • Easy to recover
  • Know where your site files are located
    • Understanding the WordPress file structure
    • Typical location if your site is the main domain for your hosting account
    • Typical location for add-on domains
    • Typical location for subdomains

Install and Configure Backup Buddy

  • Download and Install
  • Activate
  • Settings

Configure a Remote Destination to Store Backups

  • Options
    • Dropbox
    • Amazon S3
    • Stash
  • Stash
  • Dropbox
  • Amazon S3
  • Send a copy of importbuddy.php to the remote destinations

Configure Automatic Backups

  • Rick’s recommendations
    • Typical website – not a highly active blog, no ecommerce
    • Ecommerce site, membership site, high blog activity
    • Very active Ecommerce site, membership site
  • Full backups
  • Database backups

Perform a Manual Backup

  • Step one – perform the full backup
  • Step two – download the backup
  • Step three -download a copy of importbuddy.php
  • Step four- store these in a safe place where you can always find them
    • Same place every time
    • Folder names that are descriptive

Prepare to Restore a Broken Site

  • Find your backup files
    • backup
    • importbuddy.php
    • finding the on your site
    • If you are using a remote destination
  • Identify your database
    • wp-config
  • Preserve all the existing files
    • zip up the files in cPanel
    • create a directory and move all of the files there
  • Preserve your existing data
  • Dump your existing data
  • Move the backup files to the installation location
    • Installation location is where the old WordPress files were located
    • backup
    • importbuddy.php

Restore the site using importbuddy.php

  • Run importbuddy.php
  • Step 1 – Setup
    • Enter your importbuddy password
    • Select the correct backup
    • Note the warnings
  • Step 2 – Unzip
  • Step 3 – connect to database
    • check settings
    • test settings
  • Step 4 – Initial Database Migration
  • Step 5 – Final Database Migration
  • Step 5.5 – Test the site functionality
  • Step 6 – Clean up

How to Migrate a Clone of a Site to a Development Server – The easy way

  • Create a subdomain
  • Create a backup of the site you wish to migrate
  • Open up Migrate & Restore and select migrate this backup
  • Select a Destination
    • Add new
    • Local Directory
    • Destination name
    • Local file path
    • Migration URL
    • test
    • Add destination
    • Select existing destination
  • Begin Migration
    • make sure that the destination url is correct
  • Step 1 – note warning
  • Step 2 – unzip files
  • Step 3 – create a new database
    • Host cPanel
    • MySQL database wizard
    • test database settings
  • Step 4 – Import Database
  • Step 5 – Migrate Database
  • Step 5.5 – Test
  • Step 6 – Cleanup
  • Test for old urls

How to Migrate a from One Host to Another

  • Create a backup of the site you wish to migrate
  • Upload backup files to the destination
  • Create a database
  • Run Importbuddy.php
  • Step 1 – choose the files
  • Step 2 – unzip files
  • Step 3 – Connect the database
    • Settings
    • test database settings
  • Step 4 – Import Database
  • Step 5 – Migrate Database
  • Step 5.5 – Test
  • Step 6 – Cleanup

Question and Answer

0 Comments… add one
0 comments… add one

Leave a Comment