BackWPup Pro: Secure WordPress Backup with Google Drive

The Pro version of our BackWPup plugin supports the backup of WordPress databases and files to Google Drive. But how do you set something like that up? And how do you get your hands on the Google API Keys you need? Find out in our step-by-step guide.

The installation process is the same, regardless of whether you want to run the backup just once or regularly. This means you can even backup changed directories to Google Drive (to transfer files that have changed since the last backup).

Tip: This tutorial shows you how to save a WordPress backup in Dropbox using BackWPup Pro or BackWPup.

Set up Google API Keys

In order to be able to automatically save a backup on Google Drive you need so-called API keys. These enable Google to authenticate the BackWPup plugin/your WordPress installation.

  1. Go to Click on Create project:
    Create Google API Project
    Create Google API Project
  2. Then click on the created project and select the menu item Enable and manage APIs:
    Enable and manage APIs
    Enable and manage APIs
  3. Enter “drive” into the search bar, then select the link Drive API:
  4. Activate Drive by clicking on the Enable API button.
    Activate API Drive
    Activate API Drive
  5. A message box will then appear. Click on Go to Credentials:
    To the login details
    To the login details
  6. Then in a new window go to the “OAuth consent screen” tab. Then select your Email address and enter a Product name (e.g. the name of your WordPress project). Then confirm by “Save”:
    Enter project data
    Enter project data
  7. Go to “Credentials” and select OAuth client ID:
    Select OAuth 2.0 Client ID
    Select OAuth client ID
  8. In the new window select Web application as the application type. Under Authorized JavaScript origins enter the URL of your blog or online shop, including http://. If you use SSL, add a second line with the https:// URL:
    Client settings
    Client settings
  9. Now go to the WordPress dashboard and then → BackWPup Pro → Settings → API Key → Google API Keys. There you’ll find the Redirect URI. Enter this into the Authorized redirect URIs field in Google. Confirm by clicking “Create Client ID”.
  10. You will now receive a Client ID and a Client secret:
    Client ID & Client Key
    Client ID & Client secret
  11. Place them in the fields Client ID and Client secret in the BackWPup API settings. Finish by clicking “Save changes”:

Now you can set up the backup yourself:

  1. On your dashboard go to → BackWPup Pro → New Job. Give the backup a Job Name.
  2. Under Job details, determine whether just the database and/or files and any other components in your WordPress installation are to be backed up. Under Backup File Creation, you can define the archive name and backup format etc.
  3. In the Job Destination Folder select “Backup to Google Drive”. At the top of the page a new tab will appear “To: GDrive”:
  4. Here there are more options, such as changing the Folder in Google Drive an File deletion settings. Now click on Reauthenticate. You then need to permit access in Google by clicking Allow:
  5. If the API Keys have been created correctly, you should now see the following status message in the BackWPup Pro settings:

You will find the usual BackWPup options such as timed backup under “planning”. All you have to do now is start the job.

Important information: Please test the connection and ensure that the files are uploading to Google Drive correctly by doing a manual backup before you turn on timed backups.

In addition to Google Drive BackWPup Pro also supports WordPress backup via FTP, email, Dropbox, S3 service providers (including Amazon, Google Storage), SugarSync, Microsoft Azure, Rackspace Cloud and Amazon Glacier.

Find out how to restore a WordPress backup in an emergency in this tutorial.

Post Sharing

Author Avatar

Editor at MarketPress. Passionate blogger, corporate blog expert and book author (e.g. "Blog Boosting"). Co-organizer of WP Camp Berlin.

Also Interesting

New Plugin: Slack Connector - Connect WordPress, WooCommerce and Slack

by Michael Firnkes

Initially we merely wanted to optimize our own Slack-processes. With automated notifications from our MarkettPress shop, the blog and our forums. The resul ...

Read more

Inpsyde is the first VIP partner in Germany

by Michael Firnkes

Automattic has given us the title of VIP Service Partner, the first in Germany, Austria and Switzerland. Worldwide, there are only eleven com ...

Read more

Inpsyde is a WooExperts Gold Partner of WooCommerce

by Michael Firnkes

A few weeks ago, Inpsyde GmbH with MarketPress became a certified WooExperts Gold Partner. This is confirmation from WooThemes of our agency’s know-h ...

Read more

MultilingualPress - Multilingual WordPress for Everyone, Forever Free

by Caspar Hübinger

Our plugin MultilingualPress has been available as a free and a premium version (“PRO”) so far. As of today, both versions are merged into one. Multili ...

Read more