Create and Deploy a Staging Site with Total Upkeep

Create and deploy a staging site with Total  Upkeep - header image

Creating a staging site is a common practice for many website developers or designers who are updating and deploying updates to a site. It allows you to work on a different version of an existing website without interfering in its operation.

BoldGrid users with cloud-based accounts can easily create staging sites. using the Total Upkeep backup plugin that comes free with a BoldGrid installation.  

BoldGrid users who are not using cloud-based accounts may be familiar with the staging plugin for stand-alone WordPress installations, but this plugin has been phased out of the BoldGrid suite for the last few years. 

This guide will give you the steps to use the free version of the Total Upkeep plugin for creating and deploying staging sites. The premium version of Total Upkeep will be necessary for the restoration of individual files.

Installation of the Total Upkeep Plugin

Total Upkeep Dashboard

If BoldGrid is installed, then you may not need to install the Total Upkeep plugin and you can skip this step. You can check for the plugin in the Plugins section of your WordPress site. Note: You do not need to have BoldGrid installed in order to use the Total Upkeep plugin.

  1. Login to the WordPress Administrator dashboard.
  2. Click on Plugins in the main menu.  If the plugin is not already installed, click on Add New.
  3. In the search field labeled “Search plugins” type Total Upkeep.


  4. When the plugin appears in the search, click on the Install button.  The installation will begin and then the button will change to Activate when the installation completes.
  5. Click on Activate to enable the plugin for your installation.

This completes the installation of the Total Upkeep plugin for your WordPress installation. 

Creating the Staging Site

A staging site is a website that allows you to work on your existing site without disrupting the existing site’s ongoing operation. 

The Total Upkeep plugin allows you to make a backup of the existing site, then restore it using any name or restore it to a different location. You can also create a staging site by creating a brand new website in a new location or with a different domain name.

Why Do I Need a Staging Site?

Using a staging site is a good idea because it protects your website. Instead of making changes and finding out they don’t work after you’ve installed them, a staging site lets you try those changes out without putting your actual website at risk.

If you make adjustments and find out it crashes your staging site, you can work out the bugs and ensure any changes you make work before applying them to your real website.

Create a Staging Site with a Backup

If you have a website named www.restaurantdemo.com, you can make a backup of the existing site, then restore it to a different location. You would need to have the Total Upkeep plugin loaded on a blank WordPress site to restore the backup.

You can do this by creating a duplicate of your WordPress site.

  1. Backup the existing site using the Total Upkeep plugin. To do this, click on Total Upkeep > Dashboard in your WordPress Dashboard. Click Backup Site Now.


  2. To create the staging site from the backup, you will first need to install a blank WordPress site.
  3. Next, install the Total Upkeep plugin.
  4. Copy the backup file from step 1 so you can access it from the Total Upkeep plugin where your staging site resides.
  5. Restore the site using the backup file. 

    Important! The location where you restore the site should either be a different server or just a different folder on the same server.  You should also use a different name for the restored site. For example, you may want to name your staging site www.restaurantdemo-staging.com.  

Remember that if you want to be able to access the site from the internet, then the URL you’re using must be a registered domain name, or you would need to define it in the host’s file.

An easy way to avoid the need to edit the host’s file is to simply restore the backup WordPress site into a subfolder.  For example, www.restaurantdemo.com can be restored to a subfolder and accessed as www.restaurantdemo.com/staging.

When the site has been restored, it will be a fully functioning WordPress site that you can launch and customize.

Total Upkeep does allow you to preserve and restore individual files, so you can retain existing data or uploaded files with the plugin.  We will discuss this in more detail later in this guide.

Preserving Your Website Data 

Ideally, when you’re working with your staging site, then your production site (the live site) will not change. This will allow you to work with a copy of that site’s database and then restore it while preserving the user data or files that your viewers may have previously added to your site. 

However, this rarely happens and your live site will typically have user interactions during the time that you’re modifying the next version of your site.

For example, you may have users making comments or posts on your WordPress site.  If a change occurs after your site backup, then that data would be lost if you were to restore the new version of your site from your staging site backup.

The customized backup option allows you to make backups of individual tables in the database. The plugin also allows you to search for recently changed files on your site.

Recently Updated Files option in  Total Upkeep

This plugin feature allows you to work on your staging site, then transfer database or file changes to your site when you’re ready to deploy. The option to restore individual files will require the premium version of the Total Upkeep plugin.

Deploying Your InMotion Hosting Staging Site with Total Upkeep

When you’re finished with the development of your staging site, then your last step is to deploy it. The staging site will then replace your existing site and become your live site.

Total Upkeep allows you to do this by using its restore function.  However, before you deploy, you should do at least four things:

  1. Notify your viewers that your site will be unavailable when you’re deploying your staging site. You should provide a date and the estimated time that your site will be down.  Advanced notification to your customers shows that you care.
  2. Suspend all activity to your existing website. Use a maintenance mode plugin to make your WordPress site is temporarily unavailable. If you have multiple administrators or editors then make sure they know when you’re deploying your staging site so that they’re not in the WordPress site during that time.
  3. Make a current backup of your WordPress site using the Total Upkeep plugin.  This will help you recover should it be necessary.
  4. Make a note of any plugins or themes that have updated during the development of your staging site. Plugins or themes often get updated, and it may simply be easier to update plugins after you have deployed your staging site.

When you deploy your site with Total Upkeep you are using the restore function of the plugin to overwrite the existing WordPress site. So, it is very important that you have a current backup of your site and that you are aware that you will be replacing the existing live site.

Steps to Deploy Your Staging Site

  1. Make a current backup of your staging site using Total Upkeep. From your WordPress Dashboard, navigate to Total Upkeep>Dashboard, then click Backup Site Now.



    If you have a maintenance mode plugin as we mentioned above, make sure to activate it before you make a backup of your site. This will allow your site to come up in maintenance mode and prevent access until you’re absolutely ready.
  2. Make a backup of your live site if you have not already done so.  Make sure that the backup file is in a safe location where it will not be overwritten.
  3. Transfer the staging site backup to a a folder where you can access it from the Total Upkeep plugin on your live site.
  4. Restore the staging site backup, overwriting the live site. Make sure you are restoring the correct site by reviewing the URL.
  5. Check your live site to make sure that your changes have properly been transferred.
  6. Disable any maintenance mode plugin by navigating to the plugin and clicking Deactivate.



    Now you can announce your newly restored and renovated site!

Deploying the staging site is the same as a site migration with the Total Upkeep plugin

Your last step should be to make sure that your newly restored site is working properly.  Make sure to double-check all functionality.  You should also check to make sure that any plugin or theme updates that occurred before your current deployment are applied to the site.

Finally, if you have any data or file updates that occurred during your staging site development, you can use Total Upkeep to restore those individual tables or file changes to the site without completely overriding your newly deployed site.


Congratulations! You now know how to create and deploy a staging site for WordPress development!  To learn more about using WordPress, check out our WordPress Education Channel.  We also have a section dedicated to many useful WordPress plugins.

Free WordPress Website Transfers

If you’re having trouble with your WordPress host, then check out InMotion’s WordPress Hosting Solutions. We provide secure, optimized servers that are priced to meet your budget needs!

check markFree WordPress Website Transfers    check markFree SSLs    check markUnlimited Bandwidth

View WordPress Hosting Plans

AC
Arnel Custodio Content Writer I

As a writer for InMotion Hosting, Arnel has always aimed to share helpful information and provide knowledge that will help solve problems and aid in achieving goals. He's also been active with WordPress local community groups and events since 2004.

More Articles by Arnel

Comments

It looks like this article doesn't have any comments yet - you can be the first. If you have any comments or questions, start the conversation!

Was this article helpful? Let us know!