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.
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.
3. The Google Drive API Console will open in a new window. Click "Create Project".
4. Name your new project something like “BackupBuddy” & then click the "Create" button. Wait for the next screen to display.
5. Once the project is created, you will see a notification. After refreshing the page you will see the new project listed:
6. In the upper left corner click the "Navigation menu" (three horizontal lines), expand "HOME" then click "Dashboard"
7. On the Dashboard go to the "API" section and click "Go to API'S overview".
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".)
9. Click "Enable".
10. You will be prompted to create new credentials, select "Create Credentials".
11. On this page you will use the click the dropdown box for "Credential Type" and select "Google Drive API".
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".
13. Under "Service account details" you could name it something like "BackupBuddy Backups" then click "CREATE"
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"
15. Next you will click "Create Credentials" and click "OAuth Client ID"
16. On the next screen, click on "Configure consent screen".
17. Choose whichever setting best suits your needs then click "CREATE".
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.)
19. Next you will have the option to set up scopes. (this is optional) When you are done you can save and continue.
20. After clicking "Save" Head over to "Credentials", And click on "Create credentials". Then find "OAuth client ID" and click that.
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".
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".
23. Navigate back to your BackupBuddy screen. Paste these keys into the Client ID and Client Screen fields and then click the Continue button.
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.