Google Drive

Send WordPress Backups to Google Drive with BackupBuddy

BackupBuddy includes Google Drive as a Remote Destination option for your WordPress backup storage. In this post, we cover how to set up and use Google Drive with our BackupBuddy, our WordPress backup plugin .

Easily Send Your WordPress Backups to Google Drive with BackupBuddy

 

1. Visit the BackupBuddy > Remote Destinations page from your WordPress dashboard. Click the “+ Add New” tab and select the Google Drive icon from the list of available options.

google_drive_dest.jpg

 

2. On the next screen, you’ll see a summary of instructions for setting up Google Drive as a new Remote Destination. Click Open Google API Console in a new window next to step 1.

gdrive_dest_client_idsec.png

 

3. The Google Drive API Console will open in a new window. Click "Create Project".

Screen_Shot_2021-05-07_at_11.53.47_AM.png

 

4. Name your new project something like “BackupBuddy” & then click the "Create" button. Wait for the next screen to display.

Screen_Shot_2021-05-07_at_11.55.01_AM.png

 

5. Once the project is created, you will see a notification. After refreshing the page you will see the new project listed:

Screen_Shot_2021-05-07_at_11.56.11_AM.png

 

6. In the upper left corner click the "Navigation menu" (three horizontal lines), expand "HOME" then click "Dashboard"

Screen_Shot_2021-05-07_at_9.13.28_AM.png

 

7. On the Dashboard go to the "API" section and click "Go to API'S overview".

Screen_Shot_2021-05-07_at_9.30.01_AM.png

 

8. On the "APIs & Services" Dashboard, click "+Enable APIs and Services". Use the API Library search bar to locate and select "Google Drive API". (Note: if you've already enabled the "Google Drive API" before for this Google account, you may get presented with a different screen. In that case, just look for the text "Google Drive API" and click on that text and proceed to the step to "Create Credentials".)

Screen_Shot_2021-05-07_at_9.34.38_AM.png

Screen_Shot_2021-05-07_at_9.36.05_AM.png

Screen_Shot_2021-05-07_at_9.37.35_AM.png

 

9. Click "Enable".

Screen_Shot_2021-05-07_at_9.40.20_AM.png

 

10. You will be prompted to create new credentials, select "Create Credentials".

Screen_Shot_2021-05-07_at_9.41.58_AM.png

 

11. On this page you will use the click the dropdown box for "Credential Type" and select "Google Drive API".

Screen_Shot_2021-05-07_at_9.51.46_AM.png

12. Under "What data will you be accessing?", select Application data. After selecting that option a new option will appear, "Are you planning to use this API with Compute Engine, Kubernetes Engine, App Engine, or Cloud Functions??". For that option select "No, I'm not using them". Then click on the button labeled "Next".

Screen_Shot_2021-05-07_at_10.01.24_AM.png

 

13. Under "Service account details" you could name it something like "BackupBuddy Backups" then click "CREATE"

Screen_Shot_2021-05-07_at_10.56.51_AM.png

14. Under "Grant this service account access to project" you'll open the "Role" dropdown menu and chose "Owner". Once this is done you can click "DONE

Screen_Shot_2021-05-07_at_10.58.16_AM.png

 

15. Next you will click "Create Credentials" and click "OAuth Client ID"

Screen_Shot_2021-05-07_at_11.25.05_AM.png

 

16. On the next screen, click on "Configure consent screen".

Screen_Shot_2021-05-07_at_11.27.00_AM.png

 

17. Choose whichever setting best suits your needs then click "CREATE". 

Screen_Shot_2021-05-07_at_11.30.21_AM.png

18. Make sure that under "Support email" that your email address is selected. For "Application name" you can enter something like "BackupBuddy" then click "Save". (All of the other options are optional and not required.) (Note: If it doesn't allow you to click the "Save" button, it's possible that you may need to change the "Application name". As that "Application name" may already be used.)

Screen_Shot_2021-05-07_at_11.33.42_AM.png

 

19. Next you will have the option to set up scopes. (this is optional) When you are done you can save and continue. 

Screen_Shot_2021-05-07_at_11.37.31_AM.png

 

20. After clicking "Save" Head over to "Credentials", And click on "Create credentials". Then find "OAuth client ID" and click that.

Screen_Shot_2021-05-07_at_11.47.28_AM.png

 

 

 

 

21. On the next screen, select "Other" and then when the new box under "Name" appears, enter something like "Backupbuddy Client". If "Other" is not available, select "Desktop app". Then click "Create".

Screen_Shot_2021-05-07_at_11.50.45_AM.png

 

22. A new smaller window should appear with two fields. "Here is your client ID" and "Here is your client secret". Copy the "Client ID" and "Client Secret" keys. for use with BackupBuddy. (Please be careful copying them. In some browsers, the browser may try to add a space before and/or after the key. So please make sure there are no spaces before or after the key. Once copied, click "OK".

Screen_Shot_2021-05-07_at_11.51.20_AM.png

 

23. Navigate back to your BackupBuddy screen. Paste these keys into the Client ID and Client Screen fields and then click the Continue button.

Google_Drive_Client_ID_Secret.png

 

24. Click the Click here & click “Accept” to authorize BackupBuddy access to your Google Drive .

 

25. On the next screen, click the Accept button .

 

26. Copy the entire code out of the field.

 

27. Return to the BackupBuddy screen and paste the code into the Auth Code field BackupBuddy page and click the Continue Button .

 

28. You’ll now see your Google Drive Settings. You can update the Destination name, select the storage folder and select the number of backups to store.

 

29. Click the + Add Destination button.

 

30. That’s it! You’ll now see Google Drive listed in its own tab on the Remote Destinations page.

Using Google Drive with Your Automated WordPress Backup Schedules

Once you get Google Drive added as a Remote Destination, you’ll need to add or edit your backup schedules to include Google Drive as the Remote Destination for the backup.

Visit BackupBuddy > Schedules to edit or add a new schedule. In the Remote backup destination section, add Google Drive .

Google Drive + BackupBuddy Stash as Backup Remote Destinations

While Google Drive is a great option for storage of your WordPress backup files, we still recommend BackupBuddy Stash as your primary storage location.

It’s not a bad idea to use both Google Drive and BackupBuddy Stash so you can take advantage of BackupBuddy Stash features and integrations. As a BackupBuddy customer, you get 1GB of free BackupBuddy Stash storage space. BackupBuddy Stash integrates with iThemes Sync so you can easily manage files stored in your remote destination along with the rest of your WordPress updates.

Have more questions? Submit a request
Powered by Zendesk