use updraftPlus to save backups in google drive

How to use UpdraftPlus to save backups in GoogleDrive in WordPress?

Taking regular backups of your site is extremely important. It can save you website if it ever gets hacked and then these backups can make your site live again in just few minutes.

UpdraftPlus plugin is one of the best and simple to use WordPress plugin for taking full backups of your blogs or websites and then restoring them easily. UpdraftPlus also allow you to easily Schedule or automate your Backups.

UpdraftPlus provides options to save your backup in various locations like:

  • Dropbox.
  • Google Drive.
  • Amazon S3.
  • FTP.
  • Rackspace.

There is Premium version of UpdraftPlus which provides additional functionality like Migrating Site, Multisite Support, Database Text Replace and many more.

Here we will be take a look at the process of configuring UpdraftPlus to upload backups to Google Drive.

Google Drive provides free storage of about 15 GB which is more than enough to store backups of small to medium websites.

The Process of configuring UpdraftPlus to store Backups in GoogleDrive is little lengthy by its totally worth the effort.

Here can follow these steps to setup the backup in UpdraftPlus:

 

Setting up UpdraftPlus to take backups.

 

updraft-setting-google-drive

Go to  Plugins –> UpdraftPlus – Backup/Restore –> Settings  and you will see the UpdraftPlus Backup/Restore page. click  settings  option.

You can select Files Backup Schedule , Database Backup Schedule to schedule regular backup.

After that select  Google Drive  as shown in the above picture.

You need to create a new project for UpdraftPlus. SO log in to your Google Account and you can follow this link to go to your Google API console.

 

Create a new project.

updraft-google-api-console-1

Create a new Google project.

 

 

updraft-google-api-project-2

Enter Project name and Project ID. if you want to get emails from Google, Select Yes otherwise NO.

You need to Agree to their Terms of Service. Press Create button to create a new project for your UpdraftPlus backups.

 

 

updraft-google-api-project-3

Click  Drive API  link to proceed further.

 

 

updraft-google-api-project-4

Click Enable to Enable the API.

 

 

updraft-google-api-project-6-1

Go to  Drive UI Integration tab.

Enter the Application Name and Short Description and other information. and scroll down to see further options.

 

Add Icons and website url.

updraft-google-api-project-6-2

If you want to set an Icon for your Application then you can upload an image here. After that scroll down to see next set of options.

 

 

updraft-google-api-project-app-icon

Same way If you want to set an  Icon  for your  Document  then you can upload an image here.

 

 

updraft-google-api-project-app-icon-4

Fill Open URL field with your website address and if you need additional options then you should configure them too. After this click  Save Changes.

 

 

updraft-google-api-project-app-icon-5

Now go to OAuth consent screen and enter your Email address and Product name.

Click Save to save the changes.

 

 

updraft-google-api-project-app-icon-6

Now select Credentials and click on OAuth client ID.

 

 

updraft-google-api-project-app-icon-9

In Client ID, select Web application as Application  type.

Enter Name (updraftPLUS)  for Client ID.
Enter your Website url in Authorised Javascript origins field.

To fill the Authorized redirect URIs field we need to copy the authorised redirect URI from UpdaftPlus plugin page.

So go back to the UpdraftPlus settings page.

 

 

updraft-google-api-project-app-icon-7

copy the authorised redirect URI text as shown in the above image. Go to Google API Console page.

 

 

updraft-google-api-project-app-icon-8

and paste it here as shown in the picture and finally click Create. It will generate the Client ID and Client secret key.

 

 

updraft-google-api-project-app-icon-10

You can find these Client ID and Client secret key by clicking the credentials as shown in above picture.

 

 

updraft-google-api-project-app-icon-11

You need to copy the Client ID and Client secret key values to enter them on the next step.

 

 

updraftplus-google-api-entry

Enter the Google Drive Client ID and Google Drive Client Secret Key that you copied in previous step in their appropriate fields. After that Click Save.

 

 

updraft-google-api-project-app-icon-12

Now you need to Click on the UpdraftPlus notice to authenticate your Google Drive Account.

 

 

updraft-google-api-project-app-icon-13

You should see the Success message after successful authentication of your Google Drive account.

You can now start taking your First Backup now By Clicking  Backup Now button.

 

Taking Backups

updraft-google-api-project-app-icon-14

Include all the options that you think are necessary and click   Back Now   to proceed further.

 

 

updraft-google-api-project-app-icon-15

Backup is in Progress.

 

 

use updraftplus to save backups in google drive.
How to use updraftplus to save backups in google drive.

Go to your Google Drive account  to verify and you should see an UpdraftPlus folder.  Here all our backups will be stored from now on.

 

 

use updraftplus to save backups in google drive.
How to use updraftplus to save backups in google drive.

Restoring backups, you can choose from Database, Plugins and other options to restore them if ever needed.

 

 

use updraftplus to save backups in google drive.
how to use updraftplus to save backups in google drive.

Click Restore and you are good to go.