This tutorial shows how to enable the Google Drive API for a specific Google account, and get the access credentials to be used from Iperius to make cloud backups. In fact, to make an online backup to Google Drive you first need to enable some specific options, then you have to create an account into Iperius using the credentials provided by Google (Client ID and Client Secret).

Sign in with your Google account in the reserved area where you can configure Google APIs, from this URL: https://console.developers.google.com/apis/library

1. Create a project

Create a project from “Select a project”:

googledrive4_eng

 

2. Enable API

Once the project is created , go in “Library” and enable the “Google drive Api”

 

 

3. OAuth consent screen

In the left menu (“API and Services”), click on “OAuth consent screen“.

Select “External” and enter your email address and the name of the application. This is the name that will be shown in the “Consent screen” when making authentication from Iperius.

googledrive6_3eng

 

In the next step click on “Add or Remove scopes”, search for “google drive” and select only the following one:

ambitiEN

ambiti_2EN

Scrollo down and click on “Update”.

Leave all the other options to their default values and go ahead clicking on  “SAVE AND CONTINUE“.

googledrive6_4.eng

googledrive6_5.eng

googledrive6_6.eng

 

As last step go in the left menu on “OAuth consent screen” and click on “Publish App”, then click on on “Confirm” in the screen.

publish_app

publish_app2

 

If all steps are made correctly you will have a scenario like this one:

riepilogoEN

 

4. Create credentials

 

In the left menu (“API and Services”), click on “Credentials” and choose OAuth Client ID from the “Create credentials” menu:

googledrive5_eng

Now select “Web Application” as Application Type,  and enter as Redirect URI “https://www.iperiusbackup.com“, as described in the following images.

Then click on “Create “.

WebApplication

URIredirect

Immediately, CLIENT ID and CLIENT SECRET will be shown on the right. Copy these credentials and paste them into Iperius, in the window where you’re creating the cloud account for Google Drive.

 

This tutorial shows how to create OAuth 2.0 credentials in Google Drive API, that are needed by any program that wants to access to Google Drive and upload files to it.

Click here to see the tutorial that shows how to make a backup to Google Drive with Iperius

(Italian, French, German, Spanish, Portuguese (Brazil))



How to enable Google Drive API and get client credentials
Iperius Backup Team
*****************************************

PLEASE NOTE: if you need technical support or have any sales or technical question, don't use comments. Instead open a TICKET here: https://www.iperiusbackup.com/contact.aspx

*****************************************

Comments

    1. Iperius Backup Team Article Author

      Hi, this feature will be available very soon. Currently backup to a subfolder is supported only for Dropbox. For Amazon S3 and Azure Storage you can put files into separated Buckets and Containers.

  1. Philippe Marchand

    Hello i have followed the above steps but after hitting the ‘safe’ button i get an error report saying the following;
    Code: accesNotConfigured
    Description: Access Not configured. The API (Drive API) is not enabled for your project. Please use the Google Developers Console to update your configuration.
    Strange because i got the ID en the secret password and entered it.
    Can you give me some advise?
    Regards
    Philippe Marchand

  2. Bits

    Hello! I have successfully created google drive credential but while validating these from website , getting error server sends response which we cant understand.

    Help !!!!

  3. David Bernstein

    I set up Google drive API as instructed and get the following error after the “Allow” window in Iperius.
    Error connecting to Google Drive: Google drive server reports following error.
    Code accessNot Configured
    Description: Project xxxxx is not found and cannot be used for API calls.

    How do I solve this?

  4. Alexander

    Good day,
    I’ve configured Google Drive as it was in Tutorials and the system says that it’s ok. But when I start running backup job I always get:
    Starting back up on cloud – GDrive

    !Error: After the update to the latest version, you must re-configure Cloud backups (16.08.2018 13:44:22)

    End of backup on cloud

    Starting backup on cloud – GDrive

    !Error: Generic error during backup: Error connecting to GDrive: (16.08.2018 13:44:33)

    Please, help me.

  5. Oleg

    Hi!
    I am using Google Drive API. The initial setup was successful, but then the error “Server reports: Invalid Grant Description: Token has been expired or revoked.” How can I resolve this error?

  6. Sergiy

    Hello,

    Why don’t you use your own (already created) apps for cloud services in Iperius Backup? In this case a user will just need to login to his cloud account and authorize your app. That’s all. All these API settings should be made by you, not users.

  7. Nikos Freggidis

    Hello, we had two Gdrive APIs with Desktop app OAuth credentials till few days ago and backup was working properly. Till last week the connection between Iperius and gdrive was lost. I tried to recreate api project and credentials again and again but it is impossible to setup a gdrive cloud destination.
    If i give credentials from the desktop client (as it was set till now) google setup i get the error 400: redirect_uri_mismatch.

    If i use credentials from web client i get:

    Error 400: redirect_uri_mismatch

    You can’t sign in to this app because it doesn’t comply with Google’s OAuth 2.0 policy.

    If you are the app developer, enter the redirect URI in the Google Cloud Console.
    Learn more
    The content in this section is provided by the developer of the application. This content has not been reviewed or verified by Google.
    If you are the app developer, please ensure that these request details comply with Google’s policies.

    redirect_uri: https://www.iperiusbackup.co.uk

    What is happening? One Drive cloud destination also stoped connecting but i had not try anything for this yet, i struggle with gdrive for 3 days now

Leave a Reply to Oleg Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*****************************************

PLEASE NOTE: if you need technical support or have any sales or technical question, don't use comments. Instead open a TICKET here: https://www.iperiusbackup.com/contact.aspx

*****************************************