Backing up your WordPress site to Google Drive is an excellent idea for any website owner. Storing backups off of the server helps to protect the integrity of the backups. This insures that server issues or successful hacks will not affect the backups. In this article, we will show you how to back up your WordPress site using the UpdraftPlus plugin and a free Google Drive account.

Installing the UpdraftPlus plugin

  1. First, you will need to be logged into your WordPress admin dashboard.

  2. Now that you are logged in, hover over Plugins, then click Add New.

  3. In the search box, enter UpdraftPlus - WordPress Backup and Restoration and click Search Plugins. After searching, you should be presented with your search results.

  4. On your search results, there should only be one plugin listed. Click on Install Now. WordPress will then automatically take care of the download and installation of the UpdraftPlus plugin. Once complete, be sure to click Activate Plugin to activate it.

Configuring your WordPress backups to Google Drive

Before starting, you will need to be within the UpdraftsPlus settings page. To get there, hover over Settings within your WordPress admin dashboard, then click on UpdraftPlus Backups.

On your UpdraftsPlus settings page, scroll down to the heading labeled Copying Your Backup To Remote Storage. Under this heading, you will see a dropdown labeled Choose your remote storage. Use the dropdown box to select Google Drive.

Setting up your Google API keys

To back your content up to Google Drive, you will need to use the Google API Developers Console to generate OAuth credentials. If you are not familiar with generating OAuth credentials from Google, take a look at our article on generating Google API keys.

  1. Your application will be using the Drive API, so be sure to turn it on within the APIs section in your Google Developers Console. The following are the settings that you will use when generating your new Client ID:

    Application type: Web application

    Authorized JavaScript origins: This will be your domain. For example, http://example.com, https://example.com, or http://www.example.com.

    Authorized redirect URI: This is provided to you within your UpdraftPlus settings page and will look something like http://example.com/wp-admin/options-general.php?action=updraftmethod-googledrive-auth

  2. Now that your credentials have been generated, you will simply need to input them into the UpdraftPlus settings page. Jump back over to the Google Drive section of the UpdraftPlus settings, and copy/paste your client IP and client secret keys into the fields labeled for them. Once these are in place, click the Save Changes button at the bottom of the page.

  3. When your Google API key settings are saved, click the link labeled Authenticate with Google on your UpdraftPlus settings page. Upon doing so, you will be prompted to log into your Google account. After logging in, you will be prompted to accept the permissions that your WordPress site needs to interact with Google Drive. After accepting these permissions, you will be taken back to your WordPress dashboard in the UpdraftPlus settings page.

Backing up your WordPress site to Google Drive

Manually backing up WordPress to Google Drive

As you have followed the previous steps, your WordPress site is all set up to back up to Google Drive. To backup your content, click the button labeled Backup Now at the top of the UpdraftPlus settings page. Once this is clicked, a window will pop up asking if you want to exclude anything. If you want to back up your entire site, leave all checkboxes unchecked and click on Backup Now within the popup window. Once you have initiated the backup, you will see a progress bar next to Backups in Progress. Be sure to stay on this page until it is complete.

Automatically backing up your WordPress site to Google Drive

Within your UpdraftPlus settings page, there is a heading labeled Configure Backup Contents And Schedule. Within this section, you will be able to define the backup interval, the number of backups kept, as well as what files to include within the backups.

To set up automatic backups to Google Drive of your entire WordPress site, adjust the dropdowns labeled File backup intervals and Database backup intervals to your preferred timeframe. The number of backups to be kept can also be defined within these fields as well.

Restoring your WordPress site from Google Drive

Any backups that are created using UpdraftPlus can be easily restored. As you already have Google Drive configured in the UpdraftPlus settings, simply click the Restore button.

Upon clicking the restore button, you may be prompted with several restoration options. Simply click Restore to the right of the backup that you want to restore.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!