Menu
iThemes
WordPress Backup, Security & Maintenance
  • Products
    • iThemes Security Pro
    • BackupBuddy
    • Kadence WP
    • Restrict Content Pro
    • iThemes Sync
    • Why buy from iThemes?
  • Bundles
    • Essentials Bundle
    • Plugin Suite
    • WordPress Web Designer’s Toolkit
    • Customer Spotlights
  • Resources
    • Blog
    • WordPress 101 Tutorials
    • WordPress Ebooks
    • Weekly WordPress Vulnerability Report
    • The Ultimate Guide to Starting a Web Design Business
  • Training
    • Upcoming Webinars
    • Free Webinar Library
    • Premium Courses
    • Become a Member
    • Member Login
  • Support
    • Documentation
    • Get Help
    • Product Updates
    • Upgrade Policy
    • Contact
    • Our Mission: Make People’s Lives Awesome
  • Log In
WordPress News and Updates from iThemes
Categories
  • Product Updates
  • WordPress Backup
  • WordPress Block Editor
  • WordPress Ecommerce
  • WordPress for Freelancers
  • WordPress Security
  • WordPress Tutorials
  • WPprosper

How to Install a WordPress Staging Site on a USB Drive with BackupBuddy

Written by "Professor" Benjamin on May 12, 2015

Last Updated on October 19, 2016

usb-rightThe modern day freelancer tends to be more mobile in their work life. Wherever a computer resides or a laptop enables you to go… there a work environment can exist. With the latest 6.0 release of iThemes’ BackupBuddy all freelancers can rejoice with the exciting new Deployment feature.

In this tutorial, we will be showing how any freelancer can install a mobile WordPress staging site on a USB drive to further expand the mobile office of a freelancer.

Getting Started: Installing XAMPP

In order to accomplish this tutorial we are going to install XAMPP lite to a USB drive which will then enable us to install WordPress. XAMPP is a custom built software package that includes a web server (Apache), a database (MySQL), and PHP with phpMyAdmin.

To get started you need to have a USB drive that has enough space to store a WordPress site. If you already use BackupBuddy you can look at the size of your latest backups to see how big of a USB drive you will need. (The geek answer is that there is no such thing as a “big enough” USB drive.)

Let’s start by downloading XAMPP lite to our computer. (Note: you will need to be using a Windows based computer. There are Mac options that are in beta, but this tutorial will focus on setting things up using Windows.)

To download XAMPP you will need to visit the XAMPP download page and click More downloads.

XAMPP-installation

You will need to find the portable-win32 version of the latest XAMPP release as shown in the screenshot below.

XAMPP-installation2

Once you have downloaded the xampp-portable-win32-xxxx file you can double click on the executable file to run the installation. During the installation, the program will ask you to select the location of where you want to install XAMPP. Make sure you select your USB drive.

Once you have installed XAMPP on your USB Drive, you simply need to run the xampp-control.exe from your USB drive to launch the XAMPP Control Center.

XAMPP-installation3

All you have to do is click on the buttons to start each of the applications (Apache & MySQL) and then visit http://localhost/ on your browser. (Note: You may have to deal with a Windows Firewall prompt when you “start” Apache & MySQL.)

Installing WordPress

We now have a functioning server environment on a USB Drive now. The next step is to install WordPress by following these quick steps:

  1. Visit in your browser http://localhost/phpmyadmin/ and create a new database that your WordPress site will use.  Remember the database name and the username/password (if your XAMPP installation has a password).
  2. Place your BackupBuddy backup file of the site you want to build a staging environment to sync into a folder located at USBDrive://xampp/htdocs/stagingsite/ or make your own folder.  (All you have to do is download to your computer the latest BackupBuddy backup zip file from your live site.)
  3. Place a copy of importbuddy.php in that same folder.
  4. Visit in your browser http://localhost/stagingsite/importbuddy.php and follow the instructions to migrate your live site to your new staging area.

Connecting the Live Site with the Staging Site

Once you have the staging site running on your USB Drive, you can now follow the instructions on how to connect your LIVE version of your site with your STAGING version of your site.

Deployment-BackupBuddy

You now have a fully functional mobile development environment on your USB Drive. You can simply plug your USB Drive into any Windows computer and instantly push & pull versions of your LIVE site and your STAGING site. Enjoy the freedom and security that BackupBuddy, our WordPress staging plugin, provides to freelancers around the world.

"Professor" Benjamin
"Professor" Benjamin

http://www.wpstudio.com

Share via:

  • Facebook
  • Twitter
  • LinkedIn
  • More
Other related posts
website design process
Web Design Inspiration for 2022: Top 10 Trends to Watch
Kadence Conversions
Kadence Conversions: Build Pop-ups, Slide-ins & Banners in WordPress
Hackers broke my business
GoDaddy Hacked: 5 Ways to Secure Your WordPress Site
WordPress Vulnerability Report
WordPress Vulnerability Report: November 2021, Part 2

Respond

Click here to cancel reply.

Get updates on new themes & plugins plus special discounts

About iThemes

  • The Team
  • Contact Us
  • Website Accessibility Statement
  • Sitemap

Resources

  • Blog
  • Documentation
  • WordPress Tutorials
  • Free WordPress Ebooks
  • Free Webinar Library
  • Free Upcoming Webinars
  • iThemes Training
  • Affiliates

Customers

  • Member Panel Login
  • Support
  • FAQs
  • Upgrade Policy
  • Licensing
  • Terms and Conditions
  • Refund Policy

Top Products

  • BackupBuddy
  • iThemes Security Pro
  • iThemes Sync
  • Restrict Content Pro
  • WPComplete
  • WordPress Hosting
  • WordPress Plugins
  • Content Upgrades
  • WordPress Landing Page Plugin
  • BackupBuddy Stash

iThemes Media LLC Copyright © 2022 All rights reserved | Privacy Policy

© 2022 All Rights Reserved.

[class^="wpforms-"]
[class^="wpforms-"]
Share via
Facebook
Twitter
LinkedIn
Mix
Email
Print
Copy Link
Powered by Social Snap
Copy link
CopyCopied
Powered by Social Snap