What's WP
Find Everything Related to WordPress - Best Tutoriasl on WordPress!
How to Backup WordPress Website to Google Drive for Better Security

How to Backup WordPress Website to Google Drive for Better Security

Website backup has become routine for most webmasters. Here, we would like to introduce how to backup WordPress website to a remote storage. The selected method is Google Drive. Google Drive is a popular cloud storage and file backup service developed by Google. That enables a simple and secure manner to store photos, files, email attachments, or anything as you want.

Google Drive allows you to store website backup in a remote location. By default, each user can get 15GB free storage once signing up an account. The UpdraftPlus Backup and Restoration plugin is selected in this guide as the method to help you backup WordPress to Google Drive with a few steps.

Step 1: Install UpdraftPlus Backup and Restoration Plugin on Your Site

UpdraftPlus Backup and Restoration is the top-ranking WordPress plugin designed for remote website backup. That allows users to backup website to any services as needed, like Google Drive, Dropbox, Rackspace, etc. Install and activate this plugin via WP admin to explore more features.

install updraftplus plugin

Once activating the UpdraftPlus Backup and Restoration plugin, an option “UpdraftPlus Backups” is shown under Menu > Settings. Since everything gets ready, it’s time to backup your WordPress website to Google Drive as planned.

Step 2: Configure Backup Contents and Schedule

Go to Menu > Settings > UpdraftPlus Backups and here you come to the UpdraftPlus Backup and Restoration interface. An array of tabs is available for website backup and restore. Go to Settings tab and determine what web content should be backed up.

The first section “Configure Backup Contents and Schedule” is where to set file backup intervals and database backup intervals. Make a decision on which content should be included in the files backup. That can be plugins, themes, uploads and other directories.

configure backup contents and schedule

The Database Options is where to encrypt database backup. Click the given link and ask UpdraftPlus Premium to help you achieve the purpose. Perhaps, you can manually decrypt the encrypted database via the second link.

Step 3: Select Google Drive as the Remote Storage

The “Copying Your Backup To Remote Storage” section is where to integrate your WordPress website with the remote storage. Choose Google Drive from the drop-down list. The link “Follow this link to your Google API Console … in the API Access section” redirects you to your Google API Console. Click it and expand the drop-down menu.

copying your backup to remote storage

Create a project and name it to anything as you need. The project ID will be generated automatically. Click “Create” button to confirm all settings. And then, target “APIs & auth” from the left column and go to APIs menu.

create new project

Here you come to the API Library. Search for Drive API and then enable this API.

enable drive google

Go to APIs & auth > Credentials. Click “Add credentials” button shown in the popup window and then select “QAuth consent screen” tab.

add credentials

Click “Configure consent screen” and access to OAuth consent screen tab. Select an email address and then type product name as required. It is optional to customize the rest settings. Save all changes and select “Web application” once you are redirected to a new page.

oauth consent screen settings

The “Authorized redirect URLs” field is where to paste the URL that is shown on the UpdraftPlus Backups > Settings > Copying Your Backup to Remote Storage. The URL should be like http://yourwebsite.com/wp-admin/options-general.php?action=updraftmethod-googledrive-auth. Note that, the URL that is entered in the “Authorized JavaScript origins” field should be http://yourwebsite.com. Click “Create” button to confirm all settings.

create client id

Your client ID and client secret are shown in a popup window. Copy and paste the client ID & secret to UpdraftPlus Backups settings page as required. You can customize the default Google Drive Folder name if needed. Finally, click “Save Changes” button to have all settings done.

client id and secret

Step 4: Backup Your WordPress Website to Google Drive

Go to “Current Status” tab. There are three actions available for you to backup, restore and clone/migrate a website. Click “Backup Now” to backup your website.

backup website now

A window pops up, which asks you to determine whether to include database and files in the backup. That also requires you to make a decision on whether to send this backup to remote storage. Click “Backup Now” option to perform a one-time backup.

perform one time backup

There is a progress bar displaying the current status of this backup. Since UpdraftPlus displays a message said “the backup apparently succeed”, you have completed the first website backup. The “Last log message” allows you to download the most recently log file so as to have a comprehensive understating of the backup status.

backup in progress

All successful backups are included in the Existing Backups tab. If there is a need to delete or restore a backup, you just need to simply click the “Delete” button or “Restore” button.

Besides UpdraftPlus Backup and Restoration plugin, there are some great WordPress backup plugins worth trying, like My WP Backup, Backup Guard, BackWPup Free – WordPress Backup Plugin. Since UpdraftPlus Backup and Restoration cannot satisfy your needs, you can select a suitable one from those alternatives.


Lucy has been a very experienced SEOer, technical writer, web developer, c# developer since 2002. Now she owns a startup in San Francisco, CA, focusing on running a couple of blogs to share knowledge and experience with global readers and deliver exceptional results to global sponsors by leveraging the power of Internet.