Google Drive

Send WordPress Backups to Google Drive with BackupBuddy

BackupBuddy 6.0 now includes Google Drive as a new 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 Create. Wait for the next screen to display.

5. Once the project is created, from the left menu, expand APIs & auth then click APIs (this may already be expanded for you). Under the Google Apps APIs , click Drive API.

6. Click Enable API (Make sure you select Drive API, not Drive SDK).

7. You will be prompted to create new credentials, select Go to Credentials.

8. Select Google Drive API (this may already be selected) in the first dropdown menu ("Which API are you using?") and select Other non-UI in the second ("Where will you be calling the API from?"). Under "What data will you be accessing?", select Application data. After selecting that option a new option will appear, "Are you using Google App Engine or Google Compute Engine?". For that option select "No, I'm not using them". Then click on the button labeled "What credentials do I need?".

 

9. "Add credentials to your project". Under "Create a service account", for "Service account name", you could place something like "BackupBuddy Backups". For the "Role" option, find "Project", when it's highlighted, select "Owner".

Then click "Continue". It should prompt you with the option to save this account's private key in JSON format. It will be the only copy of the key, so store it securely. This is for your records only and should not be needed at any later time for BackupBuddy. 

10. On the next screen, click on "OAuth consent screen".

 

11. Make sure that under "Email Address" that your email address is selected. For "Product name shown to users" you can enter something like "BackupBuddy" then click "Save". (All of the other options are optional and not required.)

12. After clicking "Save" it should take you back to the previous screen. Click on "Create credentials" then find "OAuth client ID" and click that. On the next screen, select "Other" and then when the new box under "Name" appears, enter something like "BackupBuddy client". Then click "Create".


13. 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".

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

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

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

17. Copy the entire code out of the field.

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

19. 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.

20. Click the + Add Destination button.

21. 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